Home
last modified time | relevance | path

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

1234

/freebsd/crypto/openssl/test/
H A Dparam_build_test.c34 if (!TEST_ptr(p = OSSL_PARAM_locate(params, "zeronumber")) in template_public_single_zero_test()
140 if (!TEST_ptr(p = OSSL_PARAM_locate(params, "i")) in template_public_test()
147 || !TEST_ptr(p = OSSL_PARAM_locate(params, "i32")) in template_public_test()
154 || !TEST_ptr(p = OSSL_PARAM_locate(params, "i64")) in template_public_test()
161 || !TEST_ptr(p = OSSL_PARAM_locate(params, "l")) in template_public_test()
168 || !TEST_ptr(p = OSSL_PARAM_locate(params, "t")) in template_public_test()
175 || !TEST_ptr(p = OSSL_PARAM_locate(params, "d")) in template_public_test()
282 if (!TEST_ptr(p = OSSL_PARAM_locate(params, "i")) in template_private_test()
306 || !TEST_ptr(p = OSSL_PARAM_locate(params, "l")) in template_private_test()
453 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.c525 if (!TEST_ptr_null(OSSL_PARAM_locate(p, "fnord"))) in test_param_construct()
551 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "double")) in test_param_construct()
560 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "utf8str")) in test_param_construct()
576 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "utf8ptr")) in test_param_construct()
584 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "octstr")) in test_param_construct()
604 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "octptr")) in test_param_construct()
616 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, "bignum")) in test_param_construct()
677 && TEST_ptr(p = OSSL_PARAM_locate(cp1, "a")) in test_param_copy_null()
680 && TEST_ptr(p = OSSL_PARAM_locate(cp1, "b")) in test_param_copy_null()
684 && 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()
/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()
90 p = OSSL_PARAM_locate(p, key); in ossl_param_build_set_bn()
115 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/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()
579 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in ossl_cipher_generic_get_ctx_params()
589 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IV); in ossl_cipher_generic_get_ctx_params()
603 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 Dciphercommon_gcm.c149 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in ossl_gcm_get_ctx_params()
154 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in ossl_gcm_get_ctx_params()
159 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TAGLEN); in ossl_gcm_get_ctx_params()
170 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IV); in ossl_gcm_get_ctx_params()
185 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_UPDATED_IV); in ossl_gcm_get_ctx_params()
200 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD); in ossl_gcm_get_ctx_params()
205 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TAG); in ossl_gcm_get_ctx_params()
220 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TLS1_GET_IV_GEN); in ossl_gcm_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.c416 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IVLEN); in aes_ocb_get_ctx_params()
421 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_KEYLEN); in aes_ocb_get_ctx_params()
426 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TAGLEN); in aes_ocb_get_ctx_params()
434 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IV); in aes_ocb_get_ctx_params()
446 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_UPDATED_IV); in aes_ocb_get_ctx_params()
458 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_AEAD_TAG); in aes_ocb_get_ctx_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.c54 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_NAME); in legacy_get_params()
57 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_VERSION); in legacy_get_params()
60 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_BUILDINFO); in legacy_get_params()
63 p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_STATUS); in legacy_get_params()
/freebsd/crypto/openssl/providers/implementations/rands/
H A Ddrbg.c864 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in ossl_drbg_get_ctx_params()
868 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in ossl_drbg_get_ctx_params()
872 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_MAX_REQUEST); in ossl_drbg_get_ctx_params()
876 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MIN_ENTROPYLEN); in ossl_drbg_get_ctx_params()
880 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_ENTROPYLEN); in ossl_drbg_get_ctx_params()
884 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MIN_NONCELEN); in ossl_drbg_get_ctx_params()
888 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_NONCELEN); in ossl_drbg_get_ctx_params()
892 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_PERSLEN); in ossl_drbg_get_ctx_params()
896 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_ADINLEN); in ossl_drbg_get_ctx_params()
904 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_RESEED_TIME); in ossl_drbg_get_ctx_params()
[all …]
H A Dseed_src.c146 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in seed_src_get_ctx_params()
150 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in seed_src_get_ctx_params()
154 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/asymciphers/
H A Drsa_enc.c342 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_PAD_MODE); in rsa_get_ctx_params()
373 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST); in rsa_get_ctx_params()
379 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST); in rsa_get_ctx_params()
390 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_OAEP_LABEL); in rsa_get_ctx_params()
396 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_TLS_CLIENT_VERSION); in rsa_get_ctx_params()
400 p = OSSL_PARAM_locate(params, OSSL_ASYM_CIPHER_PARAM_TLS_NEGOTIATED_VERSION); in rsa_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()
/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/exchange/
H A Ddh_exch.c453 p = OSSL_PARAM_locate(params, OSSL_EXCHANGE_PARAM_KDF_TYPE); in dh_get_ctx_params()
472 p = OSSL_PARAM_locate(params, OSSL_EXCHANGE_PARAM_KDF_DIGEST); in dh_get_ctx_params()
480 p = OSSL_PARAM_locate(params, OSSL_EXCHANGE_PARAM_KDF_OUTLEN); in dh_get_ctx_params()
484 p = OSSL_PARAM_locate(params, OSSL_EXCHANGE_PARAM_KDF_UKM); in dh_get_ctx_params()
489 p = OSSL_PARAM_locate(params, OSSL_KDF_PARAM_CEK_ALG); in dh_get_ctx_params()

1234