Home
last modified time | relevance | path

Searched refs:EVP_PKEY_assign (Results 1 – 21 of 21) sorted by relevance

/third_party/openssl/crypto/ec/
Decx_meth.c70 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, ecx); in ecx_pub_decode()
94 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, ecx); in ecx_priv_decode_ex()
226 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, ecx); in ecx_ctrl()
274 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, ecx); in ecx_set_priv_key()
292 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, ecx); in ecx_set_pub_key()
400 || !EVP_PKEY_assign(pkey, keytype, ecx)) { in ecx_generic_import_from()
418 ret = EVP_PKEY_assign(to, from->type, dupkey); in ecx_pkey_copy()
718 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, ecx); in pkey_ecx_keygen()
970 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, key); in s390x_pkey_ecx_keygen25519()
1012 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, key); in s390x_pkey_ecx_keygen448()
[all …]
/third_party/openssl/crypto/dh/
Ddh_ameth.c102 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, dh); in dh_pub_decode()
171 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, dh); in dh_priv_decode()
235 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, dh); in dh_param_decode()
525 || !EVP_PKEY_assign(pkey, type, dh)) { in dh_pkey_import_from_type()
554 ret = EVP_PKEY_assign(to, from->type, dupkey); in dh_pkey_copy()
Ddh_pmeth.c340 EVP_PKEY_assign(pkey, type, dh); in pkey_dh_paramgen()
358 EVP_PKEY_assign(pkey, EVP_PKEY_DHX, dh); in pkey_dh_paramgen()
391 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, dh); in pkey_dh_keygen()
/third_party/openssl/crypto/rsa/
Drsa_ameth.c102 if (!EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, rsa)) { in rsa_pub_decode()
133 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, rsa); in old_rsa_priv_decode()
177 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, rsa); in rsa_priv_decode()
847 ok = EVP_PKEY_assign(pkey, EVP_PKEY_RSA_PSS, rsa); in rsa_int_import_from()
895 ret = EVP_PKEY_assign(to, from->type, dupkey); in rsa_pkey_copy()
Drsa_pmeth.c776 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, rsa); in pkey_rsa_keygen()
/third_party/openssl/crypto/x509/
Dx_pubkey.c717 (void)EVP_PKEY_assign(pktmp, EVP_PKEY_DHX, (DH *)a); in ossl_i2d_DHx_PUBKEY()
845 (void)EVP_PKEY_assign(pktmp, EVP_PKEY_ED25519, (ECX_KEY *)a); in ossl_i2d_ED25519_PUBKEY()
887 (void)EVP_PKEY_assign(pktmp, EVP_PKEY_ED448, (ECX_KEY *)a); in ossl_i2d_ED448_PUBKEY()
929 (void)EVP_PKEY_assign(pktmp, EVP_PKEY_X25519, (ECX_KEY *)a); in ossl_i2d_X25519_PUBKEY()
971 (void)EVP_PKEY_assign(pktmp, EVP_PKEY_X448, (ECX_KEY *)a); in ossl_i2d_X448_PUBKEY()
/third_party/openssl/test/
Dendecoder_legacy_test.c343 || !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type, in test_protected_PEM()
410 || !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type, in test_unprotected_PEM()
481 || !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type, in test_DER()
/third_party/openssl/ohos_lite/include/openssl/
Devp.h409 # define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
414 # define EVP_PKEY_assign_DSA(pkey,dsa) EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\
419 # define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,\
424 # define EVP_PKEY_assign_EC_KEY(pkey,eckey) EVP_PKEY_assign((pkey),EVP_PKEY_EC,\
428 # define EVP_PKEY_assign_SIPHASH(pkey,shkey) EVP_PKEY_assign((pkey),EVP_PKEY_SIPHASH,\
433 # define EVP_PKEY_assign_POLY1305(pkey,polykey) EVP_PKEY_assign((pkey),EVP_PKEY_POLY1305,\
1004 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
/third_party/rust/crates/rust-openssl/openssl/src/
Dpkey.rs409 cvt(ffi::EVP_PKEY_assign( in from_rsa()
425 cvt(ffi::EVP_PKEY_assign( in from_dsa()
441 cvt(ffi::EVP_PKEY_assign( in from_dh()
457 cvt(ffi::EVP_PKEY_assign( in from_ec_key()
/third_party/openssl/doc/man3/
DEVP_PKEY_set_type.pod55 L<EVP_PKEY_assign(3)>, L<EVP_PKEY_get_id(3)>, L<EVP_PKEY_get0_RSA(3)>,
DEVP_PKEY_set1_RSA.pod113 or EVP_PKEY_set1_EC_KEY(), or via the similarly named B<EVP_PKEY_assign> macros
DEVP_PKEY_ASN1_METHOD.pod254 L<EVP_PKEY_set_type_str(3)>, and L<EVP_PKEY_assign(3)>.
/third_party/openssl/include/openssl/
Devp.h496 # define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
501 # define EVP_PKEY_assign_DSA(pkey,dsa) EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\
506 # define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh))
512 EVP_PKEY_assign((pkey), EVP_PKEY_EC, (eckey))
516 # define EVP_PKEY_assign_SIPHASH(pkey,shkey) EVP_PKEY_assign((pkey),\
521 # define EVP_PKEY_assign_POLY1305(pkey,polykey) EVP_PKEY_assign((pkey),\
1328 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
/third_party/openssl/crypto/engine/
Deng_openssl.c518 EVP_PKEY_assign(pkey, EVP_PKEY_HMAC, hkey); in ossl_hmac_keygen()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Devp.rs437 pub fn EVP_PKEY_assign(pkey: *mut EVP_PKEY, typ: c_int, key: *mut c_void) -> c_int; in EVP_PKEY_assign() function
/third_party/openssl/util/
Dmissingcrypto.txt652 EVP_PKEY_assign(3)
Dmissingcrypto111.txt685 EVP_PKEY_assign(3)
Dlibcrypto.num2604 EVP_PKEY_assign 2662 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0
/third_party/openssl/crypto/evp/
Dp_lib.c748 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key) in EVP_PKEY_assign() function
936 ret = EVP_PKEY_assign(pkey, type, dhkey); in IMPLEMENT_ECX_VARIANT()
/third_party/openssl/doc/man7/
Dmigration_guide.pod1771 EVP_PKEY_assign(), EVP_PKEY_set1_DH(), EVP_PKEY_set1_DSA(),
/third_party/openssl/
DCHANGES.md869 including EVP_PKEY_set1_engine(), EVP_PKEY_get0_engine(), EVP_PKEY_assign(),