Searched refs:EVP_PKEY (Results 26 - 50 of 484) sorted by relevance

1234567891011>>

/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/pem/
H A Dpem_pkey.c25 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb,
33 EVP_PKEY *ret = NULL;
47 EVP_PKEY_free((EVP_PKEY *)*x);
75 EVP_PKEY_free((EVP_PKEY *)*x);
95 int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
105 int PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x,
122 EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x)
129 EVP_PKEY *re
[all...]
H A Dpem_all.c22 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
25 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
29 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
43 * read in an EVP_PKEY structure with PEM_read_bio_PrivateKey() and extract
47 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa)
66 EVP_PKEY *pktmp;
75 EVP_PKEY *pktmp;
91 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa)
110 EVP_PKEY *pktmp;
121 EVP_PKEY *pktm
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/demos/pkey/
H A DEVP_PKEY_DSA_keygen.c24 EVP_PKEY *dsa_genparams(OSSL_LIB_CTX *libctx, const char *propq)
26 EVP_PKEY *dsaparamkey = NULL;
29 /* Use the dsa params in a EVP_PKEY ctx */
51 EVP_PKEY *dsaparamskey = NULL;
52 EVP_PKEY *dsakey = NULL;
60 /* Use the dsa params in a EVP_PKEY ctx */
H A DEVP_PKEY_EC_keygen.c21 static int get_key_values(EVP_PKEY *pkey);
30 static EVP_PKEY *do_ec_keygen(void)
38 EVP_PKEY *key = NULL;
81 * EC key. See doc/man7/EVP_PKEY-EC.pod for more information.
85 static int get_key_values(EVP_PKEY *pkey)
135 EVP_PKEY *pkey;
/netbsd-current/external/bsd/libfido2/dist/examples/
H A Dextern.h18 EVP_PKEY *read_eddsa_pubkey(const char *);
/netbsd-current/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Devp.h621 EVP_PKEY *pkey);
628 unsigned int siglen, EVP_PKEY *pkey);
636 EVP_PKEY *pkey);
642 EVP_PKEY *pkey);
649 const unsigned char *iv, EVP_PKEY *priv);
654 EVP_PKEY **pubk, int npubk);
987 EVP_PKEY *private_key);
990 EVP_PKEY *pub_key);
992 int EVP_PKEY_id(const EVP_PKEY *pkey);
993 int EVP_PKEY_base_id(const EVP_PKEY *pke
[all...]
H A Dx509.h236 EVP_PKEY *dec_pkey;
342 EVP_PKEY *pk));
350 int X509_verify(X509 *a, EVP_PKEY *r);
352 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
353 int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r);
354 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r);
358 EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x);
359 int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey);
367 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
372 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pke
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/dsa/
H A Ddsa_ameth.c29 static int dsa_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey)
87 static int dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey)
150 static int dsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8)
163 static int dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey)
218 static int int_dsa_size(const EVP_PKEY *pkey)
223 static int dsa_bits(const EVP_PKEY *pkey)
228 static int dsa_security_bits(const EVP_PKEY *pkey)
233 static int dsa_missing_parameters(const EVP_PKEY *pkey)
243 static int dsa_copy_parameters(EVP_PKEY *to, const EVP_PKEY *fro
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/x509/
H A Dx_pubkey.c23 EVP_PKEY *pkey;
26 static int x509_pubkey_decode(EVP_PKEY **pk, X509_PUBKEY *key);
28 /* Minor tweak to operation: free up EVP_PKEY */
60 int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey)
104 static int x509_pubkey_decode(EVP_PKEY **ppkey, X509_PUBKEY *key)
106 EVP_PKEY *pkey = EVP_PKEY_new();
141 EVP_PKEY *X509_PUBKEY_get0(X509_PUBKEY *key)
143 EVP_PKEY *ret = NULL;
153 * decode the public key and cache the EVP_PKEY structure. If this
169 EVP_PKEY *X509_PUBKEY_ge
[all...]
H A Dx_all.c22 int X509_verify(X509 *a, EVP_PKEY *r)
30 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r)
36 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r)
42 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md)
73 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md)
88 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md)
112 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md)
459 int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key)
471 int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey)
473 return ASN1_i2d_fp_of(EVP_PKEY, i2d_PrivateKe
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/pem/
H A Dpem_pk8.c21 static int do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder,
28 static int do_pk8pkey_fp(FILE *bp, const EVP_PKEY *x, int isder,
41 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, const EVP_PKEY *x, int nid,
48 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc,
55 int i2d_PKCS8PrivateKey_bio(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc,
62 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, const EVP_PKEY *x, int nid,
69 static int do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder, int nid,
169 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb,
175 EVP_PKEY *re
[all...]
H A Dpem_all.c28 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
30 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
34 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
49 * read in an EVP_PKEY structure with PEM_read_bio_PrivateKey() and extract
53 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa)
72 EVP_PKEY *pktmp;
81 EVP_PKEY *pktmp;
93 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa)
112 EVP_PKEY *pktmp;
122 EVP_PKEY *pktm
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/asn1/
H A Di2d_evp.c33 static int i2d_provided(const EVP_PKEY *a, int selection,
74 int i2d_KeyParams(const EVP_PKEY *a, unsigned char **pp)
90 int i2d_KeyParams_bio(BIO *bp, const EVP_PKEY *pkey)
92 return ASN1_i2d_bio_of(EVP_PKEY, i2d_KeyParams, bp, pkey);
95 int i2d_PrivateKey(const EVP_PKEY *a, unsigned char **pp)
123 int i2d_PublicKey(const EVP_PKEY *a, unsigned char **pp)
H A Dd2i_pu.c28 EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
31 EVP_PKEY *ret;
32 EVP_PKEY *copy = NULL;
/netbsd-current/external/bsd/libfido2/dist/src/
H A Deddsa.c15 EVP_PKEY *
30 EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub,
126 EVP_PKEY *pkey;
143 EVP_PKEY *
146 EVP_PKEY *pkey = NULL;
156 eddsa_pk_from_EVP_PKEY(eddsa_pk_t *pk, const EVP_PKEY *pkey)
173 eddsa_verify_sig(const fido_blob_t *dgst, EVP_PKEY *pkey,
218 EVP_PKEY *pkey;
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/evp/
H A Dp_enc.c18 int key_len, EVP_PKEY *pubk)
H A Dp_dec.c18 EVP_PKEY *priv)
/netbsd-current/crypto/external/bsd/openssl/dist/demos/encode/
H A Dec_encode.c29 static EVP_PKEY *load_key(OSSL_LIB_CTX *libctx, FILE *f, const char *passphrase)
32 EVP_PKEY *pkey = NULL;
101 static int store_key(EVP_PKEY *pkey, FILE *f, const char *passphrase)
178 EVP_PKEY *pkey = NULL;
H A Drsa_encode.c29 static EVP_PKEY *load_key(OSSL_LIB_CTX *libctx, FILE *f, const char *passphrase)
32 EVP_PKEY *pkey = NULL;
101 static int store_key(EVP_PKEY *pkey, FILE *f, const char *passphrase)
175 EVP_PKEY *pkey = NULL;
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/ec/
H A Dec_ameth.c68 static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey)
100 static int eckey_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey)
131 static int eckey_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b)
148 static int eckey_priv_decode_ex(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8,
162 static int eckey_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey)
205 static int int_ec_size(const EVP_PKEY *pkey)
210 static int ec_bits(const EVP_PKEY *pkey)
215 static int ec_security_bits(const EVP_PKEY *pkey)
232 static int ec_missing_parameters(const EVP_PKEY *pke
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/dh/
H A Ddh_ameth.c34 static DH *d2i_dhp(const EVP_PKEY *pkey, const unsigned char **pp,
48 static int i2d_dhp(const EVP_PKEY *pkey, const DH *a, unsigned char **pp)
55 static void int_dh_free(EVP_PKEY *pkey)
60 static int dh_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey)
111 static int dh_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey)
164 static int dh_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8)
177 static int dh_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey)
227 static int dh_param_decode(EVP_PKEY *pkey,
239 static int dh_param_encode(const EVP_PKEY *pkey, unsigned char **pder)
300 static int int_dh_size(const EVP_PKEY *pke
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/asn1/
H A Dd2i_pu.c22 EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
25 EVP_PKEY *ret;
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/engine/
H A Deng_pkey.c53 EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
56 EVP_PKEY *pkey;
84 EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id,
87 EVP_PKEY *pkey;
116 EVP_PKEY **ppkey, STACK_OF(X509) **pother,
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/engine/
H A Deng_pkey.c56 EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
59 EVP_PKEY *pkey;
85 EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id,
88 EVP_PKEY *pkey;
116 EVP_PKEY **ppkey, STACK_OF(X509) **pother,
/netbsd-current/external/bsd/libfido2/dist/regress/
H A Deddsa.c44 static EVP_PKEY *
48 EVP_PKEY *pkey = NULL;
69 EVP_PKEY *pkA = NULL;
70 EVP_PKEY *pkB = NULL;
107 EVP_PKEY *pkey;
121 EVP_PKEY *pkeyA = NULL;
122 EVP_PKEY *pkeyB = NULL;

Completed in 438 milliseconds

1234567891011>>