37 #ifndef CRYS_RSA_BUILD_H 38 #define CRYS_RSA_BUILD_H 72 uint8_t *Exponent_ptr,
73 uint16_t ExponentSize,
89 uint8_t *PrivExponent_ptr,
90 uint16_t PrivExponentSize,
91 uint8_t *PubExponent_ptr,
92 uint16_t PubExponentSize,
136 uint8_t *Exponent_ptr,
137 uint16_t *ExponentSize_ptr,
139 uint8_t *Modulus_ptr,
141 uint16_t *ModulusSize_ptr
CRYSError_t CRYS_RSA_Get_PubKey(CRYS_RSAUserPubKey_t *UserPubKey_ptr, uint8_t *Exponent_ptr, uint16_t *ExponentSize_ptr, uint8_t *Modulus_ptr, uint16_t *ModulusSize_ptr)
The function gets the e,n public key parameters from the input CRYS_RSAUserPubKey_t structure...
CRYSError_t CRYS_RSA_Build_PrivKey(CRYS_RSAUserPrivKey_t *UserPrivKey_ptr, uint8_t *PrivExponent_ptr, uint16_t PrivExponentSize, uint8_t *PubExponent_ptr, uint16_t PubExponentSize, uint8_t *Modulus_ptr, uint16_t ModulusSize)
Builds a CRYSRSAPrivKey_t private key structure with the provided modulus and exponent, marking the key as a non-CRT key.
This file contains all of the enums and definitions that are used for the CRYS RSA APIs...
CRYSError_t CRYS_RSA_Build_PubKey(CRYS_RSAUserPubKey_t *UserPubKey_ptr, uint8_t *Exponent_ptr, uint16_t ExponentSize, uint8_t *Modulus_ptr, uint16_t ModulusSize)
Builds a CRYSRSAPubKey_t public key structure with the provided modulus and exponent.
CRYSError_t CRYS_RSA_Build_PrivKeyCRT(CRYS_RSAUserPrivKey_t *UserPrivKey_ptr, uint8_t *P_ptr, uint16_t PSize, uint8_t *Q_ptr, uint16_t QSize, uint8_t *dP_ptr, uint16_t dPSize, uint8_t *dQ_ptr, uint16_t dQSize, uint8_t *qInv_ptr, uint16_t qInvSize)
Builds a CRYSRSAPrivKey_t private key structure with the provided parameters, marking the key as a CR...
This module defines the error return code types and the numbering spaces of the error codes for each ...