Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/cert_lib/
Dmain.c130 uint32_t prevBuffLen = 0; in SBU_AES_CTR_EncryptFile() local
196 prevBuffLen = 0; in SBU_AES_CTR_EncryptFile()
213 rc = EVP_EncryptUpdate(&ctrCtx, encryptedBuff, &prevBuffLen, origBuff, actualRead); in SBU_AES_CTR_EncryptFile()
220 encryptedBuffSize += prevBuffLen; in SBU_AES_CTR_EncryptFile()
222 … rc = EVP_EncryptFinal_ex(&ctrCtx, encryptedBuff+encryptedBuffSize, &prevBuffLen); in SBU_AES_CTR_EncryptFile()
228 encryptedBuffSize += prevBuffLen; in SBU_AES_CTR_EncryptFile()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_lib/
Dmain.c293 uint32_t prevBuffLen = 0; in SBU_AES_CTR_EncryptFile() local
359 prevBuffLen = 0; in SBU_AES_CTR_EncryptFile()
377 rc = EVP_EncryptUpdate(&ctrCtx, encryptedBuff, &prevBuffLen, origBuff, actualRead); in SBU_AES_CTR_EncryptFile()
384 encryptedBuffSize += prevBuffLen; in SBU_AES_CTR_EncryptFile()
386 … rc = EVP_EncryptFinal_ex(&ctrCtx, encryptedBuff+encryptedBuffSize, &prevBuffLen); in SBU_AES_CTR_EncryptFile()
392 encryptedBuffSize += prevBuffLen; in SBU_AES_CTR_EncryptFile()