MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
Signature RSA mode definitions

Modes used by the Signature operations with RSA. More...

Typedefs

typedef struct mcuxClRsa_Signature_ProtocolDescriptor mcuxClRsa_SignatureProtocolDescriptor_t

Functions

void mcuxClRsa_SignatureModeConstructor_RSASSA_PSS (mcuxClSignature_ModeDescriptor_t *pSignatureMode, mcuxClRsa_SignatureProtocolDescriptor_t *pProtocolDescriptor, mcuxClHash_Algo_t hashAlgorithm, uint32_t saltLength, uint32_t options)
 Mode constructor for RSASSA-PSS signature generation and verification.
void mcuxClRsa_SignatureModeConstructor_RSASSA_PKCS1_v1_5 (mcuxClSignature_ModeDescriptor_t *pSignatureMode, mcuxClRsa_SignatureProtocolDescriptor_t *pProtocolDescriptor, mcuxClHash_Algo_t hashAlgorithm, uint32_t options)
 Mode constructor for RSASSA-PKCS1-v1_5 signature generation and verification.

Detailed Description

Modes used by the Signature operations with RSA.

Function Documentation

◆ mcuxClRsa_SignatureModeConstructor_RSASSA_PSS()

void mcuxClRsa_SignatureModeConstructor_RSASSA_PSS ( mcuxClSignature_ModeDescriptor_t * pSignatureMode,
mcuxClRsa_SignatureProtocolDescriptor_t * pProtocolDescriptor,
mcuxClHash_Algo_t hashAlgorithm,
uint32_t saltLength,
uint32_t options )

Mode constructor for RSASSA-PSS signature generation and verification.

Parameters
pSignatureModePointer to a mode descriptor that will be updated by this function.
pProtocolDescriptorPointer to an RSA protocol descriptor that will be updated by this function.
hashAlgorithmHash algorithm that should be used.
saltLengthNumber of bytes of the salt.
optionsRSA options:
  • MCUXCLRSA_OPTION_VERIFY_NOHWACC: perform pure SW verification, without using HW acceleration
Precondition
  • The RNG context must be initialized before performing an RSA signature generation with RSASSA-PSS.
Examples
mcuxClRsa_Signature_RSASSA_PSS_example.c.

◆ mcuxClRsa_SignatureModeConstructor_RSASSA_PKCS1_v1_5()

void mcuxClRsa_SignatureModeConstructor_RSASSA_PKCS1_v1_5 ( mcuxClSignature_ModeDescriptor_t * pSignatureMode,
mcuxClRsa_SignatureProtocolDescriptor_t * pProtocolDescriptor,
mcuxClHash_Algo_t hashAlgorithm,
uint32_t options )

Mode constructor for RSASSA-PKCS1-v1_5 signature generation and verification.

Parameters
pSignatureModePointer to a mode descriptor that will be updated by this function.
pProtocolDescriptorPointer to an RSA protocol descriptor that will be updated by this function.
hashAlgorithmHash algorithm that should be used.
optionsRSA options:
  • MCUXCLRSA_OPTION_VERIFY_NOHWACC: perform pure SW verification, without using HW acceleration