/openbsd-current/usr.sbin/acme-client/ |
H A D | key.h | 21 EVP_PKEY *rsa_key_create(FILE *, const char *); 22 EVP_PKEY *ec_key_create(FILE *, const char *); 23 EVP_PKEY *key_load(FILE *, const char *);
|
H A D | key.c | 39 EVP_PKEY * 43 EVP_PKEY *pkey = NULL; 78 EVP_PKEY * 82 EVP_PKEY *pkey = NULL; 117 EVP_PKEY * 120 EVP_PKEY *pkey;
|
/openbsd-current/usr.sbin/unbound/sldns/ |
H A D | keyraw.h | 76 EVP_PKEY *sldns_key_dsa2pkey_raw(unsigned char* key, size_t len); 85 EVP_PKEY* sldns_gost2pkey_raw(unsigned char* key, size_t keylen); 95 EVP_PKEY* sldns_ecdsa2pkey_raw(unsigned char* key, size_t keylen, uint8_t algo); 113 EVP_PKEY* sldns_key_rsa2pkey_raw(unsigned char* key, size_t len); 122 EVP_PKEY* sldns_ed255192pkey_raw(const unsigned char* key, size_t len); 131 EVP_PKEY* sldns_ed4482pkey_raw(const unsigned char* key, size_t len);
|
/openbsd-current/sbin/unwind/libunbound/sldns/ |
H A D | keyraw.h | 76 EVP_PKEY *sldns_key_dsa2pkey_raw(unsigned char* key, size_t len); 85 EVP_PKEY* sldns_gost2pkey_raw(unsigned char* key, size_t keylen); 95 EVP_PKEY* sldns_ecdsa2pkey_raw(unsigned char* key, size_t keylen, uint8_t algo); 113 EVP_PKEY* sldns_key_rsa2pkey_raw(unsigned char* key, size_t len); 122 EVP_PKEY* sldns_ed255192pkey_raw(const unsigned char* key, size_t len); 131 EVP_PKEY* sldns_ed4482pkey_raw(const unsigned char* key, size_t len);
|
/openbsd-current/lib/libfido2/src/fido/ |
H A D | eddsa.h | 27 EVP_PKEY *eddsa_pk_to_EVP_PKEY(const eddsa_pk_t *); 29 int eddsa_pk_from_EVP_PKEY(eddsa_pk_t *, const EVP_PKEY *); 36 int EVP_PKEY_get_raw_public_key(const EVP_PKEY *, unsigned char *, size_t *); 37 EVP_PKEY *EVP_PKEY_new_raw_public_key(int, ENGINE *, const unsigned char *,
|
H A D | rs256.h | 27 EVP_PKEY *rs256_pk_to_EVP_PKEY(const rs256_pk_t *); 29 int rs256_pk_from_EVP_PKEY(rs256_pk_t *, const EVP_PKEY *);
|
H A D | es256.h | 27 EVP_PKEY *es256_pk_to_EVP_PKEY(const es256_pk_t *); 30 int es256_pk_from_EVP_PKEY(es256_pk_t *, const EVP_PKEY *); 36 EVP_PKEY *es256_sk_to_EVP_PKEY(const es256_sk_t *);
|
/openbsd-current/lib/libcrypto/cmac/ |
H A D | cm_ameth.c | 68 cmac_size(const EVP_PKEY *pkey) 74 cmac_key_free(EVP_PKEY *pkey)
|
/openbsd-current/lib/libcrypto/evp/ |
H A D | evp_local.h | 100 int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub); 101 int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk); 102 int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b); 103 int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent, 106 int (*priv_decode)(EVP_PKEY *pk, const PKCS8_PRIV_KEY_INFO *p8inf); 107 int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk); 108 int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent, 111 int (*pkey_size)(const EVP_PKEY *pk); 112 int (*pkey_bits)(const EVP_PKEY *p [all...] |
H A D | evp_pkey.c | 70 EVP_PKEY * 73 EVP_PKEY *pkey = NULL; 113 EVP_PKEY2PKCS8(EVP_PKEY *pkey) 144 /* EVP_PKEY attribute functions */ 147 EVP_PKEY_get_attr_count(const EVP_PKEY *key) 154 EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) 161 EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, 169 EVP_PKEY_get_attr(const EVP_PKEY *key, int loc) 176 EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) 183 EVP_PKEY_add1_attr(EVP_PKEY *ke [all...] |
H A D | p_lib.c | 256 EVP_PKEY_get0_asn1(const EVP_PKEY *pkey) 263 EVP_PKEY_bits(const EVP_PKEY *pkey) 272 EVP_PKEY_security_bits(const EVP_PKEY *pkey) 284 EVP_PKEY_size(const EVP_PKEY *pkey) 293 EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode) 318 EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) 338 EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) 347 EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY * [all...] |
H A D | evp.h | 405 EVP_PKEY *EVP_PKEY_new_raw_private_key(int type, ENGINE *engine, 407 EVP_PKEY *EVP_PKEY_new_raw_public_key(int type, ENGINE *engine, 409 int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, 411 int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, 503 EVP_PKEY *pkey); 506 unsigned int siglen, EVP_PKEY *pkey); 509 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey); 516 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey); 524 const unsigned char *ek, int ekl, const unsigned char *iv, EVP_PKEY *priv); 528 unsigned char **ek, int *ekl, unsigned char *iv, EVP_PKEY **pub [all...] |
/openbsd-current/lib/libcrypto/hmac/ |
H A D | hm_ameth.c | 72 hmac_pkey_public_cmp(const EVP_PKEY *a, const EVP_PKEY *b) 79 hmac_size(const EVP_PKEY *pkey) 85 hmac_key_free(EVP_PKEY *pkey) 99 hmac_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) 111 hmac_set_priv_key(EVP_PKEY *pkey, const unsigned char *priv, size_t len) 138 hmac_get_priv_key(const EVP_PKEY *pkey, unsigned char *priv, size_t *len)
|
/openbsd-current/lib/libcrypto/asn1/ |
H A D | a_pkey.c | 73 EVP_PKEY * 74 d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) 77 EVP_PKEY *ret; 121 i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) 139 EVP_PKEY * 140 d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp, long length) 163 EVP_PKEY *ret;
|
H A D | a_pubkey.c | 81 EVP_PKEY * 82 d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) 84 EVP_PKEY *ret; 142 i2d_PublicKey(EVP_PKEY *a, unsigned char **pp)
|
H A D | x_pubkey.c | 78 /* Minor tweak to operation: free up EVP_PKEY */ 145 X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey) 183 EVP_PKEY * 186 EVP_PKEY *ret = NULL; 236 EVP_PKEY * 239 EVP_PKEY *pkey; 261 EVP_PKEY *pkey = NULL; 315 EVP_PKEY *pkey, *pktmp; 323 pkey = (EVP_PKEY *)*pval; 369 EVP_PKEY_free((EVP_PKEY *)*pva [all...] |
/openbsd-current/lib/libcrypto/pem/ |
H A D | pem_pk8.c | 70 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, 72 static int do_pk8pkey_fp(FILE *bp, EVP_PKEY *x, int isder, int nid, 82 PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, char *kstr, 90 PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, 98 i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, 106 i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, 114 do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, 160 EVP_PKEY * 161 d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) 166 EVP_PKEY *re [all...] |
H A D | pem_pkey.c | 77 EVP_PKEY * 78 PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) 85 EVP_PKEY *ret = NULL; 149 PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, 162 PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x, 175 EVP_PKEY * 176 PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x) 183 EVP_PKEY *ret = NULL; 217 PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x) 231 EVP_PKEY * [all...] |
H A D | pem.h | 360 unsigned int *siglen, EVP_PKEY *pkey); 413 DECLARE_PEM_rw_cb(PrivateKey, EVP_PKEY) 415 DECLARE_PEM_rw(PUBKEY, EVP_PKEY) 417 int PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x, 420 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, 423 int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *, 425 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, 428 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, 431 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY ** [all...] |
/openbsd-current/lib/libfido2/src/ |
H A D | eddsa.c | 14 EVP_PKEY * 29 EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub, 125 EVP_PKEY *pkey; 142 EVP_PKEY * 145 EVP_PKEY *pkey = NULL; 155 eddsa_pk_from_EVP_PKEY(eddsa_pk_t *pk, const EVP_PKEY *pkey) 172 eddsa_verify_sig(const fido_blob_t *dgst, EVP_PKEY *pkey, 217 EVP_PKEY *pkey;
|
/openbsd-current/lib/libssl/ |
H A D | ssl_sigalgs.h | 65 const struct ssl_sigalg *ssl_sigalg_select(SSL *s, EVP_PKEY *pkey); 66 const struct ssl_sigalg *ssl_sigalg_for_peer(SSL *s, EVP_PKEY *pkey,
|
/openbsd-current/lib/libcrypto/dh/ |
H A D | dh_ameth.c | 73 dh_free(EVP_PKEY *pkey) 79 dh_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) 134 dh_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) 192 dh_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) 249 dh_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) 303 dh_param_decode(EVP_PKEY *pkey, const unsigned char **params, int params_len) 325 dh_param_encode(const EVP_PKEY *pkey, unsigned char **params) 391 dh_size(const EVP_PKEY *pkey) 397 dh_bits(const EVP_PKEY *pkey) 403 dh_security_bits(const EVP_PKEY *pke [all...] |
/openbsd-current/lib/libcrypto/x509/ |
H A D | x509.h | 272 EVP_PKEY *dec_pkey; 364 int X509_verify(X509 *a, EVP_PKEY *r); 366 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r); 367 int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r); 368 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r); 372 EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x); 373 int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey); 381 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); 383 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md); 385 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pke [all...] |
H A D | x_all.c | 340 EVP_PKEY * 341 d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a) 343 return ASN1_d2i_bio_of(EVP_PKEY, EVP_PKEY_new, d2i_AutoPrivateKey, 349 i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey) 351 return ASN1_i2d_bio_of(EVP_PKEY, i2d_PrivateKey, bp, pkey); 355 EVP_PKEY * 356 d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a) 358 return ASN1_d2i_fp_of(EVP_PKEY, EVP_PKEY_new, d2i_AutoPrivateKey, 364 i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey) 366 return ASN1_i2d_fp_of(EVP_PKEY, i2d_PrivateKe [all...] |
/openbsd-current/lib/libcrypto/dsa/ |
H A D | dsa_ameth.c | 77 dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) 144 dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) 205 dsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) 286 dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) 340 dsa_size(const EVP_PKEY *pkey) 346 dsa_bits(const EVP_PKEY *pkey) 352 dsa_security_bits(const EVP_PKEY *pkey) 358 dsa_missing_parameters(const EVP_PKEY *pkey) 366 dsa_copy_parameters(EVP_PKEY *to, const EVP_PKEY *fro [all...] |