tfCryptoEngineDeRegister
Table of Contents >> Optional Protocols >> Cryptography
| #include <trsecapi.h> |
| int tfCryptoEngineDeRegister | (unsigned int engineId); |
Function Description
This function deregisters a crypto engine.
Parameters
- engineId
- The name (ID) of the crypto engine. Currently supported values are:
- TM_CRYPTO_ENGINE_SOFTWARE: Treck's software crypto library.
- TM_CRYPTO_ENGINE_HIFN7951: The HIFN7951 hardware accelerator.
- TM_CRYPTO_ENGINE_MCF5235: The Freescale MCF5235 hardware accelerator.
Returns
- TM_ENOERROR
- Success.
- TM_EINVAL
- The crypto engine is not running.
- TM_ENOENT
- The engine ID is invalid or has not been previously registered.
- TM_EPERM
- The specified engine is currently in use and cannot be deregistered.