Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c230 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dh_to_text()
237 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in dh_to_text()
305 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dsa_to_text()
312 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in dsa_to_text()
510 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ec_to_text()
517 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ec_to_text()
593 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ecx_to_text()
656 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in rsa_to_text()
670 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in rsa_to_text()
684 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in rsa_to_text()
H A Ddecode_der2key.c154 OSSL_KEYMGMT_SELECT_PRIVATE_KEY, in der2key_check_selection()
214 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in der2key_decode()
596 ( OSSL_KEYMGMT_SELECT_PRIVATE_KEY ), \
632 ( OSSL_KEYMGMT_SELECT_PRIVATE_KEY \
645 ( OSSL_KEYMGMT_SELECT_PRIVATE_KEY ), \
705 ( OSSL_KEYMGMT_SELECT_PRIVATE_KEY \
H A Ddecode_pvk2key.c87 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in pvk2key_does_selection()
108 || (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in pvk2key_decode()
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_msblob2key.c87 if ((selection & (OSSL_KEYMGMT_SELECT_PRIVATE_KEY in msblob2key_does_selection()
146 || (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in msblob2key_decode()
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.c151 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in mac_has()
166 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in mac_match()
238 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in mac_import()
284 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in mac_export()
291 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in mac_export()
313 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in mac_imexport_types()
327 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in cmac_imexport_types()
H A Ddsa_kmgmt.c142 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dsa_has()
171 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in dsa_match()
207 selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in dsa_import()
237 selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in dsa_export()
395 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()
195 selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in rsa_import()
227 selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in rsa_export()
408 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in rsa_validate()
H A Dec_kmgmt.c316 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ec_has()
360 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ec_match()
422 selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in common_import()
477 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ec_export()
500 selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in ec_export()
561 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ec_imexport_types()
923 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in sm2_validate()
969 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ec_validate()
H A Ddh_kmgmt.c141 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dh_has()
170 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in dh_match()
206 selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in dh_import()
237 selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in dh_export()
435 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dh_validate()
H A Decx_kmgmt.c137 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ecx_has()
172 && (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ecx_match()
203 include_private = selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY ? 1 : 0; in ecx_import()
249 int include_private = ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0); in ecx_export()
768 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ecx_validate()
/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/evp/
H A Dpmeth_check.c146 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.c104 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ossl_dsa_dup()
H A Ddsa_ameth.c464 selection |= OSSL_KEYMGMT_SELECT_PRIVATE_KEY; in dsa_pkey_export_to()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_backend.c357 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ossl_rsa_dup()
383 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ossl_rsa_dup()
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_backend.c168 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ossl_dh_dup()
H A Ddh_ameth.c494 selection |= OSSL_KEYMGMT_SELECT_PRIVATE_KEY; in dh_pkey_export_to()
/freebsd/crypto/openssl/crypto/asn1/
H A Dd2i_pr.c61 && evp_keymgmt_util_has(*ppkey, OSSL_KEYMGMT_SELECT_PRIVATE_KEY)) { in d2i_PrivateKey_decoder()
/freebsd/crypto/openssl/crypto/ec/
H A Decx_backend.c142 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in ossl_ecx_key_dup()
/freebsd/crypto/openssl/test/
H A Dtls-provider.c480 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in xor_dup()
503 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in xor_dup()
H A Dfake_rsaprov.c167 if (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) in fake_rsa_keymgmt_export()
/freebsd/crypto/openssl/doc/man7/
H A Dprovider-keymgmt.pod142 =item B<OSSL_KEYMGMT_SELECT_PRIVATE_KEY>
191 This is a combination of B<OSSL_KEYMGMT_SELECT_PRIVATE_KEY> and
305 For example, the combination of B<OSSL_KEYMGMT_SELECT_PRIVATE_KEY> and
/freebsd/crypto/openssl/include/openssl/
H A Dcore_dispatch.h542 # define OSSL_KEYMGMT_SELECT_PRIVATE_KEY 0x01 macro
552 ( OSSL_KEYMGMT_SELECT_PRIVATE_KEY | OSSL_KEYMGMT_SELECT_PUBLIC_KEY )

12