Home
last modified time | relevance | path

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

1234

/openssl/test/
H A Dparam_build_test.c35 if (!TEST_ptr(p = OSSL_PARAM_locate(params, "zeronumber")) in template_public_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()
301 if (!TEST_ptr(p = OSSL_PARAM_locate(params, "i")) in template_private_test()
325 || !TEST_ptr(p = OSSL_PARAM_locate(params, "l")) in template_private_test()
482 if (!TEST_ptr(p = OSSL_PARAM_locate(params, "i")) in builder_merge_test()
[all …]
H A Dparams_test.c250 if ((p = OSSL_PARAM_locate(params, "p1")) != NULL in api_get_params()
253 if ((p = OSSL_PARAM_locate(params, "p2")) != NULL in api_get_params()
256 if ((p = OSSL_PARAM_locate(params, "p3")) != NULL in api_get_params()
259 if ((p = OSSL_PARAM_locate(params, "p4")) != NULL in api_get_params()
262 if ((p = OSSL_PARAM_locate(params, "p5")) != NULL in api_get_params()
265 if ((p = OSSL_PARAM_locate(params, "p6")) != NULL in api_get_params()
462 || !TEST_ptr(p = OSSL_PARAM_locate(params, "p3")) in test_case_variant()
466 || !TEST_ptr(p = OSSL_PARAM_locate(params, "p5")) in test_case_variant()
470 || !TEST_ptr(p = OSSL_PARAM_locate(params, "p6")) in test_case_variant()
513 || !TEST_ptr(p = OSSL_PARAM_locate(params, "p3")) in test_case_variant()
[all …]
H A Dparams_api_test.c648 if (!TEST_ptr_null(OSSL_PARAM_locate(p, "fnord"))) in test_param_construct()
674 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "double")) in test_param_construct()
683 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "utf8str")) in test_param_construct()
699 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "utf8ptr")) in test_param_construct()
707 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "octstr")) in test_param_construct()
727 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "octptr")) in test_param_construct()
739 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "bignum")) in test_param_construct()
800 && TEST_ptr(p = OSSL_PARAM_locate(cp1, "a")) in test_param_copy_null()
803 && TEST_ptr(p = OSSL_PARAM_locate(cp1, "b")) in test_param_copy_null()
807 && TEST_ptr(p = OSSL_PARAM_locate(cp2, "a")) in test_param_copy_null()
[all …]
H A Duser_property_test.c28 p = OSSL_PARAM_locate(params, OSSL_DIGEST_PARAM_BLOCK_SIZE); in tmpmd_get_params()
32 p = OSSL_PARAM_locate(params, OSSL_DIGEST_PARAM_SIZE); in tmpmd_get_params()
/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()
/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()
/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.c71 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_NAME); in legacy_get_params()
74 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_VERSION); in legacy_get_params()
77 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_BUILDINFO); in legacy_get_params()
80 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_STATUS); in legacy_get_params()
/openssl/providers/implementations/ciphers/
H A Dciphercommon.c47 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_MODE); in ossl_cipher_generic_get_params()
52 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD); in ossl_cipher_generic_get_params()
58 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_CUSTOM_IV); in ossl_cipher_generic_get_params()
64 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_CTS); in ossl_cipher_generic_get_params()
82 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in ossl_cipher_generic_get_params()
87 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_BLOCK_SIZE); in ossl_cipher_generic_get_params()
92 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in ossl_cipher_generic_get_params()
580 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in ossl_cipher_generic_get_ctx_params()
590 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IV); in ossl_cipher_generic_get_ctx_params()
604 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_NUM); in ossl_cipher_generic_get_ctx_params()
[all …]
H A Dcipher_aes_cbc_hmac_sha.c226 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_MAX_BUFSIZE); in aes_get_ctx_params()
238 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_INTERLEAVE); in aes_get_ctx_params()
244 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_AAD_PACKLEN); in aes_get_ctx_params()
250 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC_LEN); in aes_get_ctx_params()
257 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD); in aes_get_ctx_params()
262 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in aes_get_ctx_params()
267 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in aes_get_ctx_params()
272 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IV); in aes_get_ctx_params()
279 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()
H A Dcipher_rc4_hmac_md5.c119 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in rc4_hmac_md5_get_ctx_params()
125 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in rc4_hmac_md5_get_ctx_params()
130 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD); in rc4_hmac_md5_get_ctx_params()
H A Dcipher_aes_ocb.c422 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in aes_ocb_get_ctx_params()
427 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in aes_ocb_get_ctx_params()
432 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TAGLEN); in aes_ocb_get_ctx_params()
440 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IV); in aes_ocb_get_ctx_params()
452 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_UPDATED_IV); in aes_ocb_get_ctx_params()
464 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TAG); in aes_ocb_get_ctx_params()
/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()
/openssl/providers/implementations/rands/
H A Ddrbg.c884 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in ossl_drbg_get_ctx_params()
888 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in ossl_drbg_get_ctx_params()
892 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MIN_ENTROPYLEN); in ossl_drbg_get_ctx_params()
896 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_ENTROPYLEN); in ossl_drbg_get_ctx_params()
900 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MIN_NONCELEN); in ossl_drbg_get_ctx_params()
904 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_NONCELEN); in ossl_drbg_get_ctx_params()
908 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_PERSLEN); in ossl_drbg_get_ctx_params()
912 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_ADINLEN); in ossl_drbg_get_ctx_params()
920 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_RESEED_TIME); in ossl_drbg_get_ctx_params()
943 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_MAX_REQUEST); in ossl_drbg_get_ctx_params_no_lock()
[all …]
H A Dtest_rng.c187 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in test_rng_get_ctx_params()
191 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in test_rng_get_ctx_params()
195 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_MAX_REQUEST); in test_rng_get_ctx_params()
199 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_GENERATE); in test_rng_get_ctx_params()
204 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_FIPS_APPROVED_INDICATOR); in test_rng_get_ctx_params()
H A Dseed_src.c144 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in seed_src_get_ctx_params()
148 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in seed_src_get_ctx_params()
152 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_MAX_REQUEST); in seed_src_get_ctx_params()
/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()
/openssl/providers/implementations/asymciphers/
H A Drsa_enc.c370 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_PAD_MODE); in rsa_get_ctx_params()
401 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST); in rsa_get_ctx_params()
407 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST); in rsa_get_ctx_params()
418 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_OAEP_LABEL); in rsa_get_ctx_params()
424 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_TLS_CLIENT_VERSION); in rsa_get_ctx_params()
428 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_TLS_NEGOTIATED_VERSION); in rsa_get_ctx_params()
432 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_IMPLICIT_REJECTION); in rsa_get_ctx_params()
/openssl/providers/implementations/keymgmt/
H A Dtemplate_kmgmt.c262 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_BITS)) != NULL in template_get_params()
265 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_SECURITY_BITS)) != NULL in template_get_params()
268 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_MAX_SIZE)) != NULL in template_get_params()
271 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_ENCODED_PUBLIC_KEY)) != NULL) { in template_get_params()
/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()
/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()

Completed in 62 milliseconds

1234