Home
last modified time | relevance | path

Searched refs:OSSL_PARAM (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/openssl/include/openssl/
H A Dparams.h71 OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *p, const char *key);
72 const OSSL_PARAM *OSSL_PARAM_locate_const(const OSSL_PARAM *p, const char *key);
96 OSSL_PARAM OSSL_PARAM_construct_end(void);
98 int OSSL_PARAM_allocate_from_text(OSSL_PARAM *to,
114 int OSSL_PARAM_set_int(OSSL_PARAM *p, int val);
116 int OSSL_PARAM_set_long(OSSL_PARAM *p, long int val);
150 int OSSL_PARAM_modified(const OSSL_PARAM *p);
151 void OSSL_PARAM_set_all_unmodified(OSSL_PARAM *p);
153 OSSL_PARAM *OSSL_PARAM_dup(const OSSL_PARAM *p);
154 OSSL_PARAM *OSSL_PARAM_merge(const OSSL_PARAM *p1, const OSSL_PARAM *p2);
[all …]
H A Dcore_dispatch.h65 OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *,
253 OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *,
330 (void *vctx, OSSL_PARAM params[]))
425 (void *mctx, OSSL_PARAM params[]))
490 const OSSL_PARAM params[]))
604 OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *,
790 const OSSL_PARAM params[]))
801 const OSSL_PARAM params[]))
812 (void *ctx, OSSL_PARAM params[]))
820 (void *ctx, OSSL_PARAM params[]))
[all …]
H A Dkdf.h45 const OSSL_PARAM params[]);
46 int EVP_KDF_get_params(EVP_KDF *kdf, OSSL_PARAM params[]);
47 int EVP_KDF_CTX_get_params(EVP_KDF_CTX *ctx, OSSL_PARAM params[]);
48 int EVP_KDF_CTX_set_params(EVP_KDF_CTX *ctx, const OSSL_PARAM params[]);
49 const OSSL_PARAM *EVP_KDF_gettable_params(const EVP_KDF *kdf);
50 const OSSL_PARAM *EVP_KDF_gettable_ctx_params(const EVP_KDF *kdf);
51 const OSSL_PARAM *EVP_KDF_settable_ctx_params(const EVP_KDF *kdf);
52 const OSSL_PARAM *EVP_KDF_CTX_gettable_params(EVP_KDF_CTX *ctx);
53 const OSSL_PARAM *EVP_KDF_CTX_settable_params(EVP_KDF_CTX *ctx);
/openssl/crypto/
H A Dparams_dup.c56 static OSSL_PARAM *ossl_param_dup(const OSSL_PARAM *src, OSSL_PARAM *dst, in ossl_param_dup()
60 const OSSL_PARAM *in; in ossl_param_dup()
98 OSSL_PARAM *OSSL_PARAM_dup(const OSSL_PARAM *src) in OSSL_PARAM_dup()
102 OSSL_PARAM *last, *dst; in OSSL_PARAM_dup()
140 const OSSL_PARAM *l = *(const OSSL_PARAM **)left; in compare_params()
141 const OSSL_PARAM *r = *(const OSSL_PARAM **)right; in compare_params()
146 OSSL_PARAM *OSSL_PARAM_merge(const OSSL_PARAM *p1, const OSSL_PARAM *p2) in OSSL_PARAM_merge()
150 const OSSL_PARAM *p = NULL; in OSSL_PARAM_merge()
151 const OSSL_PARAM **p1cur, **p2cur; in OSSL_PARAM_merge()
152 OSSL_PARAM *params, *dst; in OSSL_PARAM_merge()
[all …]
H A Dparams.c53 OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate()
62 const OSSL_PARAM *OSSL_PARAM_locate_const(const OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate_const()
64 return OSSL_PARAM_locate((OSSL_PARAM *)p, key); in OSSL_PARAM_locate_const()
70 OSSL_PARAM res; in ossl_param_construct()
80 int OSSL_PARAM_modified(const OSSL_PARAM *p) in OSSL_PARAM_modified()
85 void OSSL_PARAM_set_all_unmodified(OSSL_PARAM *p) in OSSL_PARAM_set_all_unmodified()
277 int OSSL_PARAM_set_int(OSSL_PARAM *p, int val) in OSSL_PARAM_set_int()
340 int OSSL_PARAM_set_long(OSSL_PARAM *p, long int val) in OSSL_PARAM_set_long()
470 int OSSL_PARAM_set_int32(OSSL_PARAM *p, int32_t val) in OSSL_PARAM_set_int32()
1640 OSSL_PARAM OSSL_PARAM_construct_end(void) in OSSL_PARAM_construct_end()
[all …]
H A Dparam_build_set.c22 int ossl_param_build_set_int(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in DEFINE_SPECIAL_STACK_OF_CONST()
33 int ossl_param_build_set_long(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_long()
44 int ossl_param_build_set_utf8_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_utf8_string()
55 int ossl_param_build_set_octet_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_octet_string()
69 int ossl_param_build_set_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_bn_pad()
86 int ossl_param_build_set_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_bn()
98 int ossl_param_build_set_multi_key_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *params, in ossl_param_build_set_multi_key_bn()
103 OSSL_PARAM *p; in ossl_param_build_set_multi_key_bn()
/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt_imexport.inc18 static const OSSL_PARAM ec_public_key_types[] = {
22 static const OSSL_PARAM ec_key_types[] = {
31 static const OSSL_PARAM ec_5_types[] = {
36 static const OSSL_PARAM ec_6_types[] = {
51 static const OSSL_PARAM ec_9_types[] = {
56 static const OSSL_PARAM ec_10_types[] = {
61 static const OSSL_PARAM ec_11_types[] = {
72 static const OSSL_PARAM ec_13_types[] = {
78 static const OSSL_PARAM ec_14_types[] = {
84 static const OSSL_PARAM ec_all_types[] = {
[all …]
H A Dtemplate_kmgmt.c150 OSSL_PARAM *params = NULL; in template_export()
187 const OSSL_PARAM *param_priv_key = NULL, *param_pub_key; in ossl_template_key_fromdata()
238 static const OSSL_PARAM template_key_types[] = {
243 static const OSSL_PARAM *template_imexport_types(int selection) in template_imexport_types()
251 static int template_get_params(void *key, OSSL_PARAM params[]) in template_get_params()
253 OSSL_PARAM *p; in template_get_params()
280 static const OSSL_PARAM template_gettable_params_arr[] = {
296 const OSSL_PARAM *p; in template_set_params()
311 static const OSSL_PARAM template_settable_params_arr[] = {
334 const OSSL_PARAM params[]) in template_gen_init()
[all …]
H A Dmac_legacy_kmgmt.c184 const OSSL_PARAM *p; in mac_key_fromdata()
239 OSSL_PARAM params[]) in key_to_params()
272 OSSL_PARAM *params = NULL; in mac_export()
300 static const OSSL_PARAM mac_key_types[] = {
312 static const OSSL_PARAM cmac_key_types[] = {
333 static const OSSL_PARAM gettable_params[] = { in mac_gettable_params()
342 static const OSSL_PARAM gettable_params[] = { in cmac_gettable_params()
354 const OSSL_PARAM *p; in mac_set_params()
417 const OSSL_PARAM *p; in mac_gen_set_params()
457 static OSSL_PARAM settable[] = { in mac_gen_settable_params()
[all …]
H A Decx_kmgmt.c240 OSSL_PARAM *params = NULL; in ecx_export()
275 static const OSSL_PARAM ecx_key_types[] = {
290 OSSL_PARAM *p; in ecx_get_params()
323 OSSL_PARAM *p; in ed_get_params()
358 static const OSSL_PARAM ecx_gettable_params[] = {
369 static const OSSL_PARAM ed_gettable_params[] = {
412 const OSSL_PARAM *p; in ecx_set_params()
459 static const OSSL_PARAM ecx_settable_params[] = {
465 static const OSSL_PARAM ed_settable_params[] = {
546 const OSSL_PARAM *p; in ecx_gen_set_params()
[all …]
H A Ddh_kmgmt.c220 OSSL_PARAM *params = NULL; in dh_export()
272 static const OSSL_PARAM dh_all_types[] = {
278 static const OSSL_PARAM dh_parameter_types[] = {
282 static const OSSL_PARAM dh_key_types[] = {
287 static const OSSL_PARAM *dh_types[] = {
318 OSSL_PARAM *p; in dh_get_params()
342 static const OSSL_PARAM dh_params[] = {
371 const OSSL_PARAM *p; in dh_set_params()
529 const OSSL_PARAM *p; in dh_gen_common_set_params()
607 const OSSL_PARAM *p; in dhx_gen_set_params()
[all …]
/openssl/include/internal/
H A Dparam_build_set.h25 void ossl_param_set_secure_block(OSSL_PARAM *last, void *secure_buffer,
28 int ossl_param_build_set_int(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
30 int ossl_param_build_set_long(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
32 int ossl_param_build_set_utf8_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
34 int ossl_param_build_set_octet_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
38 int ossl_param_build_set_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
40 int ossl_param_build_set_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
42 int ossl_param_build_set_signed_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
44 int ossl_param_build_set_signed_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
47 int ossl_param_build_set_multi_key_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
/openssl/doc/man3/
H A DOSSL_PARAM_int.pod35 - OSSL_PARAM helpers
77 OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *array, const char *key);
78 const OSSL_PARAM *OSSL_PARAM_locate_const(const OSSL_PARAM *array,
178 L<OSSL_PARAM(3)> (typically used in the construction of B<OSSL_PARAM> arrays). The
189 L<OSSL_PARAM(3)> structure.
194 string L<OSSL_PARAM(3)> structure.
214 L<OSSL_PARAM(3)> structure.
361 const OSSL_PARAM set[] = {
375 OSSL_PARAM request[] = {
384 /* OSSL_PARAM *params */
[all …]
H A DOSSL_PARAM_BLD.pod15 - functions to assist in the creation of OSSL_PARAM arrays
26 OSSL_PARAM *OSSL_PARAM_BLD_to_param(OSSL_PARAM_BLD *bld);
59 I<bld> into an allocated OSSL_PARAM array.
78 get the OSSL_PARAM type B<OSSL_PARAM_INTEGER> params.
84 When the I<bn> is zero or positive, its OSSL_PARAM type becomes
96 When the I<bn> is zero or positive, its OSSL_PARAM type becomes
121 scope until the OSSL_PARAM array is freed.
126 scope until the OSSL_PARAM array is freed.
164 OSSL_PARAM *params = NULL;
188 OSSL_PARAM *params = NULL;
[all …]
H A DOSSL_PARAM_dup.pod6 - OSSL_PARAM array copy functions
12 OSSL_PARAM *OSSL_PARAM_dup(const OSSL_PARAM *params);
13 OSSL_PARAM *OSSL_PARAM_merge(const OSSL_PARAM *params, const OSSL_PARAM *params1);
14 void OSSL_PARAM_free(OSSL_PARAM *params);
19 L<OSSL_PARAM(3)>. The following utility functions allow the parameters to be
20 duplicated and merged with other L<OSSL_PARAM(3)> to assist in this process.
40 L<OSSL_PARAM(3)> array, or NULL if there was an error. If both parameters are NULL
45 L<OSSL_PARAM(3)>, L<OSSL_PARAM_BLD(3)>
/openssl/test/
H A Devp_kdf_test.c40 OSSL_PARAM *params = OPENSSL_malloc(sizeof(OSSL_PARAM) * 4); in construct_tls1_prf_params()
64 OSSL_PARAM *params; in test_kdf_tls1_prf()
86 OSSL_PARAM *params; in test_kdf_tls1_prf_invalid_digest()
104 OSSL_PARAM *params; in test_kdf_tls1_prf_zero_output_size()
124 OSSL_PARAM *params; in test_kdf_tls1_prf_empty_secret()
142 OSSL_PARAM *params; in test_kdf_tls1_prf_1byte_secret()
160 OSSL_PARAM *params; in test_kdf_tls1_prf_empty_seed()
196 OSSL_PARAM *params = OPENSSL_malloc(sizeof(OSSL_PARAM) * 5); in construct_hkdf_params()
479 OSSL_PARAM *params = OPENSSL_malloc(sizeof(OSSL_PARAM) * 5); in construct_pbkdf1_params()
599 OSSL_PARAM *params = OPENSSL_malloc(sizeof(OSSL_PARAM) * 6); in construct_pbkdf2_params()
[all …]
H A Dfake_rsaprov.c84 const OSSL_PARAM *p) in fake_rsa_keymgmt_import()
132 OSSL_PARAM *fake_rsa_key_params(int priv) in fake_rsa_key_params()
135 OSSL_PARAM params[] = { in fake_rsa_key_params()
156 OSSL_PARAM params[] = { in fake_rsa_key_params()
170 OSSL_PARAM *params = NULL; in fake_rsa_keymgmt_export()
184 static const OSSL_PARAM fake_rsa_import_key_types[] = {
204 static const OSSL_PARAM fake_rsa_export_key_types[] = {
236 const OSSL_PARAM params[]) in fake_rsa_gen_init()
394 const OSSL_PARAM *p; in fake_rsa_dgstsgnvfy_init()
556 OSSL_PARAM pw_params[2] = { in fake_rsa_st_open_ex()
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_null.c42 const OSSL_PARAM params[]) in null_einit()
56 const OSSL_PARAM params[]) in null_dinit()
103 static int null_get_params(OSSL_PARAM params[]) in null_get_params()
108 static const OSSL_PARAM null_known_gettable_ctx_params[] = {
116 static const OSSL_PARAM *null_gettable_ctx_params(ossl_unused void *cctx, in null_gettable_ctx_params()
123 static int null_get_ctx_params(void *vctx, OSSL_PARAM params[]) in null_get_ctx_params()
126 OSSL_PARAM *p; in null_get_ctx_params()
147 static const OSSL_PARAM null_known_settable_ctx_params[] = {
153 static const OSSL_PARAM *null_settable_ctx_params(ossl_unused void *cctx, in null_settable_ctx_params()
161 static int null_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in null_set_ctx_params()
[all …]
H A Dcipher_chacha20.c87 static int chacha20_get_params(OSSL_PARAM params[]) in chacha20_get_params()
95 static int chacha20_get_ctx_params(void *vctx, OSSL_PARAM params[]) in chacha20_get_ctx_params()
97 OSSL_PARAM *p; in chacha20_get_ctx_params()
113 static const OSSL_PARAM chacha20_known_gettable_ctx_params[] = {
118 const OSSL_PARAM *chacha20_gettable_ctx_params(ossl_unused void *cctx, in chacha20_gettable_ctx_params()
124 static int chacha20_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in chacha20_set_ctx_params()
126 const OSSL_PARAM *p; in chacha20_set_ctx_params()
157 static const OSSL_PARAM chacha20_known_settable_ctx_params[] = {
162 const OSSL_PARAM *chacha20_settable_ctx_params(ossl_unused void *cctx, in chacha20_settable_ctx_params()
170 const OSSL_PARAM params[]) in ossl_chacha20_einit()
[all …]
H A Dcipher_rc4_hmac_md5.c86 size_t ivlen, const OSSL_PARAM params[]) in rc4_hmac_md5_einit()
95 size_t ivlen, const OSSL_PARAM params[]) in rc4_hmac_md5_dinit()
102 static const OSSL_PARAM rc4_hmac_md5_known_gettable_ctx_params[] = {
108 const OSSL_PARAM *rc4_hmac_md5_gettable_ctx_params(ossl_unused void *cctx, in rc4_hmac_md5_gettable_ctx_params()
114 static int rc4_hmac_md5_get_ctx_params(void *vctx, OSSL_PARAM params[]) in rc4_hmac_md5_get_ctx_params()
117 OSSL_PARAM *p; in rc4_hmac_md5_get_ctx_params()
138 static const OSSL_PARAM rc4_hmac_md5_known_settable_ctx_params[] = {
144 const OSSL_PARAM *rc4_hmac_md5_settable_ctx_params(ossl_unused void *cctx, in rc4_hmac_md5_settable_ctx_params()
150 static int rc4_hmac_md5_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in rc4_hmac_md5_set_ctx_params()
153 const OSSL_PARAM *p; in rc4_hmac_md5_set_ctx_params()
[all …]
/openssl/crypto/rsa/
H A Drsa_acvp_test_params.c16 int ossl_rsa_acvp_test_gen_params_new(OSSL_PARAM **dst, const OSSL_PARAM src[]) in ossl_rsa_acvp_test_gen_params_new()
18 const OSSL_PARAM *p, *s; in ossl_rsa_acvp_test_gen_params_new()
19 OSSL_PARAM *d, *alloc = NULL; in ossl_rsa_acvp_test_gen_params_new()
22 static const OSSL_PARAM settable[] = { in ossl_rsa_acvp_test_gen_params_new()
65 void ossl_rsa_acvp_test_gen_params_free(OSSL_PARAM *dst) in ossl_rsa_acvp_test_gen_params_free()
67 OSSL_PARAM *p; in ossl_rsa_acvp_test_gen_params_free()
79 int ossl_rsa_acvp_test_set_params(RSA *r, const OSSL_PARAM params[]) in ossl_rsa_acvp_test_set_params()
82 const OSSL_PARAM *p; in ossl_rsa_acvp_test_set_params()
125 int ossl_rsa_acvp_test_get_params(RSA *r, OSSL_PARAM params[]) in ossl_rsa_acvp_test_get_params()
128 OSSL_PARAM *p; in ossl_rsa_acvp_test_get_params()
/openssl/providers/implementations/macs/
H A Dpoly1305_prov.c94 size_t keylen, const OSSL_PARAM params[]) in poly1305_init()
134 static const OSSL_PARAM known_gettable_params[] = {
138 static const OSSL_PARAM *poly1305_gettable_params(void *provctx) in poly1305_gettable_params()
143 static int poly1305_get_params(OSSL_PARAM params[]) in poly1305_get_params()
145 OSSL_PARAM *p; in poly1305_get_params()
153 static const OSSL_PARAM known_settable_ctx_params[] = {
157 static const OSSL_PARAM *poly1305_settable_ctx_params(ossl_unused void *ctx, in poly1305_settable_ctx_params()
163 static int poly1305_set_ctx_params(void *vmacctx, const OSSL_PARAM *params) in poly1305_set_ctx_params()
166 const OSSL_PARAM *p; in poly1305_set_ctx_params()
H A Dcmac_prov.c130 static int tdes_check_param(struct cmac_data_st *macctx, OSSL_PARAM *p, in tdes_check_param()
153 OSSL_PARAM *p = NULL; in cmac_setkey()
156 OSSL_PARAM prms[2] = { OSSL_PARAM_END, OSSL_PARAM_END }; in cmac_setkey()
171 size_t keylen, const OSSL_PARAM params[]) in cmac_init()
202 static const OSSL_PARAM known_gettable_ctx_params[] = {
208 static const OSSL_PARAM *cmac_gettable_ctx_params(ossl_unused void *ctx, in cmac_gettable_ctx_params()
214 static int cmac_get_ctx_params(void *vmacctx, OSSL_PARAM params[]) in cmac_get_ctx_params()
216 OSSL_PARAM *p; in cmac_get_ctx_params()
231 static const OSSL_PARAM known_settable_ctx_params[] = {
238 static const OSSL_PARAM *cmac_settable_ctx_params(ossl_unused void *ctx, in cmac_settable_ctx_params()
[all …]
/openssl/providers/implementations/signature/
H A Ddsa_sig.c430 const OSSL_PARAM params[]) in dsa_verify_init()
453 OSSL_PARAM params[2]; in dsa_verify_set_sig()
672 OSSL_PARAM *p; in dsa_get_ctx_params()
697 static const OSSL_PARAM known_gettable_ctx_params[] = {
719 const OSSL_PARAM *p; in dsa_common_set_ctx_params()
748 const OSSL_PARAM *p; in dsa_set_ctx_params()
763 const OSSL_PARAM *propsp = in dsa_set_ctx_params()
778 static const OSSL_PARAM settable_ctx_params[] = {
784 static const OSSL_PARAM settable_ctx_params_no_digest[] = {
935 static const OSSL_PARAM settable_sigalg_ctx_params[] = {
[all …]
/openssl/providers/implementations/kdfs/
H A Dpvkkdf.c106 OSSL_PARAM params[2] = { OSSL_PARAM_END, OSSL_PARAM_END }; in kdf_pvk_init()
117 const OSSL_PARAM *p) in pvk_set_membuf()
134 const OSSL_PARAM params[]) in kdf_pvk_derive()
179 static int kdf_pvk_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pvk_set_ctx_params()
181 const OSSL_PARAM *p; in kdf_pvk_set_ctx_params()
203 static const OSSL_PARAM *kdf_pvk_settable_ctx_params(ossl_unused void *ctx, in kdf_pvk_settable_ctx_params()
206 static const OSSL_PARAM known_settable_ctx_params[] = { in kdf_pvk_settable_ctx_params()
216 static int kdf_pvk_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pvk_get_ctx_params()
218 OSSL_PARAM *p; in kdf_pvk_get_ctx_params()
225 static const OSSL_PARAM *kdf_pvk_gettable_ctx_params(ossl_unused void *ctx, in kdf_pvk_gettable_ctx_params()
[all …]

Completed in 86 milliseconds

12345678910>>...18