Searched refs:origBuff (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/ |
D | main.c | 122 uint8_t origBuff[MAX_IMAGE_CHUNK] = {0}; in SBU_AES_CTR_EncryptFile() local 201 actualRead = fread(origBuff, 1, MAX_IMAGE_CHUNK, fd); in SBU_AES_CTR_EncryptFile() 208 pBuff2Hash = origBuff; in SBU_AES_CTR_EncryptFile() 213 rc = EVP_EncryptUpdate(&ctrCtx, encryptedBuff, &prevBuffLen, origBuff, actualRead); in SBU_AES_CTR_EncryptFile() 242 rc = SHA256_Update(&sha256Ctx, origBuff, actualRead); in SBU_AES_CTR_EncryptFile()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_lib/ |
D | main.c | 285 uint8_t origBuff[MAX_IMAGE_CHUNK] = {0}; in SBU_AES_CTR_EncryptFile() local 364 actualRead = fread(origBuff, 1, MAX_IMAGE_CHUNK, fd); in SBU_AES_CTR_EncryptFile() 372 pBuff2Hash = origBuff; in SBU_AES_CTR_EncryptFile() 377 rc = EVP_EncryptUpdate(&ctrCtx, encryptedBuff, &prevBuffLen, origBuff, actualRead); in SBU_AES_CTR_EncryptFile() 406 rc = SHA256_Update(&sha256Ctx, origBuff, actualRead); in SBU_AES_CTR_EncryptFile()
|