takashi kadono / Mbed OS Nucleo_446

Dependencies:   ssd1331

Embed: (wiki syntax)

« Back to documentation index

RSAPubContext_t Struct Reference

RSAPubContext_t Struct Reference
[CryptoCell RSA used definitions and enums]

#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 [CRYS_PKA_RSA_HASH_CTX_SIZE_IN_WORDS]
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 [CRYS_RSA_MAXIMUM_MOD_BUFFER_SIZE_IN_WORDS]
uint32_t EBDSizeInBits
uint8_t T_Buf [CRYS_RSA_SIZE_OF_T_STRING_BYTES]
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[CRYS_PKA_RSA_HASH_CTX_SIZE_IN_WORDS]

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[CRYS_RSA_MAXIMUM_MOD_BUFFER_SIZE_IN_WORDS]

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.

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.

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.

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[CRYS_RSA_SIZE_OF_T_STRING_BYTES]

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.