Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

RSAPrivContext_t Struct Reference

RSAPrivContext_t Struct Reference
[CryptoCell RSA used definitions and enums]

#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 [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
uint32_t BER [CRYS_RSA_MAXIMUM_MOD_BUFFER_SIZE_IN_WORDS]
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[CRYS_RSA_MAXIMUM_MOD_BUFFER_SIZE_IN_WORDS]

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

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

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.

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.

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.

Private key data.

Definition at line 432 of file crys_rsa_types.h.

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

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.