Home
last modified time | relevance | path

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

12

/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c233 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dh_to_text()
308 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_to_text()
513 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_to_text()
606 } else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ecx_to_text()
663 } 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()
158 || (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in msblob2key_decode()
H A Ddecode_der2key.c181 OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in der2key_check_selection()
256 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in der2key_decode()
620 ( OSSL_KEYMGMT_SELECT_PUBLIC_KEY ), \
693 ( 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()
/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.c746 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in xor_has()
763 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in xor_dup()
897 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in xor_match()
1807 OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in key2any_check_selection()
1870 #define DO_ENC_PUBLIC_KEY_selection_mask OSSL_KEYMGMT_SELECT_PUBLIC_KEY
2301 OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in der2key_check_selection()
2371 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in xor_der2key_decode()
2493 ( OSSL_KEYMGMT_SELECT_PUBLIC_KEY ), \
H A Dendecode_test.c826 OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_public_via_DER()
848 OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_public_via_PEM()
870 return test_encode_decode(__FILE__, __LINE__, type, key, OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_public_via_MSBLOB()
/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()
/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c317 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_has()
353 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ec_match()
481 && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) == 0) in ec_export()
566 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_imexport_types()
918 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in sm2_validate()
964 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.c143 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_has()
164 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in dsa_match()
395 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_validate()
H A Ddh_kmgmt.c140 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dh_has()
161 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in dh_match()
435 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dh_validate()
H A Decx_kmgmt.c139 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ecx_has()
162 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ecx_match()
953 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ecx_validate()
H A Dtemplate_kmgmt.c122 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in template_match()
/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.c353 if (evp_keymgmt_util_has((EVP_PKEY *)a, OSSL_KEYMGMT_SELECT_PUBLIC_KEY) in EVP_PKEY_eq()
354 && evp_keymgmt_util_has((EVP_PKEY *)b, OSSL_KEYMGMT_SELECT_PUBLIC_KEY)) in EVP_PKEY_eq()
355 selection |= OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in EVP_PKEY_eq()
546 } else if (raw_key->selection == OSSL_KEYMGMT_SELECT_PUBLIC_KEY) { in get_raw_key_details()
597 raw_key.selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in EVP_PKEY_get_raw_public_key()
599 return evp_keymgmt_util_export(pkey, OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in EVP_PKEY_get_raw_public_key()
/openssl/crypto/dsa/
H A Ddsa_backend.c99 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0 in ossl_dsa_dup()
/openssl/crypto/dh/
H A Ddh_backend.c157 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0 in ossl_dh_dup()
/openssl/crypto/ec/
H A Decx_backend.c130 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0 in ossl_ecx_key_dup()
/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()
/openssl/apps/
H A Ddsa.c251 selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in dsa_main()
H A Dec.c248 | OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in ec_main()
H A Drsa.c337 selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in rsa_main()
/openssl/doc/man7/
H A Dprovider-keymgmt.pod156 =item B<OSSL_KEYMGMT_SELECT_PUBLIC_KEY>
201 B<OSSL_KEYMGMT_SELECT_PUBLIC_KEY>.
323 B<OSSL_KEYMGMT_SELECT_PUBLIC_KEY> (or B<OSSL_KEYMGMT_SELECT_KEYPAIR>

Completed in 127 milliseconds

12