/openssl/test/helpers/ |
H A D | predefined_dhparams.c | 18 static EVP_PKEY *get_dh_from_pg_bn(OSSL_LIB_CTX *libctx, const char *type, in get_dh_from_pg_bn() 48 static EVP_PKEY *get_dh_from_pg(OSSL_LIB_CTX *libctx, const char *type, in get_dh_from_pg() 72 EVP_PKEY *get_dh512(OSSL_LIB_CTX *libctx) in get_dh512() 90 EVP_PKEY *get_dhx512(OSSL_LIB_CTX *libctx) in get_dhx512() 119 EVP_PKEY *get_dh1024dsa(OSSL_LIB_CTX *libctx) in get_dh1024dsa() 152 EVP_PKEY *get_dh2048(OSSL_LIB_CTX *libctx) in get_dh2048() 173 EVP_PKEY *get_dh4096(OSSL_LIB_CTX *libctx) in get_dh4096()
|
/openssl/test/testutil/ |
H A D | provider.c | 16 int test_get_libctx(OSSL_LIB_CTX **libctx, OSSL_PROVIDER **default_null_prov, in test_get_libctx() 53 int test_arg_libctx(OSSL_LIB_CTX **libctx, OSSL_PROVIDER **default_null_prov, in test_arg_libctx() 77 static int fips_provider_version(OSSL_LIB_CTX *libctx, FIPS_VERSION *vers) in fips_provider_version() 99 int fips_provider_version_eq(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_eq() 109 int fips_provider_version_ne(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_ne() 119 int fips_provider_version_le(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_le() 132 int fips_provider_version_lt(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_lt() 145 int fips_provider_version_gt(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_gt() 158 int fips_provider_version_ge(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_ge() 171 int fips_provider_version_match(OSSL_LIB_CTX *libctx, const char *versions) in fips_provider_version_match()
|
H A D | load.c | 18 X509 *load_cert_pem(const char *file, OSSL_LIB_CTX *libctx) in load_cert_pem() 69 EVP_PKEY *load_pkey_pem(const char *file, OSSL_LIB_CTX *libctx) in load_pkey_pem() 92 X509_REQ *load_csr_der(const char *file, OSSL_LIB_CTX *libctx) in load_csr_der()
|
/openssl/providers/common/ |
H A D | securitycheck_fips.c | 22 int ossl_fips_config_securitycheck_enabled(OSSL_LIB_CTX *libctx) in ossl_fips_config_securitycheck_enabled() 37 OSSL_LIB_CTX *libctx, in ossl_fips_ind_rsa_key_check() 55 OSSL_LIB_CTX *libctx, in ossl_fips_ind_ec_key_check() 82 OSSL_LIB_CTX *libctx, in ossl_fips_ind_digest_exch_check() 99 OSSL_LIB_CTX *libctx, in ossl_fips_ind_digest_sign_check()
|
/openssl/providers/fips/ |
H A D | self_test_kats.c | 29 OSSL_LIB_CTX *libctx) in self_test_digest() 94 OSSL_LIB_CTX *libctx) in self_test_cipher() 203 OSSL_LIB_CTX *libctx) in self_test_kdf() 258 OSSL_LIB_CTX *libctx) in self_test_drbg() 370 OSSL_SELF_TEST *st, OSSL_LIB_CTX *libctx) in self_test_ka() 568 static int self_test_digests(OSSL_SELF_TEST *st, OSSL_LIB_CTX *libctx) in self_test_digests() 590 static int self_test_kdfs(OSSL_SELF_TEST *st, OSSL_LIB_CTX *libctx) in self_test_kdfs() 601 static int self_test_drbgs(OSSL_SELF_TEST *st, OSSL_LIB_CTX *libctx) in self_test_drbgs() 612 static int self_test_kas(OSSL_SELF_TEST *st, OSSL_LIB_CTX *libctx) in self_test_kas() 748 static int setup_main_random(OSSL_LIB_CTX *libctx) in setup_main_random() [all …]
|
/openssl/crypto/ |
H A D | indicator_core.c | 34 static INDICATOR_CB *get_indicator_callback(OSSL_LIB_CTX *libctx) in get_indicator_callback() 39 void OSSL_INDICATOR_set_callback(OSSL_LIB_CTX *libctx, in OSSL_INDICATOR_set_callback() 48 void OSSL_INDICATOR_get_callback(OSSL_LIB_CTX *libctx, in OSSL_INDICATOR_get_callback()
|
H A D | provider.c | 18 OSSL_PROVIDER *OSSL_PROVIDER_try_load_ex(OSSL_LIB_CTX *libctx, const char *name, in OSSL_PROVIDER_try_load_ex() 52 OSSL_PROVIDER *OSSL_PROVIDER_try_load(OSSL_LIB_CTX *libctx, const char *name, in OSSL_PROVIDER_try_load() 58 OSSL_PROVIDER *OSSL_PROVIDER_load_ex(OSSL_LIB_CTX *libctx, const char *name, OSSL_PARAM *params) in OSSL_PROVIDER_load_ex() 66 OSSL_PROVIDER *OSSL_PROVIDER_load(OSSL_LIB_CTX *libctx, const char *name) in OSSL_PROVIDER_load() 126 int OSSL_PROVIDER_add_builtin(OSSL_LIB_CTX *libctx, const char *name, in OSSL_PROVIDER_add_builtin()
|
/openssl/crypto/evp/ |
H A D | evp_fetch.c | 28 OSSL_LIB_CTX *libctx; member 62 static OSSL_METHOD_STORE *get_evp_method_store(OSSL_LIB_CTX *libctx) in get_evp_method_store() 211 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in construct_evp_method() local 365 void *evp_generic_fetch(OSSL_LIB_CTX *libctx, int operation_id, in evp_generic_fetch() 411 int evp_method_store_cache_flush(OSSL_LIB_CTX *libctx) in evp_method_store_cache_flush() 422 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in evp_method_store_remove_all_provided() local 532 static int evp_default_property_is_enabled(OSSL_LIB_CTX *libctx, in evp_default_property_is_enabled() 584 char *EVP_get1_default_properties(OSSL_LIB_CTX *libctx) in EVP_get1_default_properties() 603 void evp_generic_do_all(OSSL_LIB_CTX *libctx, int operation_id, in evp_generic_do_all() 637 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in evp_is_a() local [all …]
|
/openssl/demos/signature/ |
H A D | EVP_ED_Signature_demo.c | 30 OSSL_LIB_CTX *libctx, in demo_sign() 90 OSSL_LIB_CTX *libctx) in demo_verify() 127 static int create_key(OSSL_LIB_CTX *libctx, in create_key() 172 OSSL_LIB_CTX *libctx = NULL; in main() local
|
H A D | EVP_EC_Signature_demo.c | 44 static EVP_PKEY *get_key(OSSL_LIB_CTX *libctx, const char *propq, int public) in get_key() 70 static int demo_sign(OSSL_LIB_CTX *libctx, const char *sig_name, in demo_sign() 150 static int demo_verify(OSSL_LIB_CTX *libctx, const char *sig_name, in demo_verify() 207 OSSL_LIB_CTX *libctx = NULL; in main() local
|
H A D | EVP_DSA_Signature_demo.c | 46 static int generate_dsa_params(OSSL_LIB_CTX *libctx, in generate_dsa_params() 83 static int generate_dsa_key(OSSL_LIB_CTX *libctx, in generate_dsa_key() 163 static int demo_sign(OSSL_LIB_CTX *libctx, in demo_sign() 228 static int demo_verify(OSSL_LIB_CTX *libctx, in demo_verify() 272 OSSL_LIB_CTX *libctx = NULL; in main() local
|
H A D | rsa_pss_direct.c | 38 static int sign(OSSL_LIB_CTX *libctx, unsigned char **sig, size_t *sig_len) in sign() 124 static int verify(OSSL_LIB_CTX *libctx, const unsigned char *sig, size_t sig_len) in verify() 189 OSSL_LIB_CTX *libctx = NULL; in main() local
|
H A D | rsa_pss_hash.c | 33 static int sign(OSSL_LIB_CTX *libctx, unsigned char **sig, size_t *sig_len) in sign() 114 static int verify(OSSL_LIB_CTX *libctx, const unsigned char *sig, size_t sig_len) in verify() 174 OSSL_LIB_CTX *libctx = NULL; in main() local
|
/openssl/crypto/x509/ |
H A D | x509_d2.c | 15 int X509_STORE_set_default_paths_ex(X509_STORE *ctx, OSSL_LIB_CTX *libctx, in X509_STORE_set_default_paths_ex() 51 OSSL_LIB_CTX *libctx, const char *propq) in X509_STORE_load_file_ex() 82 OSSL_LIB_CTX *libctx, const char *propq) in X509_STORE_load_store_ex() 100 const char *path, OSSL_LIB_CTX *libctx, in X509_STORE_load_locations_ex()
|
H A D | x_req.c | 92 OSSL_LIB_CTX **libctx = exarg; in req_cb() local 147 int ossl_x509_req_set0_libctx(X509_REQ *x, OSSL_LIB_CTX *libctx, in ossl_x509_req_set0_libctx() 163 X509_REQ *X509_REQ_new_ex(OSSL_LIB_CTX *libctx, const char *propq) in X509_REQ_new_ex()
|
/openssl/crypto/ffc/ |
H A D | ffc_params_validate.c | 52 int ossl_ffc_params_FIPS186_4_validate(OSSL_LIB_CTX *libctx, in ossl_ffc_params_FIPS186_4_validate() 70 int ossl_ffc_params_FIPS186_2_validate(OSSL_LIB_CTX *libctx, 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()
|
/openssl/test/ |
H A D | provider_test.c | 37 static int test_provider(OSSL_LIB_CTX **libctx, const char *name, in test_provider() 162 static int test_provider_ex(OSSL_LIB_CTX **libctx, const char *name) in test_provider_ex() 220 OSSL_LIB_CTX *libctx = OSSL_LIB_CTX_new(); in test_builtin_provider() local 239 OSSL_LIB_CTX *libctx = OSSL_LIB_CTX_new(); in test_builtin_provider_with_child() local 271 OSSL_LIB_CTX *libctx = OSSL_LIB_CTX_new(); in test_loaded_provider() local
|
/openssl/demos/keyexch/ |
H A D | ecdh.c | 41 static int get_peer_public_key(PEER_DATA *peer, OSSL_LIB_CTX *libctx) in get_peer_public_key() 71 static int create_peer(PEER_DATA *peer, OSSL_LIB_CTX *libctx) in create_peer() 106 OSSL_LIB_CTX *libctx) in generate_secret() 186 OSSL_LIB_CTX *libctx = NULL; in main() local
|
/openssl/demos/pkey/ |
H A D | EVP_PKEY_RSA_keygen.c | 35 static EVP_PKEY *generate_rsa_key_long(OSSL_LIB_CTX *libctx, unsigned int bits) in generate_rsa_key_long() 108 static EVP_PKEY *generate_rsa_key_short(OSSL_LIB_CTX *libctx, unsigned int bits) in generate_rsa_key_short() 243 OSSL_LIB_CTX *libctx = NULL; in main() local
|
H A D | EVP_PKEY_DSA_keygen.c | 24 static EVP_PKEY *dsa_genparams(OSSL_LIB_CTX *libctx, const char *propq) in dsa_genparams() 49 OSSL_LIB_CTX *libctx = NULL; in main() local
|
/openssl/crypto/asn1/ |
H A D | d2i_pr.c | 29 long length, OSSL_LIB_CTX *libctx, const char *propq) in d2i_PrivateKey_decoder() 92 long length, OSSL_LIB_CTX *libctx, const char *propq) in ossl_d2i_PrivateKey_legacy() 157 long length, OSSL_LIB_CTX *libctx, in d2i_PrivateKey_ex() 178 OSSL_LIB_CTX *libctx, in d2i_AutoPrivateKey_legacy() 232 long length, OSSL_LIB_CTX *libctx, in d2i_AutoPrivateKey_ex()
|
/openssl/demos/encrypt/ |
H A D | rsa_encrypt.c | 36 static EVP_PKEY *get_key(OSSL_LIB_CTX *libctx, const char *propq, int public) in get_key() 96 static int do_encrypt(OSSL_LIB_CTX *libctx, in do_encrypt() 154 static int do_decrypt(OSSL_LIB_CTX *libctx, const unsigned char *in, size_t in_len, in do_decrypt() 219 OSSL_LIB_CTX *libctx = NULL; in main() local
|
/openssl/crypto/store/ |
H A D | store_meth.c | 73 OSSL_LIB_CTX *libctx; member 105 static OSSL_METHOD_STORE *get_loader_store(OSSL_LIB_CTX *libctx) in get_loader_store() 260 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in construct_loader() local 371 OSSL_STORE_LOADER *OSSL_STORE_LOADER_fetch(OSSL_LIB_CTX *libctx, in OSSL_STORE_LOADER_fetch() 385 int ossl_store_loader_store_cache_flush(OSSL_LIB_CTX *libctx) in ossl_store_loader_store_cache_flush() 396 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in ossl_store_loader_store_remove_all_provided() local 446 OSSL_LIB_CTX *libctx = ossl_provider_libctx(loader->prov); in OSSL_STORE_LOADER_is_a() local 466 void OSSL_STORE_LOADER_do_all_provided(OSSL_LIB_CTX *libctx, in OSSL_STORE_LOADER_do_all_provided() 494 OSSL_LIB_CTX *libctx = ossl_provider_libctx(loader->prov); in OSSL_STORE_LOADER_names_do_all() local
|
H A D | store_result.c | 92 OSSL_LIB_CTX *libctx = ossl_provider_libctx(provider); in ossl_store_handle_load_result() local 189 OSSL_LIB_CTX *libctx, const char *propq) in try_key_ref() 262 OSSL_LIB_CTX *libctx, const char *propq) in try_key_value() 308 OSSL_LIB_CTX *libctx, const char *propq) in try_key_value_legacy() 388 OSSL_LIB_CTX *libctx, const char *propq) in try_key() 457 OSSL_LIB_CTX *libctx, const char *propq) in try_cert() 503 OSSL_LIB_CTX *libctx, const char *propq) in try_crl() 532 OSSL_LIB_CTX *libctx, const char *propq) in try_pkcs12()
|
/openssl/crypto/dh/ |
H A D | dh_group_params.c | 27 static DH *dh_param_init(OSSL_LIB_CTX *libctx, const DH_NAMED_GROUP *group) in dh_param_init() 40 DH *ossl_dh_new_by_nid_ex(OSSL_LIB_CTX *libctx, int nid) in ossl_dh_new_by_nid_ex()
|