This module defines the API that implements the [PKCS1_2.1] primitive functions. More...
#include "crys_rsa_types.h"
Go to the source code of this file.
Macros | |
#define | CRYS_RSA_PRIM_Sign CRYS_RSA_PRIM_Decrypt |
Implements the RSASP1 algorithm, as defined in [PKCS1_2.1] - 6.2.1, as a call to CRYS_RSA_PRIM_Decrypt, since the signature primitive is identical to the decryption primitive. More... | |
#define | CRYS_RSA_PRIM_Verify CRYS_RSA_PRIM_Encrypt |
Implements the RSAVP1 algorithm, as defined in [PKCS1_2.1] - 6.2.2, as a call to CRYS_RSA_PRIM_Encrypt. More... | |
Functions | |
CRYSError_t | CRYS_RSA_PRIM_Encrypt (CRYS_RSAUserPubKey_t *UserPubKey_ptr, CRYS_RSAPrimeData_t *PrimeData_ptr, uint8_t *Data_ptr, uint16_t DataSize, uint8_t *Output_ptr) |
Implements the RSAEP algorithm, as defined in [PKCS1_2.1] - 6.1.1. More... | |
CRYSError_t | CRYS_RSA_PRIM_Decrypt (CRYS_RSAUserPrivKey_t *UserPrivKey_ptr, CRYS_RSAPrimeData_t *PrimeData_ptr, uint8_t *Data_ptr, uint16_t DataSize, uint8_t *Output_ptr) |
Implements the RSADP algorithm, as defined in [PKCS1_2.1] - 6.1.2. More... | |
This module defines the API that implements the [PKCS1_2.1] primitive functions.
Definition in file crys_rsa_prim.h.