Next: , Previous: Controlling the library, Up: Generalities


3.2 Modules

Libgcrypt supports the use of `extension modules', which implement algorithms in addition to those already built into the library directly.

— Data type: gcry_module_t

This data type represents a `module'.

Functions registering modules provided by the user take a `module specification structure' as input and return a value of gcry_module_t and an ID that is unique in the modules' category. This ID can be used to reference the newly registered module. After registering a module successfully, the new functionality should be able to be used through the normal functions provided by Libgcrypt until it is unregistered again.