Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_crypto_sym.c180 uint8_t *pOutBuff = NULL; in CC_CommonAesCbcMacEncrypt() local
193 pOutBuff = malloc(buffSize); in CC_CommonAesCbcMacEncrypt()
194 if (NULL == pOutBuff) { in CC_CommonAesCbcMacEncrypt()
207 AES_cbc_encrypt(pBuff, pOutBuff, buffSize, &aesKey, pIv, AES_ENCRYPT); in CC_CommonAesCbcMacEncrypt()
208 memcpy(pEncMacBuff, pOutBuff, macSize); in CC_CommonAesCbcMacEncrypt()
212 if (pOutBuff != NULL) { in CC_CommonAesCbcMacEncrypt()
213 free(pOutBuff); in CC_CommonAesCbcMacEncrypt()