Context variable type for AES-CTR (and AES-CCM)

Public Attributes#

mbedtls_aes_context

mbedTLS AES context

size_t

Position in block of last byte en/decrypted.

uint8_t

Current CTR encrypted block.

uint8_t

Current counter/CCM value.

Public Attribute Documentation#

aesContext#

mbedtls_aes_context AesCtrContext_t::aesContext

mbedTLS AES context


Definition at line 59 of file platform/bootloader/security/btl_security_types.h

offsetInBlock#

size_t AesCtrContext_t::offsetInBlock

Position in block of last byte en/decrypted.


Definition at line 61 of file platform/bootloader/security/btl_security_types.h

streamBlock#

uint8_t AesCtrContext_t::streamBlock[16]

Current CTR encrypted block.


Definition at line 66 of file platform/bootloader/security/btl_security_types.h

counter#

uint8_t AesCtrContext_t::counter[16]

Current counter/CCM value.


Definition at line 68 of file platform/bootloader/security/btl_security_types.h