Go to the source code of this file.
Data Structures | |
struct | CryptModule |
A crypto plugin module. More... | |
Functions | |
STAILQ_HEAD (CryptModuleList, CryptModule) | |
void | crypto_module_register (struct CryptModuleSpecs *specs) |
Register a new crypto module. More... | |
struct CryptModuleSpecs * | crypto_module_lookup (int identifier) |
Lookup a crypto module by name. More... | |
void | crypto_module_free (void) |
Clean up the crypto modules. More... | |
Variables | |
static struct CryptModuleList | CryptModules = STAILQ_HEAD_INITIALIZER(CryptModules) |
Register crypto modules
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file crypt_mod.c.
STAILQ_HEAD | ( | CryptModuleList | , |
CryptModule | |||
) |
void crypto_module_register | ( | struct CryptModuleSpecs * | specs | ) |
Register a new crypto module.
specs | API functions |
Definition at line 51 of file crypt_mod.c.
struct CryptModuleSpecs* crypto_module_lookup | ( | int | identifier | ) |
Lookup a crypto module by name.
identifier | Name, e.g. APPLICATION_PGP |
ptr | Crypto module |
This function is usually used via the CRYPT_MOD_CALL[_CHECK] macros.
Definition at line 65 of file crypt_mod.c.
void crypto_module_free | ( | void | ) |
Clean up the crypto modules.
Definition at line 81 of file crypt_mod.c.
|
static |
Definition at line 45 of file crypt_mod.c.