Home
last modified time | relevance | path

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

12345678910>>...15

/freebsd-14.2/crypto/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.h64 OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *,
232 OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *,
305 (void *vctx, OSSL_PARAM params[]))
400 (void *mctx, OSSL_PARAM params[]))
465 const OSSL_PARAM params[]))
576 OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *,
727 const OSSL_PARAM params[]))
738 const OSSL_PARAM params[]))
749 (void *ctx, OSSL_PARAM params[]))
757 (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);
/freebsd-14.2/crypto/openssl/crypto/
H A Dparams_dup.c59 static OSSL_PARAM *ossl_param_dup(const OSSL_PARAM *src, OSSL_PARAM *dst, in ossl_param_dup()
63 const OSSL_PARAM *in; in ossl_param_dup()
101 OSSL_PARAM *OSSL_PARAM_dup(const OSSL_PARAM *src) in OSSL_PARAM_dup()
105 OSSL_PARAM *last, *dst; in OSSL_PARAM_dup()
141 const OSSL_PARAM *l = *(const OSSL_PARAM **)left; in compare_params()
142 const OSSL_PARAM *r = *(const OSSL_PARAM **)right; in compare_params()
147 OSSL_PARAM *OSSL_PARAM_merge(const OSSL_PARAM *p1, const OSSL_PARAM *p2) in OSSL_PARAM_merge()
151 const OSSL_PARAM *p = NULL; in OSSL_PARAM_merge()
152 const OSSL_PARAM **p1cur, **p2cur; in OSSL_PARAM_merge()
153 OSSL_PARAM *params, *dst; in OSSL_PARAM_merge()
[all …]
H A Dparams.c29 OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate()
38 const OSSL_PARAM *OSSL_PARAM_locate_const(const OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate_const()
40 return OSSL_PARAM_locate((OSSL_PARAM *)p, key); in OSSL_PARAM_locate_const()
46 OSSL_PARAM res; in ossl_param_construct()
56 int OSSL_PARAM_modified(const OSSL_PARAM *p) in OSSL_PARAM_modified()
61 void OSSL_PARAM_set_all_unmodified(OSSL_PARAM *p) in OSSL_PARAM_set_all_unmodified()
219 int OSSL_PARAM_get_int(const OSSL_PARAM *p, int *val) in OSSL_PARAM_get_int()
232 int OSSL_PARAM_set_int(OSSL_PARAM *p, int val) in OSSL_PARAM_set_int()
295 int OSSL_PARAM_set_long(OSSL_PARAM *p, long int val) in OSSL_PARAM_set_long()
1289 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()
84 int ossl_param_build_set_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_bn()
96 int ossl_param_build_set_multi_key_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *params, in ossl_param_build_set_multi_key_bn()
101 OSSL_PARAM *p; in ossl_param_build_set_multi_key_bn()
/freebsd-14.2/crypto/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 Dmac_legacy_kmgmt.c186 const OSSL_PARAM *p; in mac_key_fromdata()
245 OSSL_PARAM params[]) in key_to_params()
278 OSSL_PARAM *params = NULL; in mac_export()
306 static const OSSL_PARAM mac_key_types[] = {
318 static const OSSL_PARAM cmac_key_types[] = {
339 static const OSSL_PARAM gettable_params[] = { in mac_gettable_params()
348 static const OSSL_PARAM gettable_params[] = { in cmac_gettable_params()
360 const OSSL_PARAM *p; in mac_set_params()
423 const OSSL_PARAM *p; in mac_gen_set_params()
465 static OSSL_PARAM settable[] = { in mac_gen_settable_params()
[all …]
H A Decx_kmgmt.c235 OSSL_PARAM *params = NULL; in ecx_export()
270 static const OSSL_PARAM ecx_key_types[] = {
285 OSSL_PARAM *p; in ecx_get_params()
308 OSSL_PARAM *p; in ed_get_params()
343 static const OSSL_PARAM ecx_gettable_params[] = {
353 static const OSSL_PARAM ed_gettable_params[] = {
398 const OSSL_PARAM *p; in ecx_set_params()
445 static const OSSL_PARAM ecx_settable_params[] = {
451 static const OSSL_PARAM ed_settable_params[] = {
523 const OSSL_PARAM *p; in ecx_gen_set_params()
[all …]
H A Ddh_kmgmt.c219 OSSL_PARAM *params = NULL; in dh_export()
271 static const OSSL_PARAM dh_all_types[] = {
277 static const OSSL_PARAM dh_parameter_types[] = {
281 static const OSSL_PARAM dh_key_types[] = {
286 static const OSSL_PARAM *dh_types[] = {
317 OSSL_PARAM *p; in dh_get_params()
341 static const OSSL_PARAM dh_params[] = {
370 const OSSL_PARAM *p; in dh_set_params()
526 const OSSL_PARAM *p; in dh_gen_common_set_params()
601 const OSSL_PARAM *p; in dhx_gen_set_params()
[all …]
/freebsd-14.2/crypto/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.c78 const OSSL_PARAM *p) in fake_rsa_keymgmt_import()
126 OSSL_PARAM *fake_rsa_key_params(int priv) in fake_rsa_key_params()
129 OSSL_PARAM params[] = { in fake_rsa_key_params()
150 OSSL_PARAM params[] = { in fake_rsa_key_params()
164 OSSL_PARAM *params = NULL; in fake_rsa_keymgmt_export()
178 static const OSSL_PARAM fake_rsa_import_key_types[] = {
198 static const OSSL_PARAM fake_rsa_export_key_types[] = {
230 const OSSL_PARAM params[]) in fake_rsa_gen_init()
308 const OSSL_PARAM params[]) in fake_rsa_sig_sign_init()
390 static const OSSL_PARAM known_settable_ctx_params[] = { in fake_rsa_st_settable_ctx_params()
[all …]
H A Dtls-provider.c133 static const OSSL_PARAM xor_group_params[] = {
152 static const OSSL_PARAM xor_kemgroup_params[] = {
522 OSSL_PARAM *p; in xor_get_params()
544 static const OSSL_PARAM xor_params[] = {
559 const OSSL_PARAM *p; in xor_set_params()
589 const OSSL_PARAM params[]) in xor_gen_init()
613 const OSSL_PARAM *p; in xor_gen_set_params()
632 static OSSL_PARAM settable[] = { in xor_gen_settable_params()
667 const OSSL_PARAM *param_priv_key, *param_pub_key; in xor_import()
707 OSSL_PARAM params[3], *p = params; in xor_export()
[all …]
/freebsd-14.2/crypto/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_multi_key_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
/freebsd-14.2/crypto/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.
362 const OSSL_PARAM set[] = {
376 OSSL_PARAM request[] = {
385 /* OSSL_PARAM *params */
[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)>
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.
60 The OSSL_PARAM array and all associated storage must be freed by calling
73 OSSL_PARAM objects of the specified size and correct type for the I<val>
110 scope until the OSSL_PARAM array is freed.
115 scope until the OSSL_PARAM array is freed.
135 Both examples creating an OSSL_PARAM array that contains an RSA key.
151 OSSL_PARAM *params = NULL;
175 OSSL_PARAM *params = NULL;
[all …]
/freebsd-14.2/crypto/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 …]
/freebsd-14.2/crypto/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()
/freebsd-14.2/crypto/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()
/freebsd-14.2/crypto/openssl/providers/implementations/signature/
H A Ddsa_sig.c226 const OSSL_PARAM params[]) in dsa_verify_init()
444 static int dsa_get_ctx_params(void *vpdsactx, OSSL_PARAM *params) in dsa_get_ctx_params()
447 OSSL_PARAM *p; in dsa_get_ctx_params()
464 static const OSSL_PARAM known_gettable_ctx_params[] = {
479 const OSSL_PARAM *p; in dsa_set_ctx_params()
490 const OSSL_PARAM *propsp = in dsa_set_ctx_params()
506 static const OSSL_PARAM settable_ctx_params[] = {
512 static const OSSL_PARAM settable_ctx_params_no_digest[] = {
516 static const OSSL_PARAM *dsa_settable_ctx_params(void *vpdsactx, in dsa_settable_ctx_params()
536 static const OSSL_PARAM *dsa_gettable_ctx_md_params(void *vpdsactx) in dsa_gettable_ctx_md_params()
[all …]
/freebsd-14.2/crypto/openssl/include/crypto/
H A Dec.h72 OSSL_PARAM params[], OSSL_LIB_CTX *libctx,
75 int ossl_ec_group_fromdata(EC_KEY *ec, const OSSL_PARAM params[]);
76 int ossl_ec_group_set_params(EC_GROUP *group, const OSSL_PARAM params[]);
77 int ossl_ec_key_fromdata(EC_KEY *ecx, const OSSL_PARAM params[],
79 int ossl_ec_key_otherparams_fromdata(EC_KEY *ec, const OSSL_PARAM params[]);
91 int ossl_ec_encoding_param2id(const OSSL_PARAM *p, int *id);
93 int ossl_ec_pt_format_param2id(const OSSL_PARAM *p, int *id);
H A Drsa.h68 int ossl_rsa_todata(RSA *rsa, OSSL_PARAM_BLD *bld, OSSL_PARAM params[],
70 int ossl_rsa_fromdata(RSA *rsa, const OSSL_PARAM params[], int include_private);
72 OSSL_PARAM_BLD *bld, OSSL_PARAM params[]);
75 const OSSL_PARAM params[],
118 int ossl_rsa_acvp_test_gen_params_new(OSSL_PARAM **dst, const OSSL_PARAM src[]);
119 void ossl_rsa_acvp_test_gen_params_free(OSSL_PARAM *dst);
121 int ossl_rsa_acvp_test_set_params(RSA *r, const OSSL_PARAM params[]);
122 int ossl_rsa_acvp_test_get_params(RSA *r, OSSL_PARAM params[]);

12345678910>>...15