/openssl-master/include/openssl/ |
A D | params.h | 71 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 …]
|
A D | core_dispatch.h | 64 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 …]
|
A D | kdf.h | 45 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-master/providers/implementations/keymgmt/ |
A D | ec_kmgmt_imexport.inc | 5 static const OSSL_PARAM ec_private_key_types[] = { 9 static const OSSL_PARAM ec_public_key_types[] = { 13 static const OSSL_PARAM ec_key_types[] = { 22 static const OSSL_PARAM ec_5_types[] = { 27 static const OSSL_PARAM ec_6_types[] = { 42 static const OSSL_PARAM ec_9_types[] = { 47 static const OSSL_PARAM ec_10_types[] = { 52 static const OSSL_PARAM ec_11_types[] = { 63 static const OSSL_PARAM ec_13_types[] = { 69 static const OSSL_PARAM ec_14_types[] = { [all …]
|
A D | mac_legacy_kmgmt.c | 187 const OSSL_PARAM *p; in mac_key_fromdata() 246 OSSL_PARAM params[]) in key_to_params() 279 OSSL_PARAM *params = NULL; in mac_export() 304 static const OSSL_PARAM mac_key_types[] = { 316 static const OSSL_PARAM cmac_key_types[] = { 337 static const OSSL_PARAM gettable_params[] = { in mac_gettable_params() 346 static const OSSL_PARAM gettable_params[] = { in cmac_gettable_params() 358 const OSSL_PARAM *p; in mac_set_params() 421 const OSSL_PARAM *p; in mac_gen_set_params() 463 static OSSL_PARAM settable[] = { in mac_gen_settable_params() [all …]
|
A D | ecx_kmgmt.c | 197 OSSL_PARAM params[]) in key_to_params() 221 OSSL_PARAM *params = NULL; in ecx_export() 250 static const OSSL_PARAM ecx_key_types[] = { 265 OSSL_PARAM *p; in ecx_get_params() 288 OSSL_PARAM *p; in ed_get_params() 323 static const OSSL_PARAM ecx_gettable_params[] = { 333 static const OSSL_PARAM ed_gettable_params[] = { 378 const OSSL_PARAM *p; in ecx_set_params() 431 static const OSSL_PARAM ed_settable_params[] = { 503 const OSSL_PARAM *p; in ecx_gen_set_params() [all …]
|
A D | dh_kmgmt.c | 195 OSSL_PARAM *params = NULL; in dh_export() 239 static const OSSL_PARAM dh_all_types[] = { 245 static const OSSL_PARAM dh_parameter_types[] = { 249 static const OSSL_PARAM dh_key_types[] = { 254 static const OSSL_PARAM *dh_types[] = { 285 OSSL_PARAM *p; in dh_get_params() 309 static const OSSL_PARAM dh_params[] = { 338 const OSSL_PARAM *p; in dh_set_params() 494 const OSSL_PARAM *p; in dh_gen_common_set_params() 568 const OSSL_PARAM *p; in dhx_gen_set_params() [all …]
|
/openssl-master/crypto/ |
A D | params_dup.c | 60 static OSSL_PARAM *ossl_param_dup(const OSSL_PARAM *src, OSSL_PARAM *dst, in ossl_param_dup() 64 const OSSL_PARAM *in; in ossl_param_dup() 102 OSSL_PARAM *OSSL_PARAM_dup(const OSSL_PARAM *src) in OSSL_PARAM_dup() 106 OSSL_PARAM *last, *dst; in OSSL_PARAM_dup() 142 const OSSL_PARAM *l = *(const OSSL_PARAM **)left; in compare_params() 143 const OSSL_PARAM *r = *(const OSSL_PARAM **)right; in compare_params() 148 OSSL_PARAM *OSSL_PARAM_merge(const OSSL_PARAM *p1, const OSSL_PARAM *p2) in OSSL_PARAM_merge() 152 const OSSL_PARAM *p = NULL; in OSSL_PARAM_merge() 153 const OSSL_PARAM **p1cur, **p2cur; in OSSL_PARAM_merge() 154 OSSL_PARAM *params, *dst; in OSSL_PARAM_merge() [all …]
|
A D | params.c | 27 OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate() 36 const OSSL_PARAM *OSSL_PARAM_locate_const(const OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate_const() 38 return OSSL_PARAM_locate((OSSL_PARAM *)p, key); in OSSL_PARAM_locate_const() 44 OSSL_PARAM res; in ossl_param_construct() 54 int OSSL_PARAM_modified(const OSSL_PARAM *p) in OSSL_PARAM_modified() 59 void OSSL_PARAM_set_all_unmodified(OSSL_PARAM *p) in OSSL_PARAM_set_all_unmodified() 217 int OSSL_PARAM_get_int(const OSSL_PARAM *p, int *val) in OSSL_PARAM_get_int() 230 int OSSL_PARAM_set_int(OSSL_PARAM *p, int val) in OSSL_PARAM_set_int() 293 int OSSL_PARAM_set_long(OSSL_PARAM *p, long int val) in OSSL_PARAM_set_long() 1265 OSSL_PARAM OSSL_PARAM_construct_end(void) in OSSL_PARAM_construct_end() [all …]
|
A D | param_build_set.c | 22 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()
|
/openssl-master/include/internal/ |
A D | param_build_set.h | 25 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,
|
/openssl-master/test/ |
A D | evp_kdf_test.c | 40 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() 550 OSSL_PARAM *params = OPENSSL_malloc(sizeof(OSSL_PARAM) * 6); in construct_pbkdf2_params() [all …]
|
/openssl-master/doc/man3/ |
A D | OSSL_PARAM_int.pod | 35 - 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 B<OSSL_PARAM> (typically used in the construction of B<OSSL_PARAM> arrays). The 189 B<OSSL_PARAM> structure. 194 string B<OSSL_PARAM> structure. 200 string B<OSSL_PARAM> structure. 214 B<OSSL_PARAM> structure. 370 OSSL_PARAM request[] = { 379 /* OSSL_PARAM *params */ [all …]
|
A D | OSSL_PARAM_dup.pod | 6 - 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 B<OSSL_PARAM>. The following utility functions allow the parameters to be 20 duplicated and merged with other B<OSSL_PARAM> to assist in this process. 39 B<OSSL_PARAM> array, or NULL if there was an error. If both parameters are NULL 44 L<OSSL_PARAM(3)>, L<OSSL_PARAM_BLD(3)>
|
A D | OSSL_PARAM_BLD.pod | 15 - functions to assist in the creation of OSSL_PARAM arrays 26 OSSL_PARAM *OSSL_PARAM_BLD_to_param(OSSL_PARAM_BLD *bld); 58 I<bld> into an allocated OSSL_PARAM array. 59 The OSSL_PARAM array and all associated storage must be freed by calling 72 OSSL_PARAM objects of the specified size and correct type for the I<val> 109 scope until the OSSL_PARAM array is freed. 114 scope until the OSSL_PARAM array is freed. 129 Both examples creating an OSSL_PARAM array that contains an RSA key. 143 OSSL_PARAM *params = NULL; 164 OSSL_PARAM *params = NULL; [all …]
|
/openssl-master/providers/implementations/ciphers/ |
A D | cipher_null.c | 42 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 …]
|
A D | cipher_chacha20.c | 67 static int chacha20_get_params(OSSL_PARAM params[]) in chacha20_get_params() 75 static int chacha20_get_ctx_params(void *vctx, OSSL_PARAM params[]) in chacha20_get_ctx_params() 77 OSSL_PARAM *p; in chacha20_get_ctx_params() 93 static const OSSL_PARAM chacha20_known_gettable_ctx_params[] = { 98 const OSSL_PARAM *chacha20_gettable_ctx_params(ossl_unused void *cctx, in chacha20_gettable_ctx_params() 104 static int chacha20_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in chacha20_set_ctx_params() 106 const OSSL_PARAM *p; in chacha20_set_ctx_params() 137 static const OSSL_PARAM chacha20_known_settable_ctx_params[] = { 142 const OSSL_PARAM *chacha20_settable_ctx_params(ossl_unused void *cctx, in chacha20_settable_ctx_params() 150 const OSSL_PARAM params[]) in ossl_chacha20_einit() [all …]
|
A D | cipher_rc4_hmac_md5.c | 76 size_t ivlen, const OSSL_PARAM params[]) in rc4_hmac_md5_einit() 85 size_t ivlen, const OSSL_PARAM params[]) in rc4_hmac_md5_dinit() 92 static const OSSL_PARAM rc4_hmac_md5_known_gettable_ctx_params[] = { 98 const OSSL_PARAM *rc4_hmac_md5_gettable_ctx_params(ossl_unused void *cctx, in rc4_hmac_md5_gettable_ctx_params() 104 static int rc4_hmac_md5_get_ctx_params(void *vctx, OSSL_PARAM params[]) in rc4_hmac_md5_get_ctx_params() 107 OSSL_PARAM *p; in rc4_hmac_md5_get_ctx_params() 128 static const OSSL_PARAM rc4_hmac_md5_known_settable_ctx_params[] = { 134 const OSSL_PARAM *rc4_hmac_md5_settable_ctx_params(ossl_unused void *cctx, in rc4_hmac_md5_settable_ctx_params() 140 static int rc4_hmac_md5_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in rc4_hmac_md5_set_ctx_params() 143 const OSSL_PARAM *p; in rc4_hmac_md5_set_ctx_params() [all …]
|
/openssl-master/crypto/rsa/ |
A D | rsa_acvp_test_params.c | 16 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-master/providers/implementations/macs/ |
A D | poly1305_prov.c | 92 size_t keylen, const OSSL_PARAM params[]) in poly1305_init() 129 static const OSSL_PARAM known_gettable_params[] = { 133 static const OSSL_PARAM *poly1305_gettable_params(void *provctx) in poly1305_gettable_params() 138 static int poly1305_get_params(OSSL_PARAM params[]) in poly1305_get_params() 140 OSSL_PARAM *p; in poly1305_get_params() 148 static const OSSL_PARAM known_settable_ctx_params[] = { 152 static const OSSL_PARAM *poly1305_settable_ctx_params(ossl_unused void *ctx, in poly1305_settable_ctx_params() 158 static int poly1305_set_ctx_params(void *vmacctx, const OSSL_PARAM *params) in poly1305_set_ctx_params() 161 const OSSL_PARAM *p; in poly1305_set_ctx_params()
|
A D | cmac_prov.c | 117 size_t keylen, const OSSL_PARAM params[]) in cmac_init() 147 static const OSSL_PARAM known_gettable_ctx_params[] = { 152 static const OSSL_PARAM *cmac_gettable_ctx_params(ossl_unused void *ctx, in cmac_gettable_ctx_params() 158 static int cmac_get_ctx_params(void *vmacctx, OSSL_PARAM params[]) in cmac_get_ctx_params() 160 OSSL_PARAM *p; in cmac_get_ctx_params() 173 static const OSSL_PARAM known_settable_ctx_params[] = { 179 static const OSSL_PARAM *cmac_settable_ctx_params(ossl_unused void *ctx, in cmac_settable_ctx_params() 188 static int cmac_set_ctx_params(void *vmacctx, const OSSL_PARAM params[]) in cmac_set_ctx_params() 192 const OSSL_PARAM *p; in cmac_set_ctx_params()
|
/openssl-master/providers/implementations/kdfs/ |
A D | pvkkdf.c | 86 OSSL_PARAM params[2] = { OSSL_PARAM_END, OSSL_PARAM_END }; in kdf_pvk_init() 97 const OSSL_PARAM *p) in pvk_set_membuf() 114 const OSSL_PARAM params[]) in kdf_pvk_derive() 159 static int kdf_pvk_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pvk_set_ctx_params() 161 const OSSL_PARAM *p; in kdf_pvk_set_ctx_params() 183 static const OSSL_PARAM *kdf_pvk_settable_ctx_params(ossl_unused void *ctx, in kdf_pvk_settable_ctx_params() 186 static const OSSL_PARAM known_settable_ctx_params[] = { in kdf_pvk_settable_ctx_params() 196 static int kdf_pvk_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pvk_get_ctx_params() 198 OSSL_PARAM *p; in kdf_pvk_get_ctx_params() 205 static const OSSL_PARAM *kdf_pvk_gettable_ctx_params(ossl_unused void *ctx, in kdf_pvk_gettable_ctx_params() [all …]
|
/openssl-master/include/crypto/ |
A D | ec.h | 72 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);
|
A D | rsa.h | 68 int ossl_rsa_todata(RSA *rsa, OSSL_PARAM_BLD *bld, OSSL_PARAM params[]); 69 int ossl_rsa_fromdata(RSA *rsa, const OSSL_PARAM params[]); 71 OSSL_PARAM_BLD *bld, OSSL_PARAM params[]); 74 const OSSL_PARAM params[], 117 int ossl_rsa_acvp_test_gen_params_new(OSSL_PARAM **dst, const OSSL_PARAM src[]); 118 void ossl_rsa_acvp_test_gen_params_free(OSSL_PARAM *dst); 120 int ossl_rsa_acvp_test_set_params(RSA *r, const OSSL_PARAM params[]); 121 int ossl_rsa_acvp_test_get_params(RSA *r, OSSL_PARAM params[]);
|
/openssl-master/providers/implementations/signature/ |
A D | dsa_sig.c | 226 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 …]
|