Mistake on this page?
Report an issue in GitHub or email us
Data Fields

#include <crys_rsa_types.h>

Data Fields

CRYS_RSAUserPrivKey_t PrivUserKey
uint8_t PKCS1_Version
uint8_t MGF_2use
uint16_t SaltLen
CRYS_RSAPrimeData_t PrimeData
uint32_t CRYSPKAHashCtxBuff [60]
CRYS_HASH_Result_t HASH_Result
uint16_t HASH_Result_Size
CRYS_RSA_HASH_OpMode_t RsaHashOperationMode
CRYS_HASH_OperationMode_t HashOperationMode
uint16_t HashBlockSize
bool doHash
uint32_t EBD [((2048+64)/32)]
uint32_t EBDSizeInBits
uint8_t T_Buf [(((2048+64)/32)*sizeof(uint32_t))]
uint16_t T_BufSize
uint32_t BER [((2048+64)/32)]
uint16_t BERSize
uint8_t DummyBufAESBlockSize [16]

Detailed Description

Context definition for operations that use the RSA private key.

Definition at line 428 of file crys_rsa_types.h.

Field Documentation

uint32_t BER[((2048 + 64)/ 32 )]

Buffer for the use of the Ber encoder in the case of PKCS#1 Ver 1.5.

Definition at line 474 of file crys_rsa_types.h.

uint16_t BERSize

Ber encoder buffer size.

Definition at line 476 of file crys_rsa_types.h.

uint32_t CRYSPKAHashCtxBuff[ 60 ]

HASH context buffer.

Definition at line 447 of file crys_rsa_types.h.

bool doHash

HASH flag.

Definition at line 459 of file crys_rsa_types.h.

uint8_t DummyBufAESBlockSize[16]

Internal buffer.

Definition at line 479 of file crys_rsa_types.h.

uint32_t EBD[((2048 + 64)/ 32 )]

Internal buffer.

Definition at line 463 of file crys_rsa_types.h.

uint32_t EBDSizeInBits

Internal bufffer used size in bits.

Definition at line 465 of file crys_rsa_types.h.

CRYS_HASH_Result_t HASH_Result

HASH result buffer.

Definition at line 449 of file crys_rsa_types.h.

uint16_t HASH_Result_Size

HASH result size in words.

Definition at line 451 of file crys_rsa_types.h.

uint16_t HashBlockSize

HASH block size (in words).

Definition at line 457 of file crys_rsa_types.h.

CRYS_HASH_OperationMode_t HashOperationMode

HASH operation mode.

Definition at line 455 of file crys_rsa_types.h.

uint8_t MGF_2use

MGF to be used for the PKCS1 Ver 2.1 sign or verify operations.

Definition at line 438 of file crys_rsa_types.h.

uint8_t PKCS1_Version

RSA PKCS#1 Version 1.5 or 2.1

Definition at line 435 of file crys_rsa_types.h.

Internal buffer.

Definition at line 444 of file crys_rsa_types.h.

CRYS_RSAUserPrivKey_t PrivUserKey

Private key data.

Definition at line 432 of file crys_rsa_types.h.

CRYS_RSA_HASH_OpMode_t RsaHashOperationMode

RSA HASH operation mode (all modes RSA supports).

Definition at line 453 of file crys_rsa_types.h.

uint16_t SaltLen

Salt random length for PKCS#1 PSS Ver 2.1

Definition at line 441 of file crys_rsa_types.h.

uint8_t T_Buf[(((2048 + 64)/ 32 )*sizeof(uint32_t))]

Internal buffer.

Definition at line 469 of file crys_rsa_types.h.

uint16_t T_BufSize

Internal buffer used size.

Definition at line 471 of file crys_rsa_types.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.