/openssl/crypto/ffc/ |
H A D | ffc_params.c | 20 void ossl_ffc_params_init(FFC_PARAMS *params) in ossl_ffc_params_init() 28 void ossl_ffc_params_cleanup(FFC_PARAMS *params) in ossl_ffc_params_cleanup() 83 int ossl_ffc_params_set_seed(FFC_PARAMS *params, in ossl_ffc_params_set_seed() 104 void ossl_ffc_params_set_gindex(FFC_PARAMS *params, int index) in ossl_ffc_params_set_gindex() 109 void ossl_ffc_params_set_pcounter(FFC_PARAMS *params, int index) in ossl_ffc_params_set_pcounter() 114 void ossl_ffc_params_set_h(FFC_PARAMS *params, int index) in ossl_ffc_params_set_h() 119 void ossl_ffc_params_set_flags(FFC_PARAMS *params, unsigned int flags) in ossl_ffc_params_set_flags() 124 void ossl_ffc_params_enable_flags(FFC_PARAMS *params, unsigned int flags, in ossl_ffc_params_enable_flags() 139 int ossl_ffc_params_set_validate_params(FFC_PARAMS *params, in ossl_ffc_params_set_validate_params() 149 void ossl_ffc_params_get_validate_params(const FFC_PARAMS *params, in ossl_ffc_params_get_validate_params() [all …]
|
H A D | ffc_params_validate.c | 53 const FFC_PARAMS *params, int type, in ossl_ffc_params_FIPS186_4_validate() 71 const FFC_PARAMS *params, int type, in ossl_ffc_params_FIPS186_2_validate() 95 int ossl_ffc_params_simple_validate(OSSL_LIB_CTX *libctx, const FFC_PARAMS *params, in ossl_ffc_params_simple_validate() 139 int ossl_ffc_params_full_validate(OSSL_LIB_CTX *libctx, const FFC_PARAMS *params, in ossl_ffc_params_full_validate()
|
H A D | ffc_key_validate.c | 19 int ossl_ffc_validate_public_key_partial(const FFC_PARAMS *params, in ossl_ffc_validate_public_key_partial() 62 int ossl_ffc_validate_public_key(const FFC_PARAMS *params, in ossl_ffc_validate_public_key()
|
/openssl/test/ |
H A D | evp_kdf_test.c | 64 OSSL_PARAM *params; in test_kdf_tls1_prf() local 86 OSSL_PARAM *params; in test_kdf_tls1_prf_invalid_digest() local 104 OSSL_PARAM *params; in test_kdf_tls1_prf_zero_output_size() local 124 OSSL_PARAM *params; in test_kdf_tls1_prf_empty_secret() local 142 OSSL_PARAM *params; in test_kdf_tls1_prf_1byte_secret() local 160 OSSL_PARAM *params; in test_kdf_tls1_prf_empty_seed() local 180 OSSL_PARAM *params; in test_kdf_tls1_prf_1byte_seed() local 225 OSSL_PARAM *params; in test_kdf_hkdf() local 246 OSSL_PARAM *params; in do_kdf_hkdf_gettables() local 306 OSSL_PARAM *params; in test_kdf_hkdf_invalid_digest() local [all …]
|
H A D | ffc_internal_test.c | 177 FFC_PARAMS params; in ffc_params_validate_g_unverified_test() local 247 FFC_PARAMS params; in ffc_params_validate_pq_test() local 349 FFC_PARAMS params; in ffc_params_gen_test() local 370 FFC_PARAMS params; in ffc_params_gen_canonicalg_test() local 395 FFC_PARAMS params; in ffc_params_fips186_2_gen_validate_test() local 444 FFC_PARAMS *params; in ffc_public_validate_test() local 542 FFC_PARAMS *params; in ffc_private_validate_test() local 609 FFC_PARAMS *params; in ffc_private_gen_test() local 667 FFC_PARAMS *params, copy; in ffc_params_copy_test() local
|
H A D | provider_status_test.c | 49 static int self_test_events(const OSSL_PARAM params[], void *arg, in self_test_events() 92 static int self_test_on_demand_fail(const OSSL_PARAM params[], void *arg) in self_test_on_demand_fail() 97 static int self_test_on_demand(const OSSL_PARAM params[], void *arg) in self_test_on_demand() 102 static int self_test_on_load(const OSSL_PARAM params[], void *arg) in self_test_on_load() 110 OSSL_PARAM params[5]; in get_provider_params() local 149 OSSL_PARAM params[2]; in test_provider_status() local
|
/openssl/crypto/evp/ |
H A D | dsa_ctrl.c | 33 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_type() local 48 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_gindex() local 64 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_seed() local 79 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_bits() local 94 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_q_bits() local 111 OSSL_PARAM params[3], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_md_props() local
|
H A D | dh_ctrl.c | 52 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_paramgen_gindex() local 68 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_paramgen_seed() local 93 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_paramgen_prime_len() local 107 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_paramgen_subprime_len() local 122 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_paramgen_generator() local 240 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_kdf_outlen() local 269 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_get_dh_kdf_outlen() local 293 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set0_dh_kdf_ukm() local 324 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_get0_dh_kdf_ukm() local
|
H A D | kdf_lib.c | 122 OSSL_PARAM params[2] = { OSSL_PARAM_END, OSSL_PARAM_END }; in EVP_KDF_CTX_get_kdf_size() local 139 const OSSL_PARAM params[]) in EVP_KDF_derive() 153 int EVP_KDF_get_params(EVP_KDF *kdf, OSSL_PARAM params[]) in EVP_KDF_get_params() 160 int EVP_KDF_CTX_get_params(EVP_KDF_CTX *ctx, OSSL_PARAM params[]) in EVP_KDF_CTX_get_params() 167 int EVP_KDF_CTX_set_params(EVP_KDF_CTX *ctx, const OSSL_PARAM params[]) in EVP_KDF_CTX_set_params()
|
H A D | ec_ctrl.c | 43 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_ecdh_cofactor_mode() local 73 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_get_ecdh_cofactor_mode() local 151 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_ecdh_kdf_outlen() local 180 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_get_ecdh_kdf_outlen() local 213 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set0_ecdh_kdf_ukm() local 247 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_get0_ecdh_kdf_ukm() local
|
H A D | mac_lib.c | 87 OSSL_PARAM params[2] = { OSSL_PARAM_END, OSSL_PARAM_END }; in get_size_t_ctx_param() local 116 const OSSL_PARAM params[]) in EVP_MAC_init() 131 OSSL_PARAM params[2]; in evp_mac_final() local 188 int EVP_MAC_get_params(EVP_MAC *mac, OSSL_PARAM params[]) in EVP_MAC_get_params() 195 int EVP_MAC_CTX_get_params(EVP_MAC_CTX *ctx, OSSL_PARAM params[]) in EVP_MAC_CTX_get_params() 202 int EVP_MAC_CTX_set_params(EVP_MAC_CTX *ctx, const OSSL_PARAM params[]) in EVP_MAC_CTX_set_params() 241 const char *subalg, const OSSL_PARAM *params, in EVP_Q_mac()
|
H A D | signature.c | 489 int operation, const OSSL_PARAM params[]) in evp_pkey_signature_init() 821 int EVP_PKEY_sign_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) in EVP_PKEY_sign_init_ex() 827 EVP_SIGNATURE *algo, const OSSL_PARAM params[]) in EVP_PKEY_sign_init_ex2() 833 EVP_SIGNATURE *algo, const OSSL_PARAM params[]) in EVP_PKEY_sign_message_init() 928 int EVP_PKEY_verify_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) in EVP_PKEY_verify_init_ex() 934 EVP_SIGNATURE *algo, const OSSL_PARAM params[]) in EVP_PKEY_verify_init_ex2() 940 EVP_SIGNATURE *algo, const OSSL_PARAM params[]) in EVP_PKEY_verify_message_init() 1053 const OSSL_PARAM params[]) in EVP_PKEY_verify_recover_init_ex() 1059 EVP_SIGNATURE *algo, const OSSL_PARAM params[]) in EVP_PKEY_verify_recover_init_ex2()
|
H A D | evp_lib.c | 327 OSSL_PARAM params[10]; in evp_cipher_cache_constants() local 533 OSSL_PARAM params[2] = { OSSL_PARAM_END, OSSL_PARAM_END }; in EVP_CIPHER_CTX_get_tag_length() local 545 OSSL_PARAM params[2] = { OSSL_PARAM_END, OSSL_PARAM_END }; in EVP_CIPHER_CTX_original_iv() local 562 OSSL_PARAM params[2] = { OSSL_PARAM_END, OSSL_PARAM_END }; in EVP_CIPHER_CTX_iv() local 1126 OSSL_PARAM params[] = { OSSL_PARAM_END, OSSL_PARAM_END }; in evp_cipher_ctx_enable_use_bits() local 1256 OSSL_PARAM params[3]; in EVP_CIPHER_CTX_set_algor_params() local 1281 OSSL_PARAM params[3]; in EVP_CIPHER_CTX_get_algor_params() local 1340 OSSL_PARAM params[2]; in EVP_CIPHER_CTX_get_algor() local 1383 OSSL_PARAM params[2]; in EVP_PKEY_CTX_set_algor_params() local 1400 OSSL_PARAM params[2]; in EVP_PKEY_CTX_get_algor_params() local [all …]
|
/openssl/crypto/dh/ |
H A D | dh_backend.c | 31 static int dh_ffc_params_fromdata(DH *dh, const OSSL_PARAM params[]) in dh_ffc_params_fromdata() 42 int ossl_dh_params_fromdata(DH *dh, const OSSL_PARAM params[]) in ossl_dh_params_fromdata() 60 int ossl_dh_key_fromdata(DH *dh, const OSSL_PARAM params[], int include_private) in ossl_dh_key_fromdata() 91 int ossl_dh_params_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[]) in ossl_dh_params_todata() 103 int ossl_dh_key_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[], in ossl_dh_key_todata()
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_tdes_common.c | 80 const OSSL_PARAM params[], int enc) in tdes_init() 122 const OSSL_PARAM params[]) in ossl_tdes_einit() 129 const OSSL_PARAM params[]) in ossl_tdes_dinit() 155 int ossl_tdes_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_tdes_get_ctx_params() 188 int ossl_tdes_get_params(OSSL_PARAM params[], unsigned int md, uint64_t flags, in ossl_tdes_get_params()
|
H A D | cipher_rc4_hmac_md5.c | 86 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() 114 static int rc4_hmac_md5_get_ctx_params(void *vctx, OSSL_PARAM params[]) in rc4_hmac_md5_get_ctx_params() 150 static int rc4_hmac_md5_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in rc4_hmac_md5_set_ctx_params() 215 static int rc4_hmac_md5_get_params(OSSL_PARAM params[]) in rc4_hmac_md5_get_params()
|
H A D | cipher_chacha20.c | 87 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() 124 static int chacha20_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in chacha20_set_ctx_params() 170 const OSSL_PARAM params[]) in ossl_chacha20_einit() 189 const OSSL_PARAM params[]) in ossl_chacha20_dinit()
|
H 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() 123 static int null_get_ctx_params(void *vctx, OSSL_PARAM params[]) in null_get_ctx_params() 161 static int null_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in null_set_ctx_params()
|
/openssl/providers/implementations/keymgmt/ |
H A D | template_kmgmt.c | 136 OSSL_PARAM params[], int include_private) in key_to_params() 150 OSSL_PARAM *params = NULL; in template_export() local 184 const OSSL_PARAM params[], in ossl_template_key_fromdata() 215 static int template_import(void *key, int selection, const OSSL_PARAM params[]) in template_import() 251 static int template_get_params(void *key, OSSL_PARAM params[]) in template_get_params() 294 static int template_set_params(void *key, const OSSL_PARAM params[]) in template_set_params() 322 static int template_gen_set_params(void *genctx, const OSSL_PARAM params[]) in template_gen_set_params() 334 const OSSL_PARAM params[]) in template_gen_init()
|
H A D | ecx_kmgmt.c | 240 OSSL_PARAM *params = NULL; in ecx_export() local 321 static int ed_get_params(void *key, OSSL_PARAM params[]) in ed_get_params() 332 static int x25519_get_params(void *key, OSSL_PARAM params[]) in x25519_get_params() 338 static int x448_get_params(void *key, OSSL_PARAM params[]) in x448_get_params() 344 static int ed25519_get_params(void *key, OSSL_PARAM params[]) in ed25519_get_params() 351 static int ed448_get_params(void *key, OSSL_PARAM params[]) in ed448_get_params() 409 static int ecx_set_params(void *key, const OSSL_PARAM params[]) in ecx_set_params() 520 const OSSL_PARAM params[]) in x25519_gen_init() 526 const OSSL_PARAM params[]) in x448_gen_init() 532 const OSSL_PARAM params[]) in ed25519_gen_init() [all …]
|
H A D | mac_legacy_kmgmt.c | 182 static int mac_key_fromdata(MAC_KEY *key, const OSSL_PARAM params[]) in mac_key_fromdata() 225 static int mac_import(void *keydata, int selection, const OSSL_PARAM params[]) in mac_import() 239 OSSL_PARAM params[]) in key_to_params() 272 OSSL_PARAM *params = NULL; in mac_export() local 326 static int mac_get_params(void *key, OSSL_PARAM params[]) in mac_get_params() 351 static int mac_set_params(void *keydata, const OSSL_PARAM params[]) in mac_set_params() 391 const OSSL_PARAM params[]) in mac_gen_init() 403 const OSSL_PARAM params[]) in cmac_gen_init() 414 static int mac_gen_set_params(void *genctx, const OSSL_PARAM params[]) in mac_gen_set_params() 438 static int cmac_gen_set_params(void *genctx, const OSSL_PARAM params[]) in cmac_gen_set_params()
|
H A D | ec_kmgmt.c | 115 OSSL_PARAM params[], int include_private, in key_to_params() 243 OSSL_PARAM params[]) in otherparams_to_params() 457 OSSL_PARAM *params = NULL; in ec_export() local 639 int common_get_params(void *key, OSSL_PARAM params[], int sm2) in common_get_params() 770 int ec_get_params(void *key, OSSL_PARAM params[]) in ec_get_params() 828 int ec_set_params(void *key, const OSSL_PARAM params[]) in ec_set_params() 861 int sm2_get_params(void *key, OSSL_PARAM params[]) in sm2_get_params() 1000 const OSSL_PARAM params[]) in ec_gen_init() 1024 const OSSL_PARAM params[]) in sm2_gen_init() 1147 OSSL_PARAM *params = NULL; in ec_gen_set_group_from_params() local [all …]
|
/openssl/providers/common/ |
H A D | provider_util.c | 51 static int load_common(const OSSL_PARAM params[], const char **propquery, in load_common() 92 const OSSL_PARAM params[], in ossl_prov_cipher_load_from_params() 177 const OSSL_PARAM params[], in ossl_prov_digest_load_from_params() 225 const OSSL_PARAM params[], in ossl_prov_set_macctx() 291 const OSSL_PARAM params[], in ossl_prov_macctx_load_from_params()
|
/openssl/fuzz/ |
H A D | provider.c | 431 static int do_evp_kdf(EVP_KDF *evp_kdf, const OSSL_PARAM params[]) in do_evp_kdf() 459 static int do_evp_mac(EVP_MAC *evp_mac, const OSSL_PARAM params[]) in do_evp_mac() 495 static int do_evp_rand(EVP_RAND *evp_rand, const OSSL_PARAM params[]) in do_evp_rand() 526 static int do_evp_sig(EVP_SIGNATURE *evp_sig, const OSSL_PARAM params[]) in do_evp_sig() 531 static int do_evp_asym_cipher(EVP_ASYM_CIPHER *evp_asym_cipher, const OSSL_PARAM params[]) in do_evp_asym_cipher() 536 static int do_evp_kem(EVP_KEM *evp_kem, const OSSL_PARAM params[]) in do_evp_kem() 541 static int do_evp_key_exch(EVP_KEYEXCH *evp_kdf, const OSSL_PARAM params[]) in do_evp_key_exch() 546 static int do_evp_md(EVP_MD *evp_md, const OSSL_PARAM params[]) in do_evp_md()
|
/openssl/providers/implementations/exchange/ |
H A D | kdf_exch.c | 84 static int kdf_init(void *vpkdfctx, void *vkdf, const OSSL_PARAM params[]) in kdf_init() 169 static int kdf_set_ctx_params(void *vpkdfctx, const OSSL_PARAM params[]) in kdf_set_ctx_params() 176 static int kdf_get_ctx_params(void *vpkdfctx, OSSL_PARAM params[]) in kdf_get_ctx_params() 189 const OSSL_PARAM *params; in kdf_settable_ctx_params() local 217 const OSSL_PARAM *params; in kdf_gettable_ctx_params() local
|