Searched refs:tmpBuf (Results 1 – 3 of 3) sorted by relevance
339 uint8_t *tmpBuf; in CC_CommonGetPassphrase() local370 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()
216 void *tmpBuf; in ecp_wrst_mul() local234 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()
73 uint32_t tmpBuf[3*CC_PKA_MAXIMUM_MOD_BUFFER_SIZE_IN_WORDS]; member