/third_party/openssl/crypto/evp/ |
D | p_lib.c | 53 static int pkey_set_type(EVP_PKEY *pkey, ENGINE *e, int type, const char *str, 62 int EVP_PKEY_get_bits(const EVP_PKEY *pkey) in EVP_PKEY_get_bits() argument 66 if (pkey != NULL) { in EVP_PKEY_get_bits() 67 size = pkey->cache.bits; in EVP_PKEY_get_bits() 68 if (pkey->ameth != NULL && pkey->ameth->pkey_bits != NULL) in EVP_PKEY_get_bits() 69 size = pkey->ameth->pkey_bits(pkey); in EVP_PKEY_get_bits() 74 int EVP_PKEY_get_security_bits(const EVP_PKEY *pkey) in EVP_PKEY_get_security_bits() argument 78 if (pkey != NULL) { in EVP_PKEY_get_security_bits() 79 size = pkey->cache.security_bits; in EVP_PKEY_get_security_bits() 80 if (pkey->ameth != NULL && pkey->ameth->pkey_security_bits != NULL) in EVP_PKEY_get_security_bits() [all …]
|
D | pmeth_check.c | 37 keydata = evp_pkey_export_to_provider(ctx->pkey, ctx->libctx, in try_provided_check() 49 EVP_PKEY *pkey = ctx->pkey; in evp_pkey_public_check_combined() local 52 if (pkey == NULL) { in evp_pkey_public_check_combined() 61 if (pkey->type == EVP_PKEY_NONE) in evp_pkey_public_check_combined() 68 return ctx->pmeth->public_check(pkey); in evp_pkey_public_check_combined() 71 if (pkey->ameth == NULL || pkey->ameth->pkey_public_check == NULL) in evp_pkey_public_check_combined() 74 return pkey->ameth->pkey_public_check(pkey); in evp_pkey_public_check_combined() 93 EVP_PKEY *pkey = ctx->pkey; in evp_pkey_param_check_combined() local 96 if (pkey == NULL) { in evp_pkey_param_check_combined() 106 if (pkey->type == EVP_PKEY_NONE) in evp_pkey_param_check_combined() [all …]
|
D | p_legacy.c | 25 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) in EVP_PKEY_set1_RSA() argument 27 int ret = EVP_PKEY_assign_RSA(pkey, key); in EVP_PKEY_set1_RSA() 34 RSA *evp_pkey_get0_RSA_int(const EVP_PKEY *pkey) in evp_pkey_get0_RSA_int() argument 36 if (pkey->type != EVP_PKEY_RSA && pkey->type != EVP_PKEY_RSA_PSS) { in evp_pkey_get0_RSA_int() 40 return evp_pkey_get_legacy((EVP_PKEY *)pkey); in evp_pkey_get0_RSA_int() 43 const RSA *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey) in EVP_PKEY_get0_RSA() argument 45 return evp_pkey_get0_RSA_int(pkey); in EVP_PKEY_get0_RSA() 48 RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey) in EVP_PKEY_get1_RSA() argument 50 RSA *ret = evp_pkey_get0_RSA_int(pkey); in EVP_PKEY_get1_RSA() 58 int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) in EVP_PKEY_set1_EC_KEY() argument [all …]
|
D | evp_pkey.c | 27 EVP_PKEY *pkey = NULL; in evp_pkcs82pkey_legacy() local 34 if ((pkey = EVP_PKEY_new()) == NULL) { in evp_pkcs82pkey_legacy() 39 if (!EVP_PKEY_set_type(pkey, OBJ_obj2nid(algoid))) { in evp_pkcs82pkey_legacy() 46 if (pkey->ameth->priv_decode_ex != NULL) { in evp_pkcs82pkey_legacy() 47 if (!pkey->ameth->priv_decode_ex(pkey, p8, libctx, propq)) in evp_pkcs82pkey_legacy() 49 } else if (pkey->ameth->priv_decode != NULL) { in evp_pkcs82pkey_legacy() 50 if (!pkey->ameth->priv_decode(pkey, p8)) { in evp_pkcs82pkey_legacy() 59 return pkey; in evp_pkcs82pkey_legacy() 62 EVP_PKEY_free(pkey); in evp_pkcs82pkey_legacy() 69 EVP_PKEY *pkey = NULL; in EVP_PKCS82PKEY_ex() local [all …]
|
/third_party/openssl/crypto/dh/ |
D | dh_ameth.c | 34 static DH *d2i_dhp(const EVP_PKEY *pkey, const unsigned char **pp, in d2i_dhp() argument 38 int is_dhx = (pkey->ameth == &ossl_dhx_asn1_meth); in d2i_dhp() 48 static int i2d_dhp(const EVP_PKEY *pkey, const DH *a, unsigned char **pp) in i2d_dhp() argument 50 if (pkey->ameth == &ossl_dhx_asn1_meth) in i2d_dhp() 55 static void int_dh_free(EVP_PKEY *pkey) in int_dh_free() argument 57 DH_free(pkey->pkey.dh); in int_dh_free() 60 static int dh_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in dh_pub_decode() argument 85 if ((dh = d2i_dhp(pkey, &pm, pmlen)) == NULL) { in dh_pub_decode() 102 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, dh); in dh_pub_decode() 111 static int dh_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dh_pub_encode() argument [all …]
|
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
D | ssl_pkey.c | 28 EVP_PKEY *pkey; in __EVP_PKEY_new() local 30 pkey = ssl_mem_zalloc(sizeof(EVP_PKEY)); in __EVP_PKEY_new() 31 if (!pkey) { in __EVP_PKEY_new() 37 pkey->method = ipk->method; in __EVP_PKEY_new() 39 pkey->method = EVP_PKEY_method(); in __EVP_PKEY_new() 42 ret = EVP_PKEY_METHOD_CALL(new, pkey, ipk, rngctx); in __EVP_PKEY_new() 48 return pkey; in __EVP_PKEY_new() 51 ssl_mem_free(pkey); in __EVP_PKEY_new() 67 void EVP_PKEY_free(EVP_PKEY *pkey) in EVP_PKEY_free() argument 69 SSL_ASSERT3(pkey); in EVP_PKEY_free() [all …]
|
/third_party/openssl/crypto/ec/ |
D | ec_ameth.c | 68 static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in eckey_pub_encode() argument 70 const EC_KEY *ec_key = pkey->pkey.ec; in eckey_pub_encode() 100 static int eckey_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in eckey_pub_decode() argument 123 EVP_PKEY_assign_EC_KEY(pkey, eckey); in eckey_pub_decode() 134 const EC_GROUP *group = EC_KEY_get0_group(b->pkey.ec); in eckey_pub_cmp() 135 const EC_POINT *pa = EC_KEY_get0_public_key(a->pkey.ec), in eckey_pub_cmp() 136 *pb = EC_KEY_get0_public_key(b->pkey.ec); in eckey_pub_cmp() 148 static int eckey_priv_decode_ex(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8, in eckey_priv_decode_ex() argument 156 EVP_PKEY_assign_EC_KEY(pkey, eckey); in eckey_priv_decode_ex() 162 static int eckey_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in eckey_priv_encode() argument [all …]
|
D | ecx_meth.c | 31 static int ecx_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in ecx_pub_encode() argument 33 const ECX_KEY *ecxkey = pkey->pkey.ecx; in ecx_pub_encode() 41 penc = OPENSSL_memdup(ecxkey->pubkey, KEYLEN(pkey)); in ecx_pub_encode() 47 if (!X509_PUBKEY_set0_param(pk, OBJ_nid2obj(pkey->ameth->pkey_id), in ecx_pub_encode() 48 V_ASN1_UNDEF, NULL, penc, KEYLEN(pkey))) { in ecx_pub_encode() 56 static int ecx_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in ecx_pub_decode() argument 66 ecx = ossl_ecx_key_op(palg, p, pklen, pkey->ameth->pkey_id, in ecx_pub_decode() 70 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, ecx); in ecx_pub_decode() 77 const ECX_KEY *akey = a->pkey.ecx; in ecx_pub_cmp() 78 const ECX_KEY *bkey = b->pkey.ecx; in ecx_pub_cmp() [all …]
|
/third_party/openssl/crypto/dsa/ |
D | dsa_ameth.c | 29 static int dsa_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in dsa_pub_decode() argument 77 EVP_PKEY_assign_DSA(pkey, dsa); in dsa_pub_decode() 87 static int dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dsa_pub_encode() argument 97 dsa = pkey->pkey.dsa; in dsa_pub_encode() 98 if (pkey->save_parameters in dsa_pub_encode() 150 static int dsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in dsa_priv_decode() argument 157 EVP_PKEY_assign_DSA(pkey, dsa); in dsa_priv_decode() 163 static int dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dsa_priv_encode() argument 170 if (pkey->pkey.dsa == NULL|| pkey->pkey.dsa->priv_key == NULL) { in dsa_priv_encode() 182 params->length = i2d_DSAparams(pkey->pkey.dsa, ¶ms->data); in dsa_priv_encode() [all …]
|
/third_party/mbedtls/programs/ |
D | Makefile | 85 pkey/dh_client \ 86 pkey/dh_genprime \ 87 pkey/dh_server \ 88 pkey/ecdh_curve25519 \ 89 pkey/ecdsa \ 90 pkey/gen_key \ 91 pkey/key_app \ 92 pkey/key_app_writer \ 93 pkey/mpi_demo \ 94 pkey/pk_decrypt \ [all …]
|
D | .gitignore | 21 pkey/dh_client 22 pkey/dh_genprime 23 pkey/dh_server 24 pkey/ecdh_curve25519 25 pkey/ecdsa 26 pkey/gen_key 27 pkey/key_app 28 pkey/key_app_writer 29 pkey/mpi_demo 30 pkey/pk_decrypt [all …]
|
D | README.md | 20 * [`pkey/gen_key.c`](pkey/gen_key.c): generates a key for any of the supported public-key algorithm… 22 * [`pkey/key_app.c`](pkey/key_app.c): loads a PEM or DER public key or private key file and dumps i… 24 * [`pkey/key_app_writer.c`](pkey/key_app_writer.c): loads a PEM or DER public key or private key fi… 26 * [`pkey/pk_encrypt.c`](pkey/pk_encrypt.c), [`pkey/pk_decrypt.c`](pkey/pk_decrypt.c): loads a PEM o… 28 * [`pkey/pk_sign.c`](pkey/pk_sign.c), [`pkey/pk_verify.c`](pkey/pk_verify.c): loads a PEM or DER pr… 32 * [`pkey/ecdsa.c`](pkey/ecdsa.c): generates an ECDSA key, signs a fixed message and verifies the si… 34 * [`pkey/rsa_encrypt.c`](pkey/rsa_encrypt.c), [`pkey/rsa_decrypt.c`](pkey/rsa_decrypt.c): loads an … 36 * [`pkey/rsa_genkey.c`](pkey/rsa_genkey.c): generates an RSA key and writes it to a file that can b… 38 * [`pkey/rsa_sign.c`](pkey/rsa_sign.c), [`pkey/rsa_verify.c`](pkey/rsa_verify.c): loads an RSA priv… 40 * [`pkey/rsa_sign_pss.c`](pkey/rsa_sign_pss.c), [`pkey/rsa_verify_pss.c`](pkey/rsa_verify_pss.c): l… [all …]
|
/third_party/openssl/crypto/x509/ |
D | x_pubkey.c | 35 EVP_PKEY *pkey; member 92 EVP_PKEY_free(pubkey->pkey); in x509_pubkey_ex_free() 161 EVP_PKEY_free(pubkey->pkey); in x509_pubkey_ex_d2i_ex() 162 pubkey->pkey = NULL; in x509_pubkey_ex_d2i_ex() 175 if ((ret = x509_pubkey_decode(&pubkey->pkey, pubkey)) == -1) { in x509_pubkey_ex_d2i_ex() 208 OSSL_DECODER_CTX_new_for_pkey(&pubkey->pkey, in x509_pubkey_ex_d2i_ex() 300 if (a->pkey != NULL) { in X509_PUBKEY_dup() 302 pubkey->pkey = EVP_PKEY_dup(a->pkey); in X509_PUBKEY_dup() 303 if (pubkey->pkey == NULL) { in X509_PUBKEY_dup() 305 if (x509_pubkey_decode(&pubkey->pkey, pubkey) <= 0) { in X509_PUBKEY_dup() [all …]
|
/third_party/openssl/crypto/rsa/ |
D | rsa_ameth.c | 29 static int rsa_param_encode(const EVP_PKEY *pkey, in rsa_param_encode() argument 32 const RSA *rsa = pkey->pkey.rsa; in rsa_param_encode() 53 static int rsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in rsa_pub_encode() argument 60 if (!rsa_param_encode(pkey, &str, &strtype)) in rsa_pub_encode() 62 penclen = i2d_RSAPublicKey(pkey->pkey.rsa, &penc); in rsa_pub_encode() 65 if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(pkey->ameth->pkey_id), in rsa_pub_encode() 73 static int rsa_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in rsa_pub_decode() argument 90 switch (pkey->ameth->pkey_id) { in rsa_pub_decode() 102 if (!EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, rsa)) { in rsa_pub_decode() 115 if (((RSA_flags(a->pkey.rsa) & RSA_METHOD_FLAG_NO_CHECK)) in rsa_pub_cmp() [all …]
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_kiss.c | 18 EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 21 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 24 EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 33 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse() argument 39 if (pkey != NULL) in PKCS12_parse() 40 *pkey = NULL; in PKCS12_parse() 82 if (!parse_pk12(p12, pass, -1, pkey, ocerts)) { in PKCS12_parse() 93 if (pkey != NULL && *pkey != NULL in PKCS12_parse() 98 match = X509_check_private_key(x, *pkey); in PKCS12_parse() 119 if (pkey != NULL) { in PKCS12_parse() [all …]
|
/third_party/openssl/demos/pkey/ |
D | EVP_PKEY_RSA_keygen.c | 38 EVP_PKEY *pkey = NULL; in generate_rsa_key_long() local 87 if (EVP_PKEY_generate(genctx, &pkey) <= 0) { in generate_rsa_key_long() 96 return pkey; in generate_rsa_key_long() 110 EVP_PKEY *pkey = NULL; in generate_rsa_key_short() local 113 pkey = EVP_PKEY_Q_keygen(libctx, propq, "RSA", (size_t)bits); in generate_rsa_key_short() 115 if (pkey == NULL) in generate_rsa_key_short() 118 return pkey; in generate_rsa_key_short() 124 static int dump_key(const EVP_PKEY *pkey) in dump_key() argument 137 if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_N, &n) == 0) { in dump_key() 146 if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_E, &e) == 0) { in dump_key() [all …]
|
/third_party/openssl/test/ |
D | evp_extra_test2.c | 404 EVP_PKEY *pkey = NULL; in test_d2i_AutoPrivateKey_ex() local 414 if (!TEST_ptr(pkey = d2i_AutoPrivateKey_ex(NULL, &p, input_len, mainctx, in test_d2i_AutoPrivateKey_ex() 417 || !TEST_int_eq(EVP_PKEY_get_id(pkey), expected_id)) in test_d2i_AutoPrivateKey_ex() 421 if (!TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_D, in test_d2i_AutoPrivateKey_ex() 428 if (!TEST_true(EVP_PKEY_get_octet_string_param(pkey, in test_d2i_AutoPrivateKey_ex() 434 if (!TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_PRIV_KEY, in test_d2i_AutoPrivateKey_ex() 440 if (!TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_FFC_P, &p_bn)) in test_d2i_AutoPrivateKey_ex() 441 || !TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_FFC_G, in test_d2i_AutoPrivateKey_ex() 451 EVP_PKEY_free(pkey); in test_d2i_AutoPrivateKey_ex() 461 EVP_PKEY *pkey = NULL, *pkey_dec = NULL; in test_pkcs8key_nid_bio() local [all …]
|
D | evp_extra_test.c | 589 EVP_PKEY *pkey = NULL; in load_example_key() local 591 OSSL_DECODER_CTX_new_for_pkey(&pkey, "DER", NULL, keytype, 0, in load_example_key() 597 return pkey; in load_example_key() 648 EVP_PKEY *pkey = NULL; in load_example_hmac_key() local 655 pkey = EVP_PKEY_new_raw_private_key_ex(testctx, "HMAC", in load_example_hmac_key() 657 if (!TEST_ptr(pkey)) in load_example_hmac_key() 660 return pkey; in load_example_hmac_key() 696 EVP_PKEY *tmp_pkey = NULL, *pkey = NULL; in make_key_fromdata() local 708 pkey = tmp_pkey; in make_key_fromdata() 713 return pkey; in make_key_fromdata() [all …]
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
D | pkcs12.rs | 12 use crate::pkey::{HasPrivate, PKey, PKeyRef, Private}; 42 pkey: parsed.pkey.unwrap(), in parse() 54 let mut pkey = ptr::null_mut(); in parse2() localVariable 61 &mut pkey, in parse2() 66 let pkey = PKey::from_ptr_opt(pkey); in parse2() localVariable 70 Ok(ParsedPkcs12_2 { pkey, cert, ca }) in parse2() 98 pkey: None, in builder() 113 pub pkey: PKey<Private>, field 119 pub pkey: Option<PKey<Private>>, field 127 pkey: Option<PKey<Private>>, field [all …]
|
D | pkey.rs | 408 let pkey = PKey::from_ptr(evp); in from_rsa() localVariable 410 pkey.0, in from_rsa() 415 Ok(pkey) in from_rsa() 424 let pkey = PKey::from_ptr(evp); in from_dsa() localVariable 426 pkey.0, in from_dsa() 431 Ok(pkey) in from_dsa() 440 let pkey = PKey::from_ptr(evp); in from_dh() localVariable 442 pkey.0, in from_dh() 447 Ok(pkey) in from_dh() 456 let pkey = PKey::from_ptr(evp); in from_ec_key() localVariable [all …]
|
/third_party/openssl/crypto/asn1/ |
D | a_verify.c | 28 char *data, EVP_PKEY *pkey) in ASN1_verify() argument 76 (unsigned int)signature->length, pkey) <= 0) { in ASN1_verify() 91 EVP_PKEY *pkey) in ASN1_item_verify() argument 93 return ASN1_item_verify_ex(it, alg, signature, data, NULL, pkey, NULL, NULL); in ASN1_item_verify() 98 const ASN1_OCTET_STRING *id, EVP_PKEY *pkey, in ASN1_item_verify_ex() argument 104 if ((ctx = evp_md_ctx_new_ex(pkey, id, libctx, propq)) != NULL) { in ASN1_item_verify_ex() 116 EVP_PKEY *pkey; in ASN1_item_verify_ctx() local 122 pkey = EVP_PKEY_CTX_get0_pkey(EVP_MD_CTX_get_pkey_ctx(ctx)); in ASN1_item_verify_ctx() 124 if (pkey == NULL) { in ASN1_item_verify_ctx() 140 if (mdnid == NID_undef && evp_pkey_is_legacy(pkey)) { in ASN1_item_verify_ctx() [all …]
|
/third_party/openssl/demos/encode/ |
D | ec_encode.c | 32 EVP_PKEY *pkey = NULL; in load_key() local 46 dctx = OSSL_DECODER_CTX_new_for_pkey(&pkey, "PEM", NULL, "EC", in load_key() 88 EVP_PKEY_free(pkey); in load_key() 89 pkey = NULL; in load_key() 92 return pkey; in load_key() 101 static int store_key(EVP_PKEY *pkey, FILE *f, const char *passphrase) in store_key() argument 125 ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey, selection, "PEM", NULL, propq); in store_key() 178 EVP_PKEY *pkey = NULL; in main() local 189 pkey = load_key(libctx, stdin, passphrase_in); in main() 190 if (pkey == NULL) { in main() [all …]
|
/third_party/openssl/doc/man3/ |
D | EVP_PKEY_set1_RSA.pod | 20 int EVP_PKEY_get_id(const EVP_PKEY *pkey); 21 int EVP_PKEY_get_base_id(const EVP_PKEY *pkey); 31 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key); 32 int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key); 33 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, DH *key); 34 int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key); 36 RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); 37 DSA *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); 38 DH *EVP_PKEY_get1_DH(EVP_PKEY *pkey); 39 EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); [all …]
|
/third_party/openssl/providers/implementations/encode_decode/ |
D | encode_key2ms.c | 39 EVP_PKEY *pkey, int ispub) in write_msblob() argument 46 ret = ispub ? i2b_PublicKey_bio(out, pkey) : i2b_PrivateKey_bio(out, pkey); in write_msblob() 53 EVP_PKEY *pkey) in write_pvk() argument 62 ret = i2b_PVK_bio_ex(out, pkey, ctx->pvk_encr_level, in write_pvk() 134 EVP_PKEY *pkey = NULL; in key2msblob_encode() local 144 if ((pkey = EVP_PKEY_new()) != NULL && set1_key(pkey, key)) in key2msblob_encode() 145 ok = write_msblob(ctx, cout, pkey, ispub); in key2msblob_encode() 146 EVP_PKEY_free(pkey); in key2msblob_encode() 155 EVP_PKEY *pkey = NULL; in key2pvk_encode() local 161 if ((pkey = EVP_PKEY_new()) != NULL && set1_key(pkey, key) in key2pvk_encode() [all …]
|
/third_party/openssl/include/openssl/ |
D | evp.h | 496 # define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\ argument 501 # define EVP_PKEY_assign_DSA(pkey,dsa) EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\ argument 506 # define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh)) argument 511 # define EVP_PKEY_assign_EC_KEY(pkey,eckey) \ argument 512 EVP_PKEY_assign((pkey), EVP_PKEY_EC, (eckey)) 516 # define EVP_PKEY_assign_SIPHASH(pkey,shkey) EVP_PKEY_assign((pkey),\ argument 521 # define EVP_PKEY_assign_POLY1305(pkey,polykey) EVP_PKEY_assign((pkey),\ argument 801 EVP_PKEY *pkey); 803 EVP_PKEY *pkey, OSSL_LIB_CTX *libctx, 811 unsigned int siglen, EVP_PKEY *pkey); [all …]
|