Home
last modified time | relevance | path

Searched refs:OSSL_PARAM_locate (Results 1 – 25 of 99) sorted by relevance

1234

/freebsd/crypto/openssl/test/
H A Dparam_build_test.c35 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 Dparams_test.c249 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 Dparams_api_test.c657 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 Dfake_cipherprov.c195 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 Dparam_build_set.c27 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 Ddigestcommon.c19 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 Dnullprov.c39 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 Dbaseprov.c54 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 Dlegacyprov.c72 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 Dciphercommon.c49 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 Dcipher_aes_cbc_hmac_sha.c225 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 Dciphercommon_ccm.c152 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 Dcipher_chacha20_poly1305.c104 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 Dcipher_null.c128 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 Ddrbg.c881 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 Dtest_rng.c188 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 Dseed_src.c149 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 Drsa_acvp_test_params.c135 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 Dfuzz_rand.c81 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 Dslh_dsa_kmgmt.c184 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 Dml_dsa_kmgmt.c330 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 Dtemplate_kmgmt.c261 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 Drsa_enc.c379 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 Dfake_random.c101 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 Dsiphash_prov.c169 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()

1234