Data structure for Symmetric Crypto mBedTLS layer implementation. More...
Data Fields | |
| uint16_t | wId |
| Layer ID for this component, NEVER MODIFY! | |
| void * | pKeyStoreDataParams |
| Pointer to Key Store object - can be NULL. | |
| void * | pCtx_Crypto |
| Pointer to underlying Symmetric Crypto context for AES or DES operations. | |
| uint8_t | aKey [PH_CRYPTOSYM_AES256_KEY_SIZE] |
| Internal key storage array. | |
| uint8_t | aIV [PH_CRYPTOSYM_MAX_BLOCK_SIZE] |
| Internal IV storage array. More... | |
| uint8_t | bIV_Len |
| Length of bytes available in aIV buffer. More... | |
| uint8_t * | pAddData |
| Internal Additional Data storage array. More... | |
| uint16_t | wAddData_Len |
| Length of bytes available in pAddData buffer. More... | |
| uint16_t | wAddData_Size |
| Maximum size allocated for pAddData buffer. More... | |
| uint8_t | aTag [PH_CRYPTOSYM_AES128_KEY_SIZE] |
| To store Authentication Tag information that will be generated during Encryption or used while Decryption. More... | |
| uint8_t | bTagLen |
| Authentication Tag. More... | |
| int32_t | dwErrorCode |
| Error code returned by mbedTLS layer. | |
| uint16_t | wKeyType |
| Specific Key Type. More... | |
| uint16_t | wKeyNo |
| Internal Key Storage number. More... | |
| uint16_t | wKeepIV |
| Indicates if the init vector of a previous crypto operation shall be used for the next operation. | |
| uint16_t | wKey_Bit |
| Length of Key in terms of Bits. | |
| uint16_t | wAddInfo |
| Additional information like diversified key length, etc. | |
| uint8_t | bIsDirectKey |
| Specify if the Key to be used is directly loaded or taken from KeyStore. More... | |
Data structure for Symmetric Crypto mBedTLS layer implementation.
| uint8_t phCryptoSym_mBedTLS_DataParams_t::aIV[PH_CRYPTOSYM_MAX_BLOCK_SIZE] |
Internal IV storage array.
IV in case of CBC and Nonce in case of CCM or CCM* cipher mode.
| uint8_t phCryptoSym_mBedTLS_DataParams_t::bIV_Len |
Length of bytes available in aIV buffer.
This is required for CCM or CCM* Cipher mode.
| uint8_t* phCryptoSym_mBedTLS_DataParams_t::pAddData |
Internal Additional Data storage array.
This is required for CCM or CCM* Cipher mode.
| uint16_t phCryptoSym_mBedTLS_DataParams_t::wAddData_Len |
Length of bytes available in pAddData buffer.
This is required for CCM or CCM* Cipher mode.
| uint16_t phCryptoSym_mBedTLS_DataParams_t::wAddData_Size |
Maximum size allocated for pAddData buffer.
This is required for CCM or CCM* Cipher mode.
| uint8_t phCryptoSym_mBedTLS_DataParams_t::aTag[PH_CRYPTOSYM_AES128_KEY_SIZE] |
To store Authentication Tag information that will be generated during Encryption or used while Decryption.
This is required for CCM or CCM* Cipher mode.
| uint8_t phCryptoSym_mBedTLS_DataParams_t::bTagLen |
Authentication Tag.
To be used when CCM or CCM* cipher modes are used. Supported values are,
| uint16_t phCryptoSym_mBedTLS_DataParams_t::wKeyType |
Specific Key Type.
| uint16_t phCryptoSym_mBedTLS_DataParams_t::wKeyNo |
Internal Key Storage number.
Will be utilized for Alternate implementation.
| uint8_t phCryptoSym_mBedTLS_DataParams_t::bIsDirectKey |