| /freebsd/crypto/openssl/providers/implementations/encode_decode/ |
| H A D | encode_key2text.c | 58 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in DEFINE_SPECIAL_STACK_OF_CONST() 131 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_to_text() 334 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_to_text() 422 } else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ecx_to_text() 490 } else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in rsa_to_text()
|
| H A D | decode_msblob2key.c | 87 if ((selection & (OSSL_KEYMGMT_SELECT_PRIVATE_KEY | OSSL_KEYMGMT_SELECT_PUBLIC_KEY)) != 0) in msblob2key_does_selection() 156 if (key == NULL && (selection == 0 || (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in msblob2key_decode()
|
| H A D | encode_key2blob.c | 63 OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in key2blob_check_selection()
|
| H A D | encode_key2ms.c | 139 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in key2msblob_encode()
|
| H A D | decode_der2key.c | 210 OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in der2key_check_selection() 285 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in der2key_decode() 1021 (OSSL_KEYMGMT_SELECT_PUBLIC_KEY), \ 1094 (OSSL_KEYMGMT_SELECT_PUBLIC_KEY), \
|
| H A D | decode_pem2der.c | 236 && ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) in pem2der_decode()
|
| /freebsd/crypto/openssl/test/ |
| H A D | endecoder_legacy_test.c | 545 int selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_key() 583 int selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_key() 617 int selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_key() 653 int selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY in test_key()
|
| H A D | fake_rsaprov.c | 900 OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in der2key_check_selection() 970 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in fake_rsa_der2key_decode() 1111 (OSSL_KEYMGMT_SELECT_PUBLIC_KEY), \
|
| H A D | tls-provider.c | 743 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in xor_has() 760 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in xor_dup() 895 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in xor_match() 1792 OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in key2any_check_selection() 1855 #define DO_ENC_PUBLIC_KEY_selection_mask OSSL_KEYMGMT_SELECT_PUBLIC_KEY 2285 OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in der2key_check_selection() 2355 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in xor_der2key_decode() 2473 (OSSL_KEYMGMT_SELECT_PUBLIC_KEY), \
|
| /freebsd/crypto/openssl/crypto/pem/ |
| H A D | pem_pkey.c | 80 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 D | ec_kmgmt.c | 310 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_has() 346 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ec_match() 469 && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) == 0) in ec_export() 549 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_imexport_types() 890 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in sm2_validate() 934 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ec_validate()
|
| H A D | mlx_kmgmt.c | 111 case OSSL_KEYMGMT_SELECT_PUBLIC_KEY: in mlx_kem_has() 269 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in mlx_kem_export() 560 selection |= pub == NULL ? 0 : OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in mlx_kem_get_params() 690 || (gctx->selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == OSSL_KEYMGMT_SELECT_PUBLIC_KEY) in mlx_kem_gen()
|
| H A D | rsa_kmgmt.c | 128 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in rsa_has() 149 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in rsa_match() 404 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in rsa_validate()
|
| H A D | dsa_kmgmt.c | 143 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_has() 164 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in dsa_match() 393 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_validate()
|
| H A D | ml_kem_kmgmt.c | 200 case OSSL_KEYMGMT_SELECT_PUBLIC_KEY: in ml_kem_has() 259 } else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ml_kem_export() 760 || (gctx->selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == OSSL_KEYMGMT_SELECT_PUBLIC_KEY) in ml_kem_gen()
|
| H A D | dh_kmgmt.c | 142 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dh_has() 163 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in dh_match() 435 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dh_validate()
|
| /freebsd/crypto/openssl/crypto/slh_dsa/ |
| H A D | slh_dsa_key.c | 199 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ossl_slh_dsa_key_equal() 508 } else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ossl_slh_dsa_key_to_text()
|
| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | pmeth_check.c | 57 if ((ok = try_provided_check(ctx, OSSL_KEYMGMT_SELECT_PUBLIC_KEY, in evp_pkey_public_check_combined()
|
| H A D | p_lib.c | 380 if (evp_keymgmt_util_has((EVP_PKEY *)a, OSSL_KEYMGMT_SELECT_PUBLIC_KEY) in EVP_PKEY_eq() 381 && evp_keymgmt_util_has((EVP_PKEY *)b, OSSL_KEYMGMT_SELECT_PUBLIC_KEY)) in EVP_PKEY_eq() 382 selection |= OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in EVP_PKEY_eq() 575 } else if (raw_key->selection == OSSL_KEYMGMT_SELECT_PUBLIC_KEY) { in get_raw_key_details() 626 raw_key.selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in EVP_PKEY_get_raw_public_key() 628 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 D | dsa_backend.c | 97 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0 in ossl_dsa_dup()
|
| /freebsd/crypto/openssl/crypto/dh/ |
| H A D | dh_backend.c | 156 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0 in ossl_dh_dup()
|
| /freebsd/crypto/openssl/crypto/store/ |
| H A D | store_result.c | 292 selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY in try_key_value() 457 OSSL_KEYMGMT_SELECT_PUBLIC_KEY)) in try_key()
|
| /freebsd/crypto/openssl/crypto/ec/ |
| H A D | ecx_backend.c | 128 if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0 in ossl_ecx_key_dup()
|
| /freebsd/crypto/openssl/apps/ |
| H A D | dsa.c | 263 selection = OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in dsa_main()
|
| H A D | ec.c | 262 | OSSL_KEYMGMT_SELECT_PUBLIC_KEY; in ec_main()
|