Mistake on this page?
Report an issue in GitHub or email us
Macros | Functions
crys_rsa_kg.h File Reference

Generates a RSA pair of public and private keys. More...

#include "crys_rsa_types.h"
#include "crys_rnd.h"

Go to the source code of this file.

Macros

#define CRYS_RSA_KG_PUB_EXP_MAX_SIZE_BITS   17
 
#define CRYS_RSA_KG_PUB_EXP_ALLOW_VAL_1   0x000003
 
#define CRYS_RSA_KG_PUB_EXP_ALLOW_VAL_2   0x000011
 
#define CRYS_RSA_KG_PUB_EXP_ALLOW_VAL_3   0x010001
 

Functions

CRYSError_t CRYS_RSA_KG_GenerateKeyPair (void *rndState_ptr, SaSiRndGenerateVectWorkFunc_t rndGenerateVectFunc, uint8_t *pubExp_ptr, uint16_t pubExpSizeInBytes, uint32_t keySize, CRYS_RSAUserPrivKey_t *userPrivKey_ptr, CRYS_RSAUserPubKey_t *userPubKey_ptr, CRYS_RSAKGData_t *keyGenData_ptr, CRYS_RSAKGFipsContext_t *pFipsCtx)
 CRYS_RSA_KG_GenerateKeyPair generates a Pair of public and private keys on non CRT mode according to [ANS X9.31]. More...
 
CRYSError_t CRYS_RSA_KG_GenerateKeyPairCRT (void *rndState_ptr, SaSiRndGenerateVectWorkFunc_t rndGenerateVectFunc, uint8_t *pubExp_ptr, uint16_t pubExpSizeInBytes, uint32_t keySize, CRYS_RSAUserPrivKey_t *userPrivKey_ptr, CRYS_RSAUserPubKey_t *userPubKey_ptr, CRYS_RSAKGData_t *keyGenData_ptr, CRYS_RSAKGFipsContext_t *pFipsCtx)
 Generates a pair of public and private keys on CRT mode according to [ANS X9.31]. More...
 

Detailed Description

Generates a RSA pair of public and private keys.

Definition in file crys_rsa_kg.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.