Home
last modified time | relevance | path

Searched refs:tmpBuf (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_util_files.c339 uint8_t *tmpBuf; in CC_CommonGetPassphrase() local
370 tmpBuf = (int8_t *)malloc(fsize+1); in CC_CommonGetPassphrase()
371 if (tmpBuf == NULL) { in CC_CommonGetPassphrase()
377 memset(tmpBuf, 0, fsize+1); in CC_CommonGetPassphrase()
380 tmpBuf[i] = (uint8_t)fgetc(fp); in CC_CommonGetPassphrase()
381 if (tmpBuf[i] == (uint8_t)EOF || tmpBuf[i] == '\n') { in CC_CommonGetPassphrase()
382 tmpBuf[i] = '\0'; in CC_CommonGetPassphrase()
385 *pwd = tmpBuf; in CC_CommonGetPassphrase()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dcc_ecp_internal.c216 void *tmpBuf; in ecp_wrst_mul() local
234 tmpBuf = mbedtls_calloc(1, sizeof(CCEcpkiKgTempData_t)); in ecp_wrst_mul()
235 if (NULL == tmpBuf) in ecp_wrst_mul()
244 mbedtls_free(tmpBuf); in ecp_wrst_mul()
252 mbedtls_free(tmpBuf); in ecp_wrst_mul()
257 …TE(p), R->MBEDTLS_PRIVATE(X).MBEDTLS_PRIVATE(p), R->MBEDTLS_PRIVATE(Y).MBEDTLS_PRIVATE(p), tmpBuf); in ecp_wrst_mul()
258 mbedtls_free(tmpBuf); in ecp_wrst_mul()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa.h73 uint32_t tmpBuf[3*CC_PKA_MAXIMUM_MOD_BUFFER_SIZE_IN_WORDS]; member