Searched refs:assocDataSize (Results 1 – 3 of 3) sorted by relevance
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_ccm_internal.c | 33 size_t assocDataSize, in ccm_init() argument 126 if (assocDataSize > 0) in ccm_init() 170 static int ccm_ass_data(mbedtls_ccm_context *ctx, const uint8_t *pAssocData, size_t assocDataSize) in ccm_ass_data() argument 194 if (assocDataSize > 0xFFFFFFFF) in ccm_ass_data() 200 if (assocDataSize >= 0xff00) in ccm_ass_data() 205 CC_CommonReverseMemcpy(pAesCcmCtx->tempBuff + 6 - 4, (uint8_t*) &assocDataSize, 4); in ccm_ass_data() 208 else if (assocDataSize > 0) in ccm_ass_data() 211 CC_CommonReverseMemcpy(pAesCcmCtx->tempBuff + 2 - 2, (uint8_t*) &assocDataSize, 2); in ccm_ass_data() 221 if (assocDataSize < firstBlockRemSize) in ccm_ass_data() 223 firstBlockRemSize = assocDataSize; in ccm_ass_data() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_ccm.c | 131 size_t assocDataSize, size_t textDataSize, in ccm_init() argument 215 if (assocDataSize > 0) { in ccm_init() 261 size_t assocDataSize) in ccm_ass_data() argument 279 if (assocDataSize > 0xFFFFFFFF) { in ccm_ass_data() 284 if (assocDataSize >= in ccm_ass_data() 290 (uint8_t *)&assocDataSize, 4); in ccm_ass_data() 292 } else if (assocDataSize > 0) { /* else if 0 < ASize < 2^16 - 2^8, then set in ccm_ass_data() 296 (uint8_t *)&assocDataSize, 2); in ccm_ass_data() 304 if (assocDataSize < firstBlockRemSize) { in ccm_ass_data() 305 firstBlockRemSize = assocDataSize; in ccm_ass_data() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_sbromlib/ |
D | bsv_crypto_api.h | 96 …size_t assocDataSize, /*!< [in] Byte size of the associated data limited…
|