Home
last modified time | relevance | path

Searched refs:addDataSize (Results 1 – 7 of 7) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_crypto_x509.c543 uint32_t addDataSize, in CC_CommonX509BuildCertPkg() argument
557 ((pAddData != NULL) && (0 == addDataSize)) || in CC_CommonX509BuildCertPkg()
558 ((NULL == pAddData) && (addDataSize != 0))) { in CC_CommonX509BuildCertPkg()
565 pkgBytesSize = (certSize + addDataSize + 1); /* Adding 1 for "\0"*/ in CC_CommonX509BuildCertPkg()
575 …locate memory for pkg:size %d, certSize %d, addDataSize %d\n",pkgBytesSize, certSize, addDataSize); in CC_CommonX509BuildCertPkg()
586 memcpy(&pCertPkg[0], pAddData, addDataSize); in CC_CommonX509BuildCertPkg()
589 memcpy(&pCertPkg[addDataSize], *ppCertBuff, certSize); in CC_CommonX509BuildCertPkg()
633 uint32_t addDataSize, in CC_CommonX509BuildCertPkg() argument
649 ((pAddData != NULL) && (0 == addDataSize)) || in CC_CommonX509BuildCertPkg()
650 ((NULL == pAddData) && (addDataSize != 0)) || in CC_CommonX509BuildCertPkg()
[all …]
Dcommon_crypto_x509.h121 uint32_t addDataSize,
131 uint32_t addDataSize,
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_cc_chacha_poly.c22 size_t addDataSize, in mbedtls_chacha_poly() argument
38 if ((pAddData == NULL) ^ (addDataSize == 0)) { in mbedtls_chacha_poly()
49 (addDataSize > CC_MAX_UINT32_VAL)) in mbedtls_chacha_poly()
81 rc = PolyMacCalc(polyKey, pAddData, addDataSize, pCipherData, dataInSize, polyMac, true); in mbedtls_chacha_poly()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_lib/
Dmain.c804 uint32_t addDataSize, in SBU_x509_BuildCertPkg() argument
817 ((pAddData != NULL) && (addDataSize == 0)) || in SBU_x509_BuildCertPkg()
818 ((pAddData == NULL) && (addDataSize != 0))) { in SBU_x509_BuildCertPkg()
824 …UTIL_LOG_INFO("outPkgFile %s, addDataSize %d, gCertSize %d\n", outPkgFile, addDataSize, gCertSize); in SBU_x509_BuildCertPkg()
825 UTIL_LOG_BYTE_BUFF("pAddData", pAddData, addDataSize); in SBU_x509_BuildCertPkg()
828 addDataSize = ALIGN_TO_4BYTES(addDataSize); in SBU_x509_BuildCertPkg()
834 pkgBytesSize = gCertSize + addDataSize; in SBU_x509_BuildCertPkg()
854 memcpy(&pCertPkg[pkgLocation], pAddData, addDataSize); in SBU_x509_BuildCertPkg()
855 pkgLocation += addDataSize; in SBU_x509_BuildCertPkg()
863 memcpy(&pCertPkg[pkgLocation], pAddData, addDataSize); in SBU_x509_BuildCertPkg()
[all …]
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/
Dmbedtls_cc_chacha_poly.h48 …size_t addDataSize, /*!< [in] The size of the input data. Must no…
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/poly/
Dpoly.c391 size_t addDataSize, in PolyMacCalc() argument
408 ((pAddData == NULL) && (addDataSize != 0))) { in PolyMacCalc()
424 if (addDataSize) { in PolyMacCalc()
425 rc = PolyAccCalc(pAddData, addDataSize, isPolyAeadMode); in PolyMacCalc()
441 lastBlock[0] = addDataSize; in PolyMacCalc()
Dpoly.h80 size_t addDataSize,