Data Structures | |
struct | CRYSRSAPubKey_t |
struct | CRYS_RSAUserPubKey_t |
struct | CRYSRSAPrivNonCRTKey_t |
struct | CRYSRSAPrivCRTKey_t |
struct | CRYSRSAPrivKey_t |
struct | CRYS_RSAUserPrivKey_t |
struct | CRYS_RSAPrimeData_t |
union | CRYS_RSAKGData_t |
struct | RSAPrivContext_t |
struct | CRYS_RSAPrivUserContext_t |
struct | RSAPubContext_t |
struct | CRYS_RSAPubUserContext_t |
struct | CRYS_RSAKGFipsContext_t |
struct | CRYS_RSAFipsKatContext_t |
Typedefs | |
typedef struct CRYS_RSAUserPubKey_t | CRYS_RSAUserPubKey_t |
typedef struct CRYS_RSAUserPrivKey_t | CRYS_RSAUserPrivKey_t |
typedef struct CRYS_RSAPrimeData_t | CRYS_RSAPrimeData_t |
typedef union CRYS_RSAKGData_t | CRYS_RSAKGData_t |
typedef struct CRYS_RSAPrivUserContext_t | CRYS_RSAPrivUserContext_t |
typedef struct CRYS_RSAPubUserContext_t | CRYS_RSAPubUserContext_t |
typedef struct CRYS_RSAKGFipsContext_t | CRYS_RSAKGFipsContext_t |
typedef struct CRYS_RSAFipsKatContext_t | CRYS_RSAFipsKatContext_t |
#define CRYS_DH_FIPS_KEY_SIZE_1024_BITS 1024 |
FIPS 184-4 DH key size - 1024 bits.
#define CRYS_DH_FIPS_KEY_SIZE_2048_BITS 2048 |
FIPS 184-4 DH key size - 2048 bits.
#define CRYS_PKA_RSA_HASH_CTX_SIZE_IN_WORDS CRYS_HASH_USER_CTX_SIZE_IN_WORDS |
Definition of HASH context size.
#define CRYS_PKCS1_HashFunc_t CRYS_HASH_OperationMode_t |
Hash structure definition.
#define CRYS_RSA_FIPS_KEY_SIZE_1024_BITS 1024 |
FIPS 184-4 allowed key size - 1024 bits.
#define CRYS_RSA_FIPS_KEY_SIZE_2048_BITS 2048 |
FIPS 184-4 allowed key size - 2048 bits.
#define CRYS_RSA_FIPS_KEY_SIZE_3072_BITS 3072 |
FIPS 184-4 allowed key size - 3072 bits.
#define CRYS_RSA_FIPS_MODULUS_SIZE_BITS CRYS_RSA_FIPS_KEY_SIZE_2048_BITS |
FIPS 184-4 allowed modulus size in bits.
#define CRYS_RSA_MAX_KEY_GENERATION_SIZE_BITS CRYS_RSA_MAX_KEY_GENERATION_HW_SIZE_BITS |
Maximal RSA generated key size in bits.
#define CRYS_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BYTES (CRYS_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BITS / SASI_BITS_IN_BYTE) |
Maximal key size in bytes.
#define CRYS_RSA_MGF_2_POWER_32 65535 |
MGF1 definitions
#define CRYS_RSA_MIN_PRIV_EXP_VALUE 1 |
Minimal private exponent value
#define CRYS_RSA_MIN_PUB_EXP_VALUE 3 |
Minimal public exponent value
#define CRYS_RSA_MIN_VALID_KEY_SIZE_VALUE_IN_BITS 512 |
Minimal key size in bits.
#define CRYS_RSA_OAEP_DECODE_MAX_DBMASK_SIZE (CRYS_RSA_MAXIMUM_MOD_BUFFER_SIZE_IN_WORDS*sizeof(uint32_t)) |
OAEP decode mask size.
#define CRYS_RSA_OAEP_ENCODE_MAX_MASKDB_SIZE (CRYS_RSA_MAXIMUM_MOD_BUFFER_SIZE_IN_WORDS*sizeof(uint32_t)) |
OAEP encode mask size.
#define CRYS_RSA_OAEP_ENCODE_MAX_SEEDMASK_SIZE CRYS_RSA_OAEP_MAX_HLEN |
Size of OEAP seed.
#define CRYS_RSA_OAEP_MAX_HLEN CRYS_HASH_SHA512_DIGEST_SIZE_IN_BYTES |
OAEP maximal H length.
#define CRYS_RSA_PSS_PAD1_LEN 8 |
PSS padding length.
#define CRYS_RSA_PSS_SALT_LENGTH CRYS_RSA_OAEP_MAX_HLEN |
Maximal PSS salt size.
#define CRYS_RSA_SIZE_IN_WORDS_OF_CRYSRSAPrivCRTKey_t (CRYS_RSA_MAXIMUM_MOD_BUFFER_SIZE_IN_WORDS*7/2 + 5) |
Size of CRYSRSAPrivCRTKey_t structure in words (used for temp buffers allocation).
#define CRYS_RSA_SIZE_OF_T_STRING_BYTES (CRYS_RSA_MAXIMUM_MOD_BUFFER_SIZE_IN_WORDS*sizeof(uint32_t)) |
MGF1 definitions
#define CRYS_RSA_TMP_BUFF_SIZE (CRYS_RSA_OAEP_ENCODE_MAX_MASKDB_SIZE + CRYS_RSA_OAEP_ENCODE_MAX_SEEDMASK_SIZE + CRYS_PKA_RSA_HASH_CTX_SIZE_IN_WORDS*sizeof(uint32_t) + sizeof(CRYS_HASH_Result_t)) |
Temporary buffer size definition.
#define CRYS_RSA_VALID_KEY_SIZE_MULTIPLE_VALUE_IN_BITS 256 |
Valid key size multiplications in RSA.
#define CRYS_RSA_VERIFY_SALT_LENGTH_UNKNOWN 0xFFFF |
Salt length definition - if the salt length is not available in verify operation, the user can use this define and the algorithm will calculate the salt length alone
typedef struct CRYS_RSAFipsKatContext_t CRYS_RSAFipsKatContext_t |
Required for internal FIPS verification for RSA KAT. The RSA KAT tests defined for scheme 2.1 with modulus key size of 2048.
typedef union CRYS_RSAKGData_t CRYS_RSAKGData_t |
KG data type.
typedef struct CRYS_RSAKGFipsContext_t CRYS_RSAKGFipsContext_t |
Required for internal FIPS verification for RSA key generation.
typedef struct CRYS_RSAPrimeData_t CRYS_RSAPrimeData_t |
Temporary buffers for RSA usage.
typedef struct CRYS_RSAPrivUserContext_t CRYS_RSAPrivUserContext_t |
The user's context prototype - the argument type that is passed by the user to the RSA APIs. The context saves the state of the operation and must be saved by the user till the end of the APIs flow .
typedef struct CRYS_RSAPubUserContext_t CRYS_RSAPubUserContext_t |
Temporary buffers for the RSA usage.
typedef struct CRYS_RSAUserPrivKey_t CRYS_RSAUserPrivKey_t |
The private key's user structure prototype. This structure must be saved by the user, and is used as input to the RSA functions (such as SaSi_RsaSchemesDecrypt etc.).
typedef struct CRYS_RSAUserPubKey_t CRYS_RSAUserPubKey_t |
The public key's user structure prototype. This structure must be saved by the user, and is used as input to the RSA functions (such as SaSi_RsaSchemesEncrypt etc.)
enum CRYS_PKCS1_MGF_t |
enum CRYS_PKCS1_version |
Defines the enum for the HASH operation mode.
enum CRYS_RSA_KeySource_t |