Home
last modified time | relevance | path

Searched refs:OSSL_KEYMGMT_SELECT_PRIVATE_KEY (Results 1 – 25 of 51) sorted by relevance

123

/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c56 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in DEFINE_SPECIAL_STACK_OF_CONST()
63 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in DEFINE_SPECIAL_STACK_OF_CONST()
129 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dsa_to_text()
136 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in dsa_to_text()
332 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ec_to_text()
340 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ec_to_text()
412 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ecx_to_text()
486 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in rsa_to_text()
500 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in rsa_to_text()
516 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in rsa_to_text()
H A Dencode_key2ms.c137 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in key2msblob_encode()
158 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in key2pvk_encode()
H A Ddecode_pvk2key.c113 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in pvk2key_does_selection()
134 || (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in pvk2key_decode()
H A Ddecode_msblob2key.c87 if ((selection & (OSSL_KEYMGMT_SELECT_PRIVATE_KEY | OSSL_KEYMGMT_SELECT_PUBLIC_KEY)) != 0) in msblob2key_does_selection()
143 || (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in msblob2key_decode()
H A Ddecode_der2key.c209 OSSL_KEYMGMT_SELECT_PRIVATE_KEY, in der2key_check_selection()
269 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in der2key_decode()
1033 (OSSL_KEYMGMT_SELECT_PRIVATE_KEY), \
1069 (OSSL_KEYMGMT_SELECT_PRIVATE_KEY \
1082 (OSSL_KEYMGMT_SELECT_PRIVATE_KEY), \
1142 (OSSL_KEYMGMT_SELECT_PRIVATE_KEY \
H A Dencode_key2blob.c62 OSSL_KEYMGMT_SELECT_PRIVATE_KEY, in key2blob_check_selection()
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dmac_legacy_kmgmt.c149 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in mac_has()
164 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in mac_match()
229 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in mac_import()
275 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in mac_export()
282 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in mac_export()
304 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in mac_imexport_types()
318 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in cmac_imexport_types()
H A Dtemplate_kmgmt.c126 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in template_match()
165 int include_private = ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0); in template_export()
226 include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in template_import()
H A Ddsa_kmgmt.c145 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dsa_has()
174 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in dsa_match()
209 int include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in dsa_import()
238 int include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in dsa_export()
396 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dsa_validate()
H A Drsa_kmgmt.c130 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in rsa_has()
159 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in rsa_match()
191 int include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in rsa_import()
221 int include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in rsa_export()
402 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in rsa_validate()
H A Dec_kmgmt.c312 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ec_has()
356 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ec_match()
416 int include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in common_import()
468 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ec_export()
487 int include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in ec_export()
547 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ec_imexport_types()
897 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in sm2_validate()
941 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ec_validate()
H A Ddh_kmgmt.c144 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dh_has()
173 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in dh_match()
208 int include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in dh_import()
238 int include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in dh_export()
438 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dh_validate()
H A Dmlx_kmgmt.c43 | OSSL_KEYMGMT_SELECT_PRIVATE_KEY;
276 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in mlx_kem_export()
468 include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in mlx_kem_import()
559 selection = prv == NULL ? 0 : OSSL_KEYMGMT_SELECT_PRIVATE_KEY; in mlx_kem_get_params()
H A Dml_kem_kmgmt.c55 | OSSL_KEYMGMT_SELECT_PRIVATE_KEY;
254 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0 in ml_kem_export()
266 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ml_kem_export()
475 include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in ml_kem_import()
H A Decx_kmgmt.c152 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ecx_has()
187 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ecx_match()
218 include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in ecx_import()
264 int include_private = ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0); in ecx_export()
976 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ecx_validate()
H A Dslh_dsa_kmgmt.c121 include_priv = ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0); in slh_dsa_import()
160 if (((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in key_to_params()
H A Dml_dsa_kmgmt.c281 include_priv = ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0); in ml_dsa_import()
383 include_private = ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0); in ml_dsa_export()
/freebsd/crypto/openssl/crypto/slh_dsa/
H A Dslh_dsa_key.c169 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ossl_slh_dsa_key_dup()
207 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ossl_slh_dsa_key_equal()
226 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ossl_slh_dsa_key_has()
497 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ossl_slh_dsa_key_to_text()
/freebsd/crypto/openssl/crypto/pem/
H A Dpem_pkey.c79 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in pem_read_bio_key_decoder()
113 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in pem_read_bio_key_legacy()
181 } else if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0 in pem_read_bio_key_legacy()
/freebsd/crypto/openssl/crypto/ml_dsa/
H A Dml_dsa_key.c211 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ossl_ml_dsa_key_dup()
275 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ossl_ml_dsa_key_equal()
295 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ossl_ml_dsa_key_has()
/freebsd/crypto/openssl/test/
H A Dfake_rsaprov.c180 if (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) in fake_rsa_keymgmt_export()
900 OSSL_KEYMGMT_SELECT_PRIVATE_KEY, in der2key_check_selection()
959 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in fake_rsa_der2key_decode()
1100 (OSSL_KEYMGMT_SELECT_PRIVATE_KEY), \
/freebsd/crypto/openssl/crypto/evp/
H A Dpmeth_check.c148 if ((ok = try_provided_check(ctx, OSSL_KEYMGMT_SELECT_PRIVATE_KEY, in EVP_PKEY_private_check()
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_backend.c102 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ossl_dsa_dup()
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_backend.c161 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ossl_dh_dup()
/freebsd/crypto/openssl/crypto/ec/
H A Decx_backend.c134 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ossl_ecx_key_dup()

123