Searched refs:pRsaKeyPair (Results 1 – 3 of 3) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/ |
D | common_rsa_keypair.h | 48 int32_t CC_CommonGetKeyPair (RSA **pRsaKeyPair, int8_t *PemEncryptedFileName_ptr, int8_t *Key_ptr); 60 int32_t CC_CommonGetPubKey (RSA **pRsaKeyPair, int8_t *PemEncryptedFileName_ptr);
|
D | common_rsa_keypair.c | 35 int32_t CC_CommonGetKeyPair(RSA **pRsaKeyPair, int8_t *PemEncryptedFileName_ptr, int8_t *Key_ptr) in CC_CommonGetKeyPair() argument 51 if ((PEM_read_RSAPrivateKey (fp, pRsaKeyPair, NULL, Key_ptr)) == NULL) { in CC_CommonGetKeyPair() 72 int32_t CC_CommonGetPubKey(RSA **pRsaKeyPair, int8_t *PemEncryptedFileName_ptr) in CC_CommonGetPubKey() argument 88 if ((PEM_read_RSA_PUBKEY(fp, pRsaKeyPair, NULL, NULL)) == NULL) { in CC_CommonGetPubKey()
|
D | common_crypto_x509.c | 387 RSA *pRsaKeyPair = NULL; in CC_CommonX509SetKeyAndSign() local 409 pRsaKeyPair = RSA_new(); in CC_CommonX509SetKeyAndSign() 410 if (NULL == pRsaKeyPair) { in CC_CommonX509SetKeyAndSign() 414 rc = CC_CommonGetKeyPair(&pRsaKeyPair, pKeyPairFileName, pwd); in CC_CommonX509SetKeyAndSign() 429 rc = EVP_PKEY_assign_RSA(pKey, pRsaKeyPair); in CC_CommonX509SetKeyAndSign() 484 if (pRsaKeyPair != NULL) { in CC_CommonX509SetKeyAndSign() 485 RSA_free(pRsaKeyPair); // free pKey as well in CC_CommonX509SetKeyAndSign()
|