Home
last modified time | relevance | path

Searched refs:OSSL_KEYMGMT_SELECT_PUBLIC_KEY (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c232 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dh_to_text()
307 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_to_text()
512 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_to_text()
603 } else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ecx_to_text()
660 } else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in rsa_to_text()
H A Ddecode_msblob2key.c88 | OSSL_KEYMGMT_SELECT_PUBLIC_KEY)) != 0) in msblob2key_does_selection()
160 || (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in msblob2key_decode()
H A Ddecode_der2key.c151 OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in der2key_check_selection()
226 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in der2key_decode()
565 ( OSSL_KEYMGMT_SELECT_PUBLIC_KEY ), \
638 ( OSSL_KEYMGMT_SELECT_PUBLIC_KEY ), \
H A Dencode_key2blob.c63 OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in key2blob_check_selection()
H A Dencode_key2ms.c139 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in key2msblob_encode()
/freebsd/crypto/openssl/test/
H A Dendecoder_legacy_test.c549 OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_key()
588 OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_key()
624 OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_key()
661 OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_key()
H A Dtls-provider.c472 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in xor_has()
489 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in xor_dup()
H A Dendecode_test.c822 OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_public_via_DER()
844 OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_public_via_PEM()
866 return test_encode_decode(__FILE__, __LINE__, type, key, OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_public_via_MSBLOB()
/freebsd/crypto/openssl/crypto/pem/
H A Dpem_pkey.c80 selection = selection & ~OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in pem_read_bio_key_decoder()
123 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in pem_read_bio_key_legacy()
182 && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in pem_read_bio_key_legacy()
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c314 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_has()
350 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ec_match()
478 && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) == 0) in ec_export()
563 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_imexport_types()
916 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in sm2_validate()
962 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ec_validate()
H A Drsa_kmgmt.c128 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in rsa_has()
149 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in rsa_match()
410 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in rsa_validate()
H A Ddsa_kmgmt.c140 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_has()
161 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in dsa_match()
392 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_validate()
H A Decx_kmgmt.c134 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ecx_has()
157 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ecx_match()
765 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ecx_validate()
H A Ddh_kmgmt.c139 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dh_has()
160 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in dh_match()
432 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dh_validate()
/freebsd/crypto/openssl/crypto/evp/
H A Dpmeth_check.c57 if ((ok = try_provided_check(ctx, OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in evp_pkey_public_check_combined()
H A Dp_lib.c345 if (evp_keymgmt_util_has((EVP_PKEY *)a, OSSL_KEYMGMT_SELECT_PUBLIC_KEY) in EVP_PKEY_eq()
346 && evp_keymgmt_util_has((EVP_PKEY *)b, OSSL_KEYMGMT_SELECT_PUBLIC_KEY)) in EVP_PKEY_eq()
347 selection |= OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in EVP_PKEY_eq()
539 } else if (raw_key->selection == OSSL_KEYMGMT_SELECT_PUBLIC_KEY) { in get_raw_key_details()
590 raw_key.selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in EVP_PKEY_get_raw_public_key()
592 return evp_keymgmt_util_export(pkey, OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in EVP_PKEY_get_raw_public_key()
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_backend.c99 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0 in ossl_dsa_dup()
/freebsd/crypto/openssl/crypto/store/
H A Dstore_result.c278 OSSL_KEYMGMT_SELECT_PUBLIC_KEY in try_key_value()
441 OSSL_KEYMGMT_SELECT_PUBLIC_KEY)) in try_key()
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_backend.c163 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0 in ossl_dh_dup()
/freebsd/crypto/openssl/apps/
H A Ddsa.c255 selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in dsa_main()
H A Dec.c252 | OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in ec_main()
H A Drsa.c339 selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in rsa_main()
/freebsd/crypto/openssl/crypto/ec/
H A Decx_backend.c136 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0 in ossl_ecx_key_dup()
/freebsd/crypto/openssl/doc/man7/
H A Dprovider-keymgmt.pod147 =item B<OSSL_KEYMGMT_SELECT_PUBLIC_KEY>
192 B<OSSL_KEYMGMT_SELECT_PUBLIC_KEY>.
306 B<OSSL_KEYMGMT_SELECT_PUBLIC_KEY> (or B<OSSL_KEYMGMT_SELECT_KEYPAIR>
/freebsd/crypto/openssl/include/openssl/
H A Dcore_dispatch.h543 # define OSSL_KEYMGMT_SELECT_PUBLIC_KEY 0x02 macro
552 ( OSSL_KEYMGMT_SELECT_PRIVATE_KEY | OSSL_KEYMGMT_SELECT_PUBLIC_KEY )

12