/freebsd/crypto/openssl/crypto/evp/ |
H A D | p_legacy.c | 25 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) in EVP_PKEY_set1_RSA() 40 RSA *evp_pkey_get0_RSA_int(const EVP_PKEY *pkey) in evp_pkey_get0_RSA_int() 49 const RSA *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey) in EVP_PKEY_get0_RSA() 54 RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey) in EVP_PKEY_get1_RSA() 65 int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) in EVP_PKEY_set1_EC_KEY() 76 EC_KEY *evp_pkey_get0_EC_KEY_int(const EVP_PKEY *pkey) in evp_pkey_get0_EC_KEY_int() 85 const EC_KEY *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey) in EVP_PKEY_get0_EC_KEY() 90 EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey) in EVP_PKEY_get1_EC_KEY()
|
H A D | p_lib.c | 61 int EVP_PKEY_get_bits(const EVP_PKEY *pkey) in EVP_PKEY_get_bits() 77 int EVP_PKEY_get_security_bits(const EVP_PKEY *pkey) in EVP_PKEY_get_security_bits() 93 int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode) in EVP_PKEY_save_parameters() 236 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) in EVP_PKEY_missing_parameters() 422 EVP_PKEY *pkey = NULL; in new_raw_key_int() local 588 int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, unsigned char *priv, in EVP_PKEY_get_raw_private_key() 620 int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub, in EVP_PKEY_get_raw_public_key() 663 EVP_PKEY *pkey = NULL; in new_cmac_key_int() local 718 int EVP_PKEY_set_type(EVP_PKEY *pkey, int type) in EVP_PKEY_set_type() 723 int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len) in EVP_PKEY_set_type_str() [all …]
|
H A D | pmeth_check.c | 49 EVP_PKEY *pkey = ctx->pkey; in evp_pkey_public_check_combined() local 93 EVP_PKEY *pkey = ctx->pkey; in evp_pkey_param_check_combined() local 138 EVP_PKEY *pkey = ctx->pkey; in EVP_PKEY_private_check() local 162 EVP_PKEY *pkey = ctx->pkey; in EVP_PKEY_pairwise_check() local
|
/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_ameth.c | 34 static DH *d2i_dhp(const EVP_PKEY *pkey, const unsigned char **pp, in d2i_dhp() 48 static int i2d_dhp(const EVP_PKEY *pkey, const DH *a, unsigned char **pp) in i2d_dhp() 55 static void int_dh_free(EVP_PKEY *pkey) in int_dh_free() 60 static int dh_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in dh_pub_decode() 111 static int dh_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dh_pub_encode() 164 static int dh_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in dh_priv_decode() 177 static int dh_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dh_priv_encode() 227 static int dh_param_decode(EVP_PKEY *pkey, in dh_param_decode() 239 static int dh_param_encode(const EVP_PKEY *pkey, unsigned char **pder) in dh_param_encode() 300 static int int_dh_size(const EVP_PKEY *pkey) in int_dh_size() [all …]
|
/freebsd/crypto/openssl/crypto/dsa/ |
H A D | dsa_ameth.c | 29 static int dsa_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in dsa_pub_decode() 87 static int dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dsa_pub_encode() 150 static int dsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in dsa_priv_decode() 163 static int dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dsa_priv_encode() 218 static int int_dsa_size(const EVP_PKEY *pkey) in int_dsa_size() 223 static int dsa_bits(const EVP_PKEY *pkey) in dsa_bits() 228 static int dsa_security_bits(const EVP_PKEY *pkey) in dsa_security_bits() 233 static int dsa_missing_parameters(const EVP_PKEY *pkey) in dsa_missing_parameters() 267 static void int_dsa_free(EVP_PKEY *pkey) in int_dsa_free() 320 static int dsa_param_decode(EVP_PKEY *pkey, in dsa_param_decode() [all …]
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec_ameth.c | 68 static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in eckey_pub_encode() 100 static int eckey_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in eckey_pub_decode() 148 static int eckey_priv_decode_ex(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8, in eckey_priv_decode_ex() 162 static int eckey_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in eckey_priv_encode() 205 static int int_ec_size(const EVP_PKEY *pkey) in int_ec_size() 210 static int ec_bits(const EVP_PKEY *pkey) in ec_bits() 215 static int ec_security_bits(const EVP_PKEY *pkey) in ec_security_bits() 232 static int ec_missing_parameters(const EVP_PKEY *pkey) in ec_missing_parameters() 272 static void int_ec_free(EVP_PKEY *pkey) in int_ec_free() 346 static int eckey_param_decode(EVP_PKEY *pkey, in eckey_param_decode() [all …]
|
H A D | ecx_meth.c | 31 static int ecx_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in ecx_pub_encode() 54 static int ecx_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in ecx_pub_decode() 84 static int ecx_priv_decode_ex(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8, in ecx_priv_decode_ex() 98 static int ecx_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in ecx_priv_encode() 130 static int ecx_size(const EVP_PKEY *pkey) in ecx_size() 135 static int ecx_bits(const EVP_PKEY *pkey) in ecx_bits() 146 static int ecx_security_bits(const EVP_PKEY *pkey) in ecx_security_bits() 155 static void ecx_free(EVP_PKEY *pkey) in ecx_free() 166 static int ecx_key_print(BIO *bp, const EVP_PKEY *pkey, int indent, in ecx_key_print() 203 static int ecx_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in ecx_priv_print() [all …]
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 29 static int rsa_param_encode(const EVP_PKEY *pkey, in rsa_param_encode() 53 static int rsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in rsa_pub_encode() 76 static int rsa_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in rsa_pub_decode() 129 static int old_rsa_priv_decode(EVP_PKEY *pkey, in old_rsa_priv_decode() 140 static int old_rsa_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_rsa_priv_encode() 145 static int rsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in rsa_priv_encode() 173 static int rsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in rsa_priv_decode() 185 static int int_rsa_size(const EVP_PKEY *pkey) in int_rsa_size() 190 static int rsa_bits(const EVP_PKEY *pkey) in rsa_bits() 195 static int rsa_security_bits(const EVP_PKEY *pkey) in rsa_security_bits() [all …]
|
/freebsd/contrib/libfido2/examples/ |
H A D | util.c | 134 EVP_PKEY *pkey = NULL; in read_ec_pubkey() local 166 EVP_PKEY *pkey = NULL; in write_es256_pubkey() local 223 EVP_PKEY *pkey = NULL; in write_es384_pubkey() local 280 EVP_PKEY *pkey = NULL; in read_rsa_pubkey() local 312 EVP_PKEY *pkey = NULL; in write_rs256_pubkey() local 369 EVP_PKEY *pkey = NULL; in read_eddsa_pubkey() local 393 EVP_PKEY *pkey = NULL; in write_eddsa_pubkey() local
|
/freebsd/contrib/libfido2/src/ |
H A D | eddsa.c | 30 EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub, in EVP_PKEY_get_raw_public_key() 126 EVP_PKEY *pkey; in eddsa_pk_from_ptr() local 146 EVP_PKEY *pkey = NULL; in eddsa_pk_to_EVP_PKEY() local 156 eddsa_pk_from_EVP_PKEY(eddsa_pk_t *pk, const EVP_PKEY *pkey) in eddsa_pk_from_EVP_PKEY() 173 eddsa_verify_sig(const fido_blob_t *dgst, EVP_PKEY *pkey, in eddsa_verify_sig() 218 EVP_PKEY *pkey; in eddsa_pk_verify_sig() local
|
H A D | es384.c | 90 EVP_PKEY *pkey; in es384_pk_from_ptr() local 117 EVP_PKEY *pkey = NULL; in es384_pk_to_EVP_PKEY() local 240 es384_pk_from_EVP_PKEY(es384_pk_t *pk, const EVP_PKEY *pkey) in es384_pk_from_EVP_PKEY() 252 es384_verify_sig(const fido_blob_t *dgst, EVP_PKEY *pkey, in es384_verify_sig() 282 EVP_PKEY *pkey; in es384_pk_verify_sig() local
|
H A D | rs256.c | 138 EVP_PKEY *pkey; in rs256_pk_from_ptr() local 159 EVP_PKEY *pkey = NULL; in rs256_pk_to_EVP_PKEY() local 247 rs256_pk_from_EVP_PKEY(rs256_pk_t *pk, const EVP_PKEY *pkey) in rs256_pk_from_EVP_PKEY() 259 rs256_verify_sig(const fido_blob_t *dgst, EVP_PKEY *pkey, in rs256_verify_sig() 302 EVP_PKEY *pkey; in rs256_pk_verify_sig() local
|
H A D | es256.c | 183 EVP_PKEY *pkey; in es256_pk_from_ptr() local 274 EVP_PKEY *pkey = NULL; in es256_pk_to_EVP_PKEY() local 397 es256_pk_from_EVP_PKEY(es256_pk_t *pk, const EVP_PKEY *pkey) in es256_pk_from_EVP_PKEY() 413 EVP_PKEY *pkey = NULL; in es256_sk_to_EVP_PKEY() local 497 es256_verify_sig(const fido_blob_t *dgst, EVP_PKEY *pkey, in es256_verify_sig() 527 EVP_PKEY *pkey; in es256_pk_verify_sig() local
|
/freebsd/crypto/openssl/demos/signature/ |
H A D | EVP_DSA_Signature_demo.c | 90 EVP_PKEY *pkey = NULL; in generate_dsa_key() local 123 static int extract_public_key(const EVP_PKEY *pkey, in extract_public_key() 143 static int extract_keypair(const EVP_PKEY *pkey, in extract_keypair() 172 EVP_PKEY *pkey = NULL; in demo_sign() local 235 EVP_PKEY *pkey = NULL; in demo_verify() local 274 EVP_PKEY *pkey = NULL; in main() local
|
/freebsd/crypto/openssl/demos/pkey/ |
H A D | EVP_PKEY_RSA_keygen.c | 38 EVP_PKEY *pkey = NULL; in generate_rsa_key_long() local 110 EVP_PKEY *pkey = NULL; in generate_rsa_key_short() local 124 static int dump_key(const EVP_PKEY *pkey) in dump_key() 244 EVP_PKEY *pkey = NULL; in main() local
|
/freebsd/crypto/openssl/crypto/pkcs12/ |
H A D | p12_kiss.c | 35 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse() 140 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_pk12() 176 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts, in parse_bags() 191 EVP_PKEY **pkey, STACK_OF(X509) *ocerts, in parse_bag()
|
/freebsd/crypto/openssl/demos/encode/ |
H A D | rsa_encode.c | 32 EVP_PKEY *pkey = NULL; in load_key() local 101 static int store_key(EVP_PKEY *pkey, FILE *f, const char *passphrase) in store_key() 175 EVP_PKEY *pkey = NULL; in main() local
|
H A D | ec_encode.c | 32 EVP_PKEY *pkey = NULL; in load_key() local 101 static int store_key(EVP_PKEY *pkey, FILE *f, const char *passphrase) in store_key() 178 EVP_PKEY *pkey = NULL; in main() local
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_verify.c | 28 char *data, EVP_PKEY *pkey) in ASN1_verify() 89 EVP_PKEY *pkey) in ASN1_item_verify() 96 const ASN1_OCTET_STRING *id, EVP_PKEY *pkey, in ASN1_item_verify_ex() 114 EVP_PKEY *pkey; in ASN1_item_verify_ctx() local
|
H A D | ameth_lib.c | 215 const EVP_PKEY_ASN1_METHOD *EVP_PKEY_get0_asn1(const EVP_PKEY *pkey) in EVP_PKEY_get0_asn1() 287 const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_public() 307 const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_private() 316 void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_param() 320 int (*param_encode) (const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_param() 339 void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_free() 345 void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_ctrl() 365 EVP_PKEY *pkey), in EVP_PKEY_asn1_set_item()
|
/freebsd/contrib/libfido2/tools/ |
H A D | util.c | 220 EVP_PKEY *pkey = NULL; in read_ec_pubkey() local 251 EVP_PKEY *pkey = NULL; in write_es256_pubkey() local 289 EVP_PKEY *pkey = NULL; in write_es384_pubkey() local 328 EVP_PKEY *pkey = NULL; in read_rsa_pubkey() local 359 EVP_PKEY *pkey = NULL; in write_rsa_pubkey() local 398 EVP_PKEY *pkey = NULL; in read_eddsa_pubkey() local 421 EVP_PKEY *pkey = NULL; in write_eddsa_pubkey() local
|
/freebsd/crypto/openssl/test/ |
H A D | evp_extra_test2.c | 377 EVP_PKEY *pkey = NULL; in test_dh_paramgen() local 408 EVP_PKEY *pkey = NULL; in set_fromdata_string() local 424 EVP_PKEY *pkey = NULL; in set_fromdata_uint() local 594 EVP_PKEY *pkey = NULL; in test_d2i_AutoPrivateKey_ex() local 651 EVP_PKEY *pkey = NULL, *pkey_dec = NULL; in test_pkcs8key_nid_bio() local 757 EVP_PKEY *pkey = NULL; in test_d2i_PrivateKey_ex() local 787 EVP_PKEY *pkey = NULL; in test_PEM_read_bio_negative() local 867 EVP_PKEY *pkey = NULL; in do_fromdata_key_is_equal() local 1035 EVP_PKEY *pkey = NULL; in do_check_params() local 1093 EVP_PKEY *pkey = NULL; in test_dsa_todata() local [all …]
|
H A D | ml_dsa_test.c | 31 EVP_PKEY *pkey = NULL; in do_gen_key() local 52 static int ml_dsa_create_keypair(EVP_PKEY **pkey, const char *name, in ml_dsa_create_keypair() 89 EVP_PKEY *pkey = NULL; in ml_dsa_keygen_test() local 125 EVP_PKEY *pkey = NULL; in ml_dsa_siggen_test() local 177 EVP_PKEY *pkey = NULL; in ml_dsa_sigver_test() local 209 EVP_PKEY *pkey = NULL, *pkey_copy = NULL; in ml_dsa_key_dup_test() local 261 EVP_PKEY *pkey = NULL; in from_data_invalid_public_test() local 294 EVP_PKEY *pkey = NULL; in from_data_bad_input_test() local 323 EVP_PKEY *pkey = NULL, *pkey2 = NULL, *pkey3 = NULL, *pkey_pub = NULL; in ml_dsa_keygen_drbg_test() local
|
/freebsd/usr.sbin/pkg/ |
H A D | rsa.c | 48 EVP_PKEY *pkey; in load_public_key_file() local 67 EVP_PKEY *pkey; in load_public_key_buf() local 87 EVP_PKEY *pkey; in rsa_verify_data() local
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_pkey.c | 124 ib_net16_t pkey, pkey_base; in osm_pkey_tbl_set() local 194 IN uint16_t pkey, in osm_pkey_tbl_set_accum_pkeys() 245 IN uint16_t pkey) in osm_pkey_tbl_set_new_entry() 337 IN ib_net16_t pkey, in osm_physp_share_this_pkey() 540 boolean_t osm_physp_has_pkey(IN osm_log_t * p_log, IN ib_net16_t pkey, in osm_physp_has_pkey() 578 void osm_pkey_tbl_set_indx0_pkey(IN osm_log_t * p_log, IN ib_net16_t pkey, in osm_pkey_tbl_set_indx0_pkey()
|