Searched refs:sizeOfT (Results 1 – 5 of 5) sorted by relevance
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_ccm.c | 133 uint8_t sizeOfT, uint32_t ccmMode) in ccm_init() argument 156 if ((sizeOfT < 4) || (sizeOfT > 16) || ((sizeOfT & 1) != 0)) { in ccm_init() 163 if (ccm_get_security_level(sizeOfT, securityField, in ccm_init() 201 context->sizeOfT = sizeOfT; in ccm_init() 220 tempBuff[0] |= ((sizeOfT - 2) / 2) << 3; /* bits 3 - 5 */ in ccm_init() 469 size_t *sizeOfT) in ccm_finish() argument 482 if (sizeOfT == NULL) { in ccm_finish() 522 CC_PalMemCopy(macBuf, localMacBuf, context->sizeOfT); in ccm_finish() 528 CC_PalMemCopy(tempBuff, macBuf, context->sizeOfT); in ccm_finish() 548 if (CC_PalMemCmp(context->ivBuf, tempBuff, context->sizeOfT) != 0) { in ccm_finish() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_ccm_internal.c | 37 uint8_t sizeOfT, in ccm_init() argument 64 if ((sizeOfT < 4) || (sizeOfT > 16) || ((sizeOfT & 1) != 0)) { in ccm_init() 70 if (mbedtls_ccm_get_security_level(sizeOfT, &securityLevelField) != CC_OK) { in ccm_init() 112 pAesCcmCtx->sizeOfT = sizeOfT; in ccm_init() 132 tempBuff[0] |= ((sizeOfT - 2) / 2) << 3; /* bits 3 - 5 */ in ccm_init() 395 static int ccm_finish(mbedtls_ccm_context *ctx, unsigned char * macBuf, size_t *sizeOfT) in ccm_finish() argument 408 if (sizeOfT == NULL) in ccm_finish() 451 CC_PalMemCopy(macBuf, localMacBuf, pAesCcmCtx->sizeOfT); in ccm_finish() 460 CC_PalMemCopy(tempBuff, macBuf, pAesCcmCtx->sizeOfT); in ccm_finish() 478 if (CC_PalMemCmp(pAesCcmCtx->ivBuf, tempBuff, pAesCcmCtx-> sizeOfT ) != 0) in ccm_finish() [all …]
|
D | mbedtls_ccm_internal.h | 17 int mbedtls_ccm_get_security_level(uint8_t sizeOfT, uint8_t *pSecurityLevel);
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/ |
D | cc3xx_internal_ccm.h | 92 size_t sizeOfT, 118 size_t sizeOfT,
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/ |
D | aesccm_driver.h | 52 uint8_t sizeOfT; member
|