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

#include <crys_rsa_types.h>

Data Fields

CRYS_RSAUserPubKey_t PubUserKey
uint32_t nSizeInBytes
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
uint8_t DummyBufAESBlockSize [16]

Detailed Description

Context definition for operations that use the RSA public key.

Definition at line 501 of file crys_rsa_types.h.

Field Documentation

uint32_t CRYSPKAHashCtxBuff[ 60 ]

HASH context.

Definition at line 523 of file crys_rsa_types.h.

bool doHash

HASH flag.

Definition at line 535 of file crys_rsa_types.h.

uint8_t DummyBufAESBlockSize[16]

Internal buffer.

Definition at line 550 of file crys_rsa_types.h.

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

Internal buffer.

Definition at line 539 of file crys_rsa_types.h.

uint32_t EBDSizeInBits

Internal bufffer used size in bits.

Definition at line 541 of file crys_rsa_types.h.

CRYS_HASH_Result_t HASH_Result

HASH result buffer.

Definition at line 525 of file crys_rsa_types.h.

uint16_t HASH_Result_Size

HASH result size.

Definition at line 527 of file crys_rsa_types.h.

uint16_t HashBlockSize

HASH block size.

Definition at line 533 of file crys_rsa_types.h.

CRYS_HASH_OperationMode_t HashOperationMode

HASH operation mode.

Definition at line 531 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 514 of file crys_rsa_types.h.

uint32_t nSizeInBytes

Public key size in bytes

Definition at line 508 of file crys_rsa_types.h.

uint8_t PKCS1_Version

RSA PKCS#1 Version 1.5 or 2.1

Definition at line 511 of file crys_rsa_types.h.

Internal buffer.

Definition at line 520 of file crys_rsa_types.h.

RSA public key structure.

Definition at line 505 of file crys_rsa_types.h.

CRYS_RSA_HASH_OpMode_t RsaHashOperationMode

RSA HASH operation mode (all modes RSA supports).

Definition at line 529 of file crys_rsa_types.h.

uint16_t SaltLen

Salt random length for PKCS#1 PSS Ver 2.1

Definition at line 517 of file crys_rsa_types.h.

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

Internal buffer.

Definition at line 545 of file crys_rsa_types.h.

uint16_t T_BufSize

Internal buffer used size.

Definition at line 547 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.