Home
last modified time | relevance | path

Searched refs:encryptedBuff (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.c123 uint8_t encryptedBuff[MAX_IMAGE_CHUNK+AES_BLOCK_SIZE] = {0}; in SBU_AES_CTR_EncryptFile() local
212 pBuff2Hash = &encryptedBuff[0]; in SBU_AES_CTR_EncryptFile()
213 rc = EVP_EncryptUpdate(&ctrCtx, encryptedBuff, &prevBuffLen, origBuff, actualRead); in SBU_AES_CTR_EncryptFile()
222 … rc = EVP_EncryptFinal_ex(&ctrCtx, encryptedBuff+encryptedBuffSize, &prevBuffLen); in SBU_AES_CTR_EncryptFile()
244 rc = SHA256_Update(&sha256Ctx, encryptedBuff, actualRead); in SBU_AES_CTR_EncryptFile()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_lib/
Dmain.c286 uint8_t encryptedBuff[MAX_IMAGE_CHUNK+AES_BLOCK_SIZE] = {0}; in SBU_AES_CTR_EncryptFile() local
376 pBuff2Hash = &encryptedBuff[0]; in SBU_AES_CTR_EncryptFile()
377 rc = EVP_EncryptUpdate(&ctrCtx, encryptedBuff, &prevBuffLen, origBuff, actualRead); in SBU_AES_CTR_EncryptFile()
386 … rc = EVP_EncryptFinal_ex(&ctrCtx, encryptedBuff+encryptedBuffSize, &prevBuffLen); in SBU_AES_CTR_EncryptFile()
408 rc = SHA256_Update(&sha256Ctx, encryptedBuff, actualRead); in SBU_AES_CTR_EncryptFile()