Home
last modified time | relevance | path

Searched refs:pkgBytesSize (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_crypto_x509.c549 uint32_t pkgBytesSize = 0; in CC_CommonX509BuildCertPkg() local
565 pkgBytesSize = (certSize + addDataSize + 1); /* Adding 1 for "\0"*/ in CC_CommonX509BuildCertPkg()
575 …ut to allocate memory for pkg:size %d, certSize %d, addDataSize %d\n",pkgBytesSize, certSize, addD… in CC_CommonX509BuildCertPkg()
578 pCertPkg = (uint8_t *) malloc(pkgBytesSize); in CC_CommonX509BuildCertPkg()
594 rc = CC_CommonUtilCopyBuffToBinFile(outPkgFile, pCertPkg, pkgBytesSize); in CC_CommonX509BuildCertPkg()
640 uint32_t pkgBytesSize = 0; in CC_CommonX509BuildCertPkg() local
659 pkgBytesSize = (sizeof(CCX509PkgHeader_t) + addDataSize); in CC_CommonX509BuildCertPkg()
669 pkgBytesSize += certSize + 1; /* Adding 1 for "\0"*/ in CC_CommonX509BuildCertPkg()
670 …ut to allocate memory for pkg:size %d, certSize %d, addDataSize %d\n",pkgBytesSize, certSize, addD… in CC_CommonX509BuildCertPkg()
673 pCertPkg = (uint8_t *) malloc(pkgBytesSize); in CC_CommonX509BuildCertPkg()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_lib/
Dmain.c811 uint32_t pkgBytesSize = 0; in SBU_x509_BuildCertPkg() local
834 pkgBytesSize = gCertSize + addDataSize; in SBU_x509_BuildCertPkg()
845 pCertPkg = (uint8_t *) malloc(pkgBytesSize); in SBU_x509_BuildCertPkg()
866 if (pkgLocation != (pkgBytesSize)) { in SBU_x509_BuildCertPkg()
874 rc = CC_CommonUtilCopyBuffToBinFile(outPkgFile, pCertPkg, pkgBytesSize); in SBU_x509_BuildCertPkg()