/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/pem/ |
H A D | pem_pkey.c | 25 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 D | pem_all.c | 22 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 D | EVP_PKEY_DSA_keygen.c | 24 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 D | EVP_PKEY_EC_keygen.c | 21 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 D | extern.h | 18 EVP_PKEY *read_eddsa_pubkey(const char *);
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/include/openssl/ |
H A D | evp.h | 621 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 D | x509.h | 236 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 D | dsa_ameth.c | 29 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 D | x_pubkey.c | 23 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 D | x_all.c | 22 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 D | pem_pk8.c | 21 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 D | pem_all.c | 28 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 D | i2d_evp.c | 33 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 D | d2i_pu.c | 28 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 D | eddsa.c | 15 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 D | p_enc.c | 18 int key_len, EVP_PKEY *pubk)
|
H A D | p_dec.c | 18 EVP_PKEY *priv)
|
/netbsd-current/crypto/external/bsd/openssl/dist/demos/encode/ |
H A D | ec_encode.c | 29 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 D | rsa_encode.c | 29 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 D | ec_ameth.c | 68 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 D | dh_ameth.c | 34 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 D | d2i_pu.c | 22 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 D | eng_pkey.c | 53 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 D | eng_pkey.c | 56 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 D | eddsa.c | 44 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;
|