Home
last modified time | relevance | path

Searched refs:param_pub_key (Results 1 – 6 of 6) sorted by relevance

/openssl/crypto/ec/
H A Decx_backend.c59 const OSSL_PARAM *param_priv_key = NULL, *param_pub_key; in ossl_ecx_key_fromdata() local
65 param_pub_key = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY); in ossl_ecx_key_fromdata()
70 if (param_pub_key == NULL && param_priv_key == NULL) in ossl_ecx_key_fromdata()
92 if (param_pub_key != NULL in ossl_ecx_key_fromdata()
93 && !OSSL_PARAM_get_octet_string(param_pub_key, in ossl_ecx_key_fromdata()
98 if ((param_pub_key != NULL && pubkeylen != ecx->keylen)) in ossl_ecx_key_fromdata()
101 if (param_pub_key == NULL && !ossl_ecx_public_from_private(ecx)) in ossl_ecx_key_fromdata()
H A Dec_backend.c398 const OSSL_PARAM *param_priv_key = NULL, *param_pub_key = NULL; in ossl_ec_key_fromdata() local
411 param_pub_key = in ossl_ec_key_fromdata()
421 if (param_pub_key != NULL) in ossl_ec_key_fromdata()
422 if (!OSSL_PARAM_get_octet_string(param_pub_key, in ossl_ec_key_fromdata()
/openssl/crypto/dsa/
H A Ddsa_backend.c33 const OSSL_PARAM *param_priv_key = NULL, *param_pub_key; in ossl_dsa_key_fromdata() local
43 param_pub_key = in ossl_dsa_key_fromdata()
47 if (param_priv_key == NULL && param_pub_key == NULL) in ossl_dsa_key_fromdata()
50 if (param_pub_key != NULL && !OSSL_PARAM_get_BN(param_pub_key, &pub_key)) in ossl_dsa_key_fromdata()
/openssl/crypto/dh/
H A Ddh_backend.c62 const OSSL_PARAM *param_priv_key, *param_pub_key; in ossl_dh_key_fromdata() local
69 param_pub_key = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY); in ossl_dh_key_fromdata()
76 if (param_pub_key != NULL in ossl_dh_key_fromdata()
77 && !OSSL_PARAM_get_BN(param_pub_key, &pub_key)) in ossl_dh_key_fromdata()
/openssl/providers/implementations/keymgmt/
H A Dtemplate_kmgmt.c187 const OSSL_PARAM *param_priv_key = NULL, *param_pub_key; in ossl_template_key_fromdata() local
196 param_pub_key = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY); in ossl_template_key_fromdata()
201 if (param_pub_key == NULL && param_priv_key == NULL) in ossl_template_key_fromdata()
208 if (param_pub_key != NULL) { in ossl_template_key_fromdata()
/openssl/test/
H A Dtls-provider.c1002 const OSSL_PARAM *param_priv_key, *param_pub_key; in xor_import() local
1015 param_pub_key = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY); in xor_import()
1020 || (param_pub_key != NULL in xor_import()
1021 && !OSSL_PARAM_get_octet_string(param_pub_key, &ppubkey, in xor_import()

Completed in 26 milliseconds