Searched refs:pDecrypted (Results 1 – 2 of 2) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/ |
D | common_crypto_asym.c | 179 uint8_t pDecrypted[SB_CERT_RSA_KEY_SIZE_IN_BYTES] = {0}; in Sign_v21() local 206 …if (RSA_public_decrypt(SB_CERT_RSA_KEY_SIZE_IN_BYTES, pSignature, pDecrypted, pRsaPrivKey, RSA_NO_… in Sign_v21() 210 if (RSA_verify_PKCS1_PSS(pRsaPrivKey, pDigest, EVP_sha256(), pDecrypted, RSA_SALT_LEN) != 1) { in Sign_v21() 242 uint8_t pDecrypted[SB_CERT_RSA_KEY_SIZE_IN_BYTES] = {0}; in Verify_v21() local 260 …if (RSA_public_decrypt(SB_CERT_RSA_KEY_SIZE_IN_BYTES, pSignature, pDecrypted, pRsaPubKey, RSA_NO_P… in Verify_v21() 264 if (RSA_verify_PKCS1_PSS(pRsaPubKey, pDigest, EVP_sha256(), pDecrypted,RSA_SALT_LEN) != 1) { in Verify_v21()
|
D | common_sb_ops.c | 121 unsigned char pDecrypted[SB_CERT_RSA_KEY_SIZE_IN_BYTES]; in Sign_v21() local 140 …if (RSA_public_decrypt(SB_CERT_RSA_KEY_SIZE_IN_BYTES, Signature_ptr, pDecrypted, pRsaPrivKey, RSA_… in Sign_v21() 143 if (RSA_verify_PKCS1_PSS(pRsaPrivKey, pDigest, EVP_sha256(), pDecrypted, RSA_SALT_LEN) != 1) in Sign_v21()
|