39#ifndef MCUXCLRSA_FUNCTIONS_H_
40#define MCUXCLRSA_FUNCTIONS_H_
42#include <mcuxClConfig.h>
143 const uint32_t messageLength,
145 const uint32_t saltLength,
146 const uint32_t options,
226 const uint32_t messageLength,
229 const uint32_t saltLength,
230 const uint32_t options,
309 uint32_t * const pPrivDataLength,
312 uint32_t * const pPubDataLength
390 uint32_t * const pPrivDataLength,
393 uint32_t * const pPubDataLength
436 uint32_t * const pPrivDataLength,
437 uint32_t byteLenPrime);
462 uint32_t * const pPrivDataLength,
Top-level include file for the mcuxClBuffer component.
Definition of function identifiers for the flow protection mechanism.
Type definitions for the mcuxClKey component.
Type definitions for the mcuxClRsa component.
Top-level include file for the mcuxClSession component.
Provides the API for the CSSL flow protection mechanism.
const uint8_t * mcuxCl_InputBuffer_t
Input buffer type.
Definition mcuxClBuffer_Pointer.h:58
uint8_t * mcuxCl_Buffer_t
Input/output buffer type.
Definition mcuxClBuffer_Pointer.h:67
const mcuxClKey_TypeDescriptor_t * mcuxClKey_Type_t
Key type handle type.
Definition mcuxClKey_Types.h:131
const mcuxClKey_ProtectionDescriptor_t * mcuxClKey_Protection_t
Key protection mechanism type.
Definition mcuxClKey_Types.h:161
mcuxClKey_Descriptor_t *const mcuxClKey_Handle_t
Key handle type.
Definition mcuxClKey_Types.h:108
mcuxClRsa_Status_t mcuxClRsa_KeyGeneration_Plain(mcuxClSession_Handle_t pSession, mcuxClKey_Type_t type, mcuxClKey_Protection_t protection, mcuxClKey_Handle_t privKey, uint8_t *pPrivData, uint32_t *const pPrivDataLength, mcuxClKey_Handle_t pubKey, uint8_t *pPubData, uint32_t *const pPubDataLength)
RSA key generation of private plain key operation.
mcuxClRsa_Status_t mcuxClRsa_KeyGeneration_StorePrivatePlain(mcuxClSession_Handle_t pSession, uint8_t *pPrivData, uint32_t *const pPrivDataLength, uint8_t *pPubData, uint32_t dLen)
Store RSA Prviate Plain key.
mcuxClRsa_Status_t mcuxClRsa_verify(mcuxClSession_Handle_t pSession, const mcuxClRsa_Key *const pKey, mcuxCl_InputBuffer_t pMessageOrDigest, const uint32_t messageLength, mcuxCl_Buffer_t pSignature, const mcuxClRsa_SignVerifyMode pVerifyMode, const uint32_t saltLength, const uint32_t options, mcuxCl_Buffer_t pOutput)
RSA verify operation.
mcuxClRsa_Status_t mcuxClRsa_KeyGeneration_StorePrivateCRT(mcuxClSession_Handle_t pSession, uint8_t *pPrivData, uint32_t *const pPrivDataLength, uint32_t byteLenPrime)
Store RSA Private CRT key.
mcuxClRsa_Status_t mcuxClRsa_KeyGeneration_Crt(mcuxClSession_Handle_t pSession, mcuxClKey_Type_t type, mcuxClKey_Protection_t protection, mcuxClKey_Handle_t privKey, uint8_t *pPrivData, uint32_t *const pPrivDataLength, mcuxClKey_Handle_t pubKey, uint8_t *pPubData, uint32_t *const pPubDataLength)
Generates an RSA key in CRT format.
mcuxClRsa_Status_t mcuxClRsa_KeyGeneration_Init(mcuxClSession_Handle_t pSession, mcuxClKey_Type_t type, uint32_t *byteLenE)
RSA key generation initialization.
mcuxClRsa_Status_t mcuxClRsa_sign(mcuxClSession_Handle_t pSession, const mcuxClRsa_Key *const pKey, mcuxCl_InputBuffer_t pMessageOrDigest, const uint32_t messageLength, const mcuxClRsa_SignVerifyMode pPaddingMode, const uint32_t saltLength, const uint32_t options, mcuxCl_Buffer_t pSignature)
RSA sign operation.
mcuxClRsa_SignVerifyMode_t * mcuxClRsa_SignVerifyMode
Pointer type to Sign/Verify mode.
Definition mcuxClRsa_Types.h:207
uint32_t mcuxClRsa_Status_t
Type for RSA status codes.
Definition mcuxClRsa_Types.h:138
mcuxClSession_Descriptor_t *const mcuxClSession_Handle_t
Type for mcuxClSession Handle.
Definition mcuxClSession_Types.h:133
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition mcuxCsslFlowProtection.h:145
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:101
Structure type for Rsa key, specifying key type and key entries.
Definition mcuxClRsa_Types.h:167