Register crypto modules. More...
Include dependency graph for crypt_mod.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | CryptModuleSpecs |
| struct | CryptModule |
| A crypto plugin module. More... | |
Functions | |
| STAILQ_HEAD (CryptModuleList, CryptModule) | |
| void | crypto_module_register (const struct CryptModuleSpecs *specs) |
| Register a new crypto module. | |
| const struct CryptModuleSpecs * | crypto_module_lookup (struct NcryptModuleData *mod_data, int identifier) |
| Lookup a crypto module by name. | |
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.h.
| STAILQ_HEAD | ( | CryptModuleList | , |
| CryptModule | ) |
| void crypto_module_register | ( | const struct CryptModuleSpecs * | specs | ) |
Register a new crypto module.
| specs | API functions |
Definition at line 41 of file crypt_mod.c.
Here is the call graph for this function:
Here is the caller graph for this function:| const struct CryptModuleSpecs * crypto_module_lookup | ( | struct NcryptModuleData * | mod_data, |
| int | identifier ) |
Lookup a crypto module by name.
| mod_data | Ncrypt module data |
| identifier | Name, e.g. APPLICATION_PGP |
| ptr | Crypto module |
This function is usually used via the CRYPT_MOD_CALL[_CHECK] macros.
Definition at line 57 of file crypt_mod.c.
Here is the caller graph for this function: