Home
last modified time | relevance | path

Searched refs:sizeOfN (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_ccm.c132 const uint8_t *pNonce, uint8_t sizeOfN, in ccm_init() argument
136 uint8_t qFieldSize = 15 - sizeOfN; in ccm_init()
169 if (sizeOfN != CC3XX_CCM_STAR_NONCE_SIZE_BYTES) { in ccm_init()
193 if (sizeOfN < 7 || sizeOfN >= CC_AES_BLOCK_SIZE_IN_BYTES) { in ccm_init()
200 context->sizeOfN = sizeOfN; in ccm_init()
224 CC_PalMemCopy(tempBuff + 1, pNonce, sizeOfN); in ccm_init()
250 CC_PalMemCopy(ctrStateBuf + 1, pNonce, sizeOfN); in ccm_init()
491 qFieldSize = 15 - context->sizeOfN; in ccm_finish()
754 size_t sizeOfN, in cc3xx_ccm_set_nonce() argument
759 uint8_t qFieldSize = 15 - sizeOfN; in cc3xx_ccm_set_nonce()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_ccm_internal.c36 uint8_t sizeOfN, in ccm_init() argument
43 uint8_t qFieldSize = 15 - sizeOfN; in ccm_init()
75 if (sizeOfN != MBEDTLS_AESCCM_STAR_NONCE_SIZE_BYTES) { in ccm_init()
101 if (sizeOfN < 7 || sizeOfN >= CC_AES_BLOCK_SIZE_IN_BYTES) in ccm_init()
111 pAesCcmCtx->sizeOfN = sizeOfN; in ccm_init()
136 CC_PalMemCopy(tempBuff + 1, pNonce, sizeOfN); in ccm_init()
162 CC_PalMemCopy(ctrStateBuf + 1, pNonce, sizeOfN); in ccm_init()
422 qFieldSize = 15 - pAesCcmCtx->sizeOfN; in ccm_finish()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Daesccm_driver.h48 uint8_t sizeOfN; member
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/
Dcc3xx_internal_ccm.h91 size_t sizeOfN,