Home
last modified time | relevance | path

Searched refs:textDataSize (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/
Dmbedtls_ccm_internal.c34 size_t textDataSize, in ccm_init() argument
95 if ((qFieldSize < 4) && ((textDataSize >> (qFieldSize * 8)) > 0)) in ccm_init()
137 …CC_CommonReverseMemcpy(tempBuff + 16 - min(qFieldSize, 4), (uint8_t*) &textDataSize, min(qFieldSiz… in ccm_init()
274 static int ccm_text_data(mbedtls_ccm_context *ctx, const uint8_t *pTextDataIn, size_t textDataSize,… in ccm_text_data() argument
283 if ((pTextDataIn == NULL) && (textDataSize != 0)) in ccm_text_data()
288 if (textDataSize > 0xFFFFFFFF) in ccm_text_data()
294 if ((pTextDataOut == NULL) && (textDataSize != 0)) in ccm_text_data()
307 (pTextDataIn + textDataSize > pTextDataOut)) in ccm_text_data()
316 …rc = SetDataBuffersInfo(pTextDataIn, textDataSize, &inBuffInfo, pTextDataOut, textDataSize, &outBu… in ccm_text_data()
336 rc = ProcessAesCcmDrv(pAesCcmCtx, &inBuffInfo, &outBuffInfo, textDataSize); in ccm_text_data()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_ccm.c131 size_t assocDataSize, size_t textDataSize, in ccm_init() argument
188 if ((qFieldSize < 4) && ((textDataSize >> (qFieldSize * 8)) > 0)) { in ccm_init()
226 (uint8_t *)&textDataSize, min(qFieldSize, 4)); in ccm_init()
357 size_t textDataSize, uint8_t *pTextDataOut) in ccm_text_data() argument
364 if ((pTextDataIn == NULL) && (textDataSize != 0)) { in ccm_text_data()
368 if (textDataSize > 0xFFFFFFFF) { in ccm_text_data()
373 if ((pTextDataOut == NULL) && (textDataSize != 0)) { in ccm_text_data()
387 (pTextDataIn + textDataSize > pTextDataOut)) { in ccm_text_data()
392 rc = SetDataBuffersInfo(pTextDataIn, textDataSize, &inBuffInfo, in ccm_text_data()
393 pTextDataOut, textDataSize, &outBuffInfo); in ccm_text_data()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_sbromlib/
Dbsv_crypto_api.h98 …size_t textDataSize, /*!< [in] Byte size of the full text data limited to 6…