Home
last modified time | relevance | path

Searched refs:pRsaPubKey (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_crypto_asym.c49 RSA *pRsaPubKey = NULL; in Sign_v15() local
104 pRsaPubKey = RSA_new(); in Sign_v15()
105 if (NULL == pRsaPubKey) { in Sign_v15()
114 if (PEM_read_bio_RSA_PUBKEY(bio,&pRsaPubKey,NULL,Key_ptr) == NULL) { in Sign_v15()
119 if (!EVP_PKEY_assign_RSA(pKey, pRsaPubKey)) { in Sign_v15()
142 if (pRsaPubKey != NULL) { in Sign_v15()
143 RSA_free(pRsaPubKey); in Sign_v15()
233 int32_t Verify_v21(RSA *pRsaPubKey, in Verify_v21() argument
245 if ((NULL == pRsaPubKey) || in Verify_v21()
260 …if (RSA_public_decrypt(SB_CERT_RSA_KEY_SIZE_IN_BYTES, pSignature, pDecrypted, pRsaPubKey, RSA_NO_P… in Verify_v21()
[all …]
Dcommon_sb_ops.h42 if (pRsaPubKey) \
43 RSA_free (pRsaPubKey); \
Dcommon_sb_ops.c48 RSA *pRsaPubKey = NULL; in Sign_v15() local
76 pRsaPubKey = RSA_new(); in Sign_v15()
80 if (PEM_read_bio_RSA_PUBKEY(bio,&pRsaPubKey,NULL,Key_ptr) == NULL) in Sign_v15()
83 if (!EVP_PKEY_assign_RSA(pKey, pRsaPubKey)) in Sign_v15()