| /freebsd/crypto/openssl/test/ |
| H A D | param_build_test.c | 35 if (!TEST_ptr(p = OSSL_PARAM_locate(params, "zeronumber")) in template_public_single_zero_test() 67 if (!TEST_ptr(p = OSSL_PARAM_locate(params, "zeronumber")) in template_private_single_zero_test() 146 if (!TEST_ptr(p = OSSL_PARAM_locate(params, "i")) in template_public_test() 153 || !TEST_ptr(p = OSSL_PARAM_locate(params, "i32")) in template_public_test() 160 || !TEST_ptr(p = OSSL_PARAM_locate(params, "i64")) in template_public_test() 167 || !TEST_ptr(p = OSSL_PARAM_locate(params, "l")) in template_public_test() 174 || !TEST_ptr(p = OSSL_PARAM_locate(params, "t")) in template_public_test() 181 || !TEST_ptr(p = OSSL_PARAM_locate(params, "d")) in template_public_test() 188 || !TEST_ptr(p = OSSL_PARAM_locate(params, "utf8_s")) in template_public_test() 193 || !TEST_ptr(p = OSSL_PARAM_locate(params, "utf8_p")) in template_public_test() [all …]
|
| H A D | params_test.c | 249 if ((p = OSSL_PARAM_locate(params, "p1")) != NULL in api_get_params() 252 if ((p = OSSL_PARAM_locate(params, "p2")) != NULL in api_get_params() 255 if ((p = OSSL_PARAM_locate(params, "p3")) != NULL in api_get_params() 258 if ((p = OSSL_PARAM_locate(params, "p4")) != NULL in api_get_params() 261 if ((p = OSSL_PARAM_locate(params, "p5")) != NULL in api_get_params() 264 if ((p = OSSL_PARAM_locate(params, "p6")) != NULL in api_get_params() 461 || !TEST_ptr(p = OSSL_PARAM_locate(params, "p3")) in test_case_variant() 465 || !TEST_ptr(p = OSSL_PARAM_locate(params, "p5")) in test_case_variant() 469 || !TEST_ptr(p = OSSL_PARAM_locate(params, "p6")) in test_case_variant() 474 || !TEST_ptr(p = OSSL_PARAM_locate(params, "foo"))) in test_case_variant() [all …]
|
| H A D | params_api_test.c | 657 if (!TEST_ptr_null(OSSL_PARAM_locate(p, "fnord"))) in test_param_construct() 662 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, int_names[j])) in test_param_construct() 673 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, uint_names[j])) in test_param_construct() 683 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "double")) in test_param_construct() 692 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "utf8str")) in test_param_construct() 708 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "utf8ptr")) in test_param_construct() 716 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "octstr")) in test_param_construct() 736 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "octptr")) in test_param_construct() 748 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "bignum")) in test_param_construct() 809 && TEST_ptr(p = OSSL_PARAM_locate(cp1, "a")) in test_param_copy_null() [all …]
|
| H A D | fake_cipherprov.c | 195 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in fake_get_params() 200 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_BLOCK_SIZE); in fake_get_params() 226 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in fake_get_ctx_params() 231 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in fake_get_ctx_params()
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | param_build_set.c | 27 p = OSSL_PARAM_locate(p, key); in DEFINE_SPECIAL_STACK_OF_CONST() 38 p = OSSL_PARAM_locate(p, key); in ossl_param_build_set_long() 49 p = OSSL_PARAM_locate(p, key); in ossl_param_build_set_utf8_string() 63 p = OSSL_PARAM_locate(p, key); in ossl_param_build_set_octet_string() 74 p = OSSL_PARAM_locate(p, key); in ossl_param_build_set_bn_pad() 92 p = OSSL_PARAM_locate(p, key); in ossl_param_build_set_bn() 117 p = OSSL_PARAM_locate(params, names[i]); in ossl_param_build_set_multi_key_bn()
|
| /freebsd/crypto/openssl/providers/implementations/digests/ |
| H A D | digestcommon.c | 19 p = OSSL_PARAM_locate(params, OSSL_DIGEST_PARAM_BLOCK_SIZE); in ossl_digest_default_get_params() 24 p = OSSL_PARAM_locate(params, OSSL_DIGEST_PARAM_SIZE); in ossl_digest_default_get_params() 29 p = OSSL_PARAM_locate(params, OSSL_DIGEST_PARAM_XOF); in ossl_digest_default_get_params() 35 p = OSSL_PARAM_locate(params, OSSL_DIGEST_PARAM_ALGID_ABSENT); in ossl_digest_default_get_params()
|
| /freebsd/crypto/openssl/providers/ |
| H A D | nullprov.c | 39 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_NAME); in null_get_params() 42 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_VERSION); in null_get_params() 45 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_BUILDINFO); in null_get_params() 48 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_STATUS); in null_get_params()
|
| H A D | baseprov.c | 54 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_NAME); in base_get_params() 58 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_VERSION); in base_get_params() 61 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_BUILDINFO); in base_get_params() 64 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_STATUS); in base_get_params()
|
| H A D | legacyprov.c | 72 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_NAME); in legacy_get_params() 75 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_VERSION); in legacy_get_params() 78 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_BUILDINFO); in legacy_get_params() 81 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_STATUS); in legacy_get_params()
|
| /freebsd/crypto/openssl/providers/implementations/ciphers/ |
| H A D | ciphercommon.c | 49 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_MODE); in ossl_cipher_generic_get_params() 54 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD); in ossl_cipher_generic_get_params() 60 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_CUSTOM_IV); in ossl_cipher_generic_get_params() 66 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_CTS); in ossl_cipher_generic_get_params() 72 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK); in ossl_cipher_generic_get_params() 78 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_HAS_RAND_KEY); in ossl_cipher_generic_get_params() 84 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in ossl_cipher_generic_get_params() 89 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_BLOCK_SIZE); in ossl_cipher_generic_get_params() 94 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in ossl_cipher_generic_get_params() 601 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in ossl_cipher_generic_get_ctx_params() [all …]
|
| H A D | cipher_aes_cbc_hmac_sha.c | 225 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_MAX_BUFSIZE); in aes_get_ctx_params() 236 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_INTERLEAVE); in aes_get_ctx_params() 242 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_AAD_PACKLEN); in aes_get_ctx_params() 248 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC_LEN); in aes_get_ctx_params() 255 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD); in aes_get_ctx_params() 260 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in aes_get_ctx_params() 265 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in aes_get_ctx_params() 270 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IV); in aes_get_ctx_params() 277 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_UPDATED_IV); in aes_get_ctx_params()
|
| H A D | ciphercommon_ccm.c | 152 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in ossl_ccm_get_ctx_params() 158 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TAGLEN); in ossl_ccm_get_ctx_params() 168 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IV); in ossl_ccm_get_ctx_params() 181 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_UPDATED_IV); in ossl_ccm_get_ctx_params() 194 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in ossl_ccm_get_ctx_params() 200 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD); in ossl_ccm_get_ctx_params() 206 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TAG); in ossl_ccm_get_ctx_params()
|
| H A D | cipher_chacha20_poly1305.c | 104 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in chacha20_poly1305_get_ctx_params() 111 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in chacha20_poly1305_get_ctx_params() 116 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TAGLEN); in chacha20_poly1305_get_ctx_params() 121 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD); in chacha20_poly1305_get_ctx_params() 127 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TAG); in chacha20_poly1305_get_ctx_params()
|
| H A D | cipher_null.c | 128 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in null_get_ctx_params() 133 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in null_get_ctx_params() 138 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_TLS_MAC); in null_get_ctx_params()
|
| /freebsd/crypto/openssl/providers/implementations/rands/ |
| H A D | drbg.c | 881 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in ossl_drbg_get_ctx_params() 885 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in ossl_drbg_get_ctx_params() 889 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MIN_ENTROPYLEN); in ossl_drbg_get_ctx_params() 893 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_ENTROPYLEN); in ossl_drbg_get_ctx_params() 897 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MIN_NONCELEN); in ossl_drbg_get_ctx_params() 901 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_NONCELEN); in ossl_drbg_get_ctx_params() 905 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_PERSLEN); in ossl_drbg_get_ctx_params() 909 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_ADINLEN); in ossl_drbg_get_ctx_params() 913 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_RESEED_REQUESTS); in ossl_drbg_get_ctx_params() 917 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_RESEED_TIME); in ossl_drbg_get_ctx_params() [all …]
|
| H A D | test_rng.c | 188 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in test_rng_get_ctx_params() 192 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in test_rng_get_ctx_params() 196 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_MAX_REQUEST); in test_rng_get_ctx_params() 200 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_GENERATE); in test_rng_get_ctx_params() 205 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_FIPS_APPROVED_INDICATOR); in test_rng_get_ctx_params()
|
| H A D | seed_src.c | 149 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in seed_src_get_ctx_params() 153 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in seed_src_get_ctx_params() 157 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_MAX_REQUEST); in seed_src_get_ctx_params()
|
| /freebsd/crypto/openssl/crypto/rsa/ |
| H A D | rsa_acvp_test_params.c | 135 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_RSA_TEST_P1)) != NULL in ossl_rsa_acvp_test_get_params() 138 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_RSA_TEST_P2)) != NULL in ossl_rsa_acvp_test_get_params() 141 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_RSA_TEST_Q1)) != NULL in ossl_rsa_acvp_test_get_params() 144 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_RSA_TEST_Q2)) != NULL in ossl_rsa_acvp_test_get_params()
|
| /freebsd/crypto/openssl/fuzz/ |
| H A D | fuzz_rand.c | 81 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in fuzz_rand_get_ctx_params() 85 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in fuzz_rand_get_ctx_params() 89 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_MAX_REQUEST); in fuzz_rand_get_ctx_params()
|
| /freebsd/crypto/openssl/providers/implementations/keymgmt/ |
| H A D | slh_dsa_kmgmt.c | 184 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_BITS)) != NULL in slh_dsa_get_params() 187 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_SECURITY_BITS)) != NULL in slh_dsa_get_params() 190 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_MAX_SIZE)) != NULL in slh_dsa_get_params() 196 p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_PRIV_KEY); in slh_dsa_get_params() 205 p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_PUB_KEY); in slh_dsa_get_params() 215 p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_MANDATORY_DIGEST); in slh_dsa_get_params()
|
| H A D | ml_dsa_kmgmt.c | 330 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_BITS)) != NULL in ml_dsa_get_params() 333 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_SECURITY_BITS)) != NULL in ml_dsa_get_params() 336 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_MAX_SIZE)) != NULL in ml_dsa_get_params() 345 && (p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_ML_DSA_SEED)) != NULL in ml_dsa_get_params() 349 && (p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_PRIV_KEY)) != NULL in ml_dsa_get_params() 354 && (p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_PUB_KEY)) != NULL in ml_dsa_get_params() 362 p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_MANDATORY_DIGEST); in ml_dsa_get_params()
|
| H A D | template_kmgmt.c | 261 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_BITS)) != NULL in template_get_params() 264 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_SECURITY_BITS)) != NULL in template_get_params() 267 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_MAX_SIZE)) != NULL in template_get_params() 270 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_ENCODED_PUBLIC_KEY)) != NULL) { in template_get_params()
|
| /freebsd/crypto/openssl/providers/implementations/asymciphers/ |
| H A D | rsa_enc.c | 379 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_PAD_MODE); in rsa_get_ctx_params() 408 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST); in rsa_get_ctx_params() 412 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST); in rsa_get_ctx_params() 421 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_OAEP_LABEL); in rsa_get_ctx_params() 425 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_TLS_CLIENT_VERSION); in rsa_get_ctx_params() 429 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_TLS_NEGOTIATED_VERSION); in rsa_get_ctx_params() 433 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_IMPLICIT_REJECTION); in rsa_get_ctx_params()
|
| /freebsd/crypto/openssl/test/testutil/ |
| H A D | fake_random.c | 101 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in fake_rand_get_ctx_params() 105 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in fake_rand_get_ctx_params() 109 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_MAX_REQUEST); in fake_rand_get_ctx_params()
|
| /freebsd/crypto/openssl/providers/implementations/macs/ |
| H A D | siphash_prov.c | 169 if ((p = OSSL_PARAM_locate(params, OSSL_MAC_PARAM_SIZE)) != NULL in siphash_get_ctx_params() 172 if ((p = OSSL_PARAM_locate(params, OSSL_MAC_PARAM_C_ROUNDS)) != NULL in siphash_get_ctx_params() 175 if ((p = OSSL_PARAM_locate(params, OSSL_MAC_PARAM_D_ROUNDS)) != NULL in siphash_get_ctx_params()
|