Searched refs:sha256Ctx (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 | 128 SHA256_CTX sha256Ctx; in SBU_AES_CTR_EncryptFile() local 165 rc = SHA256_Init(&sha256Ctx); in SBU_AES_CTR_EncryptFile() 242 rc = SHA256_Update(&sha256Ctx, origBuff, actualRead); in SBU_AES_CTR_EncryptFile() 244 rc = SHA256_Update(&sha256Ctx, encryptedBuff, actualRead); in SBU_AES_CTR_EncryptFile() 252 rc = SHA256_Final(imageHash, &sha256Ctx); in SBU_AES_CTR_EncryptFile() 258 OPENSSL_cleanse(&sha256Ctx,sizeof(sha256Ctx)); 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 | 291 SHA256_CTX sha256Ctx; in SBU_AES_CTR_EncryptFile() local 328 rc = SHA256_Init(&sha256Ctx); in SBU_AES_CTR_EncryptFile() 406 rc = SHA256_Update(&sha256Ctx, origBuff, actualRead); in SBU_AES_CTR_EncryptFile() 408 rc = SHA256_Update(&sha256Ctx, encryptedBuff, actualRead); in SBU_AES_CTR_EncryptFile() 416 rc = SHA256_Final(imageHash, &sha256Ctx); in SBU_AES_CTR_EncryptFile() 422 OPENSSL_cleanse(&sha256Ctx,sizeof(sha256Ctx)); in SBU_AES_CTR_EncryptFile()
|