26#ifndef SOPC_CRYPTO_PROVIDER_LIB_ITF_H_
27#define SOPC_CRYPTO_PROVIDER_LIB_ITF_H_
90 uint32_t* pLenKeyBits);
Defines the common declarations for the cryptographic objects. The structures and macros defined in t...
SOPC_ReturnStatus SOPC_CryptoProvider_AsymmetricGetLength_MsgPlainText(const SOPC_CryptoProvider *pProvider, const SOPC_AsymmetricKey *pKey, uint32_t *pLenMsg)
Provides the maximum length in bytes of a message to be encrypted with a single asymmetric encryption...
SOPC_ReturnStatus SOPC_CryptoProvider_AsymmetricGetLength_MsgCipherText(const SOPC_CryptoProvider *pProvider, const SOPC_AsymmetricKey *pKey, uint32_t *pLenMsg)
Provides the length in bytes of a ciphered message to be decrypted with a single asymmetric decryptio...
SOPC_ReturnStatus SOPC_CryptoProvider_AsymmetricGetLength_KeyBits(const SOPC_CryptoProvider *pProvider, const SOPC_AsymmetricKey *pKey, uint32_t *pLenKeyBits)
Writes the length in bits in pLenKeyBits of the asymmetric key pKey.
SOPC_ReturnStatus SOPC_CryptoProvider_Init(SOPC_CryptoProvider *pCryptoProvider)
Initializes a SOPC_CryptoProvider context. Called by SOPC_CryptoProvider_Create() upon context creati...
SOPC_ReturnStatus SOPC_CryptoProvider_Deinit(SOPC_CryptoProvider *pCryptoProvider)
Deinitialize a SOPC_CryptoProvider context (this process is specific to the chosen cryptographic libr...
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
The asymmetric key representation.
Definition key_manager_cyclone.h:42
The SOPC_CryptoProvider context.
Definition sopc_crypto_provider.h:43