Searched refs:orsa (Results 1 - 3 of 3) sorted by relevance
/netbsd-current/crypto/external/bsd/netpgp/dist/src/lib/ |
H A D | openssl_crypto.c | 94 takeRSA(const RSA *orsa, pgp_rsa_pubkey_t *pk, pgp_rsa_seckey_t *sk) argument 98 RSA_get0_key(orsa, &n, &e, &d); 99 RSA_get0_factors(orsa, &q, &p); 101 n = orsa->n; 102 e = orsa->e; 103 d = orsa->d; 104 p = orsa->p; 105 q = orsa->q; 122 RSA *orsa; local 124 orsa 733 RSA *orsa = makeRSA(pubkey, NULL); local 760 RSA *orsa = makeRSA(pubkey, seckey); local 839 RSA *orsa = makeRSA(pubkey, NULL); local [all...] |
/netbsd-current/crypto/external/bsd/netpgp/dist/src/libverify/ |
H A D | libverify.c | 1535 RSA *orsa; local 1538 if ((orsa = calloc(1, sizeof(*orsa))) == NULL) { 1541 orsa->n = pubkey->bn[RSA_N].bn; 1542 orsa->e = pubkey->bn[RSA_E].bn; 1543 n = rsa_public_decrypt((int)length, in, out, orsa, RSA_NO_PADDING); 1544 orsa->n = orsa->e = NULL; 1545 free(orsa);
|
/netbsd-current/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
H A D | libverify.c | 1995 NETPGPV_RSA *orsa; local 1998 if ((orsa = calloc(1, sizeof(*orsa))) == NULL) { 2001 orsa->n = pubkey->bn[RSA_N].bn; 2002 orsa->e = pubkey->bn[RSA_E].bn; 2003 n = rsa_public_decrypt((int)length, in, out, orsa, NETPGPV_RSA_NO_PADDING); 2004 orsa->n = orsa->e = NULL; 2005 free(orsa);
|
Completed in 131 milliseconds