Home
last modified time | relevance | path

Searched defs:libctx (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/freebsd/crypto/openssl/test/helpers/
H A Dpredefined_dhparams.c18 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()
/freebsd/crypto/openssl/test/testutil/
H A Dprovider.c16 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 Dload.c18 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()
/freebsd/crypto/openssl/providers/fips/
H A Dself_test_kats.c21 OSSL_LIB_CTX *libctx) in self_test_digest()
86 OSSL_LIB_CTX *libctx) in self_test_cipher()
196 OSSL_LIB_CTX *libctx) in self_test_kdf()
251 OSSL_LIB_CTX *libctx) in self_test_drbg()
363 OSSL_SELF_TEST *st, OSSL_LIB_CTX *libctx) in self_test_ka()
440 OSSL_SELF_TEST *st, OSSL_LIB_CTX *libctx) in self_test_sign()
534 OSSL_LIB_CTX *libctx) in self_test_asym_cipher()
619 static int self_test_digests(OSSL_SELF_TEST *st, OSSL_LIB_CTX *libctx) in self_test_digests()
630 static int self_test_ciphers(OSSL_SELF_TEST *st, OSSL_LIB_CTX *libctx) in self_test_ciphers()
641 static int self_test_asym_ciphers(OSSL_SELF_TEST *st, OSSL_LIB_CTX *libctx) in self_test_asym_ciphers()
[all …]
/freebsd/crypto/openssl/crypto/evp/
H A Devp_fetch.c46 OSSL_LIB_CTX *libctx; member
80 static OSSL_METHOD_STORE *get_evp_method_store(OSSL_LIB_CTX *libctx) in get_evp_method_store()
230 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in construct_evp_method() local
396 void *evp_generic_fetch(OSSL_LIB_CTX *libctx, int operation_id, in evp_generic_fetch()
423 void *evp_generic_fetch_by_number(OSSL_LIB_CTX *libctx, int operation_id, in evp_generic_fetch_by_number()
469 int evp_method_store_cache_flush(OSSL_LIB_CTX *libctx) in evp_method_store_cache_flush()
480 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in evp_method_store_remove_all_provided() local
488 static int evp_set_parsed_default_properties(OSSL_LIB_CTX *libctx, in evp_set_parsed_default_properties()
537 int evp_set_default_properties_int(OSSL_LIB_CTX *libctx, const char *propq, in evp_set_default_properties_int()
553 int EVP_set_default_properties(OSSL_LIB_CTX *libctx, const char *propq) in EVP_set_default_properties()
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dx509_d2.c15 int X509_STORE_set_default_paths_ex(X509_STORE *ctx, OSSL_LIB_CTX *libctx, in X509_STORE_set_default_paths_ex()
46 OSSL_LIB_CTX *libctx, const char *propq) in X509_STORE_load_file_ex()
77 OSSL_LIB_CTX *libctx, const char *propq) in X509_STORE_load_store_ex()
95 const char *path, OSSL_LIB_CTX *libctx, in X509_STORE_load_locations_ex()
H A Dx_req.c92 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()
H A Dby_store.c18 int depth, OSSL_LIB_CTX *libctx, const char *propq) in cache_objects()
109 long argl, char **retp, OSSL_LIB_CTX *libctx, in by_store_ctrl_ex()
149 OSSL_LIB_CTX *libctx, const char *propq) in by_store()
167 OSSL_LIB_CTX *libctx, const char *propq) in by_store_subject_ex()
/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_params_validate.c52 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()
/freebsd/crypto/openssl/demos/signature/
H A DEVP_Signature_demo.c44 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 Drsa_pss_direct.c38 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 Drsa_pss_hash.c33 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
/freebsd/crypto/openssl/crypto/asn1/
H A Dd2i_pr.c28 long length, OSSL_LIB_CTX *libctx, const char *propq) in d2i_PrivateKey_decoder()
79 long length, OSSL_LIB_CTX *libctx, const char *propq) in ossl_d2i_PrivateKey_legacy()
144 long length, OSSL_LIB_CTX *libctx, in d2i_PrivateKey_ex()
165 OSSL_LIB_CTX *libctx, in d2i_AutoPrivateKey_legacy()
219 long length, OSSL_LIB_CTX *libctx, in d2i_AutoPrivateKey_ex()
H A Dtasn_new.c37 ASN1_VALUE *ASN1_item_new_ex(const ASN1_ITEM *it, OSSL_LIB_CTX *libctx, in ASN1_item_new_ex()
50 OSSL_LIB_CTX *libctx, const char *propq) in ossl_asn1_item_ex_new_intern()
61 OSSL_LIB_CTX *libctx, const char *propq) in asn1_item_embed_new()
208 OSSL_LIB_CTX *libctx, const char *propq) in asn1_template_new()
/freebsd/crypto/openssl/crypto/store/
H A Dstore_meth.c92 OSSL_LIB_CTX *libctx; member
124 static OSSL_METHOD_STORE *get_loader_store(OSSL_LIB_CTX *libctx) in get_loader_store()
272 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in construct_loader() local
394 OSSL_STORE_LOADER *OSSL_STORE_LOADER_fetch(OSSL_LIB_CTX *libctx, in OSSL_STORE_LOADER_fetch()
408 OSSL_STORE_LOADER *ossl_store_loader_fetch_by_number(OSSL_LIB_CTX *libctx, in ossl_store_loader_fetch_by_number()
422 int ossl_store_loader_store_cache_flush(OSSL_LIB_CTX *libctx) in ossl_store_loader_store_cache_flush()
433 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in ossl_store_loader_store_remove_all_provided() local
483 OSSL_LIB_CTX *libctx = ossl_provider_libctx(loader->prov); in OSSL_STORE_LOADER_is_a() local
503 void OSSL_STORE_LOADER_do_all_provided(OSSL_LIB_CTX *libctx, in OSSL_STORE_LOADER_do_all_provided()
531 OSSL_LIB_CTX *libctx = ossl_provider_libctx(loader->prov); in OSSL_STORE_LOADER_names_do_all() local
H A Dstore_result.c92 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()
/freebsd/crypto/openssl/test/
H A Dprovider_test.c36 static int test_provider(OSSL_LIB_CTX **libctx, const char *name, in test_provider()
162 OSSL_LIB_CTX *libctx = OSSL_LIB_CTX_new(); in test_builtin_provider() local
181 OSSL_LIB_CTX *libctx = OSSL_LIB_CTX_new(); in test_builtin_provider_with_child() local
213 OSSL_LIB_CTX *libctx = OSSL_LIB_CTX_new(); in test_loaded_provider() local
/freebsd/crypto/openssl/crypto/encode_decode/
H A Ddecoder_meth.c89 OSSL_LIB_CTX *libctx; member
121 static OSSL_METHOD_STORE *get_decoder_store(OSSL_LIB_CTX *libctx) in get_decoder_store()
225 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in ossl_decoder_from_algorithm() local
324 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in construct_decoder() local
450 OSSL_DECODER *OSSL_DECODER_fetch(OSSL_LIB_CTX *libctx, const char *name, in OSSL_DECODER_fetch()
463 OSSL_DECODER *ossl_decoder_fetch_by_number(OSSL_LIB_CTX *libctx, int id, in ossl_decoder_fetch_by_number()
476 int ossl_decoder_store_cache_flush(OSSL_LIB_CTX *libctx) in ossl_decoder_store_cache_flush()
487 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in ossl_decoder_store_remove_all_provided() local
553 OSSL_LIB_CTX *libctx = ossl_provider_libctx(decoder->base.prov); in OSSL_DECODER_is_a() local
573 void OSSL_DECODER_do_all_provided(OSSL_LIB_CTX *libctx, in OSSL_DECODER_do_all_provided()
[all …]
H A Dencoder_meth.c89 OSSL_LIB_CTX *libctx; member
121 static OSSL_METHOD_STORE *get_encoder_store(OSSL_LIB_CTX *libctx) in get_encoder_store()
225 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in encoder_from_algorithm() local
334 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in construct_encoder() local
459 OSSL_ENCODER *OSSL_ENCODER_fetch(OSSL_LIB_CTX *libctx, const char *name, in OSSL_ENCODER_fetch()
472 OSSL_ENCODER *ossl_encoder_fetch_by_number(OSSL_LIB_CTX *libctx, int id, in ossl_encoder_fetch_by_number()
485 int ossl_encoder_store_cache_flush(OSSL_LIB_CTX *libctx) in ossl_encoder_store_cache_flush()
496 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in ossl_encoder_store_remove_all_provided() local
562 OSSL_LIB_CTX *libctx = ossl_provider_libctx(encoder->base.prov); in OSSL_ENCODER_is_a() local
582 void OSSL_ENCODER_do_all_provided(OSSL_LIB_CTX *libctx, in OSSL_ENCODER_do_all_provided()
[all …]
/freebsd/crypto/openssl/demos/pkey/
H A DEVP_PKEY_RSA_keygen.c35 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 DEVP_PKEY_DSA_keygen.c24 EVP_PKEY *dsa_genparams(OSSL_LIB_CTX *libctx, const char *propq) in dsa_genparams()
49 OSSL_LIB_CTX *libctx = NULL; in main() local
/freebsd/crypto/openssl/crypto/pem/
H A Dpem_pkey.c35 OSSL_LIB_CTX *libctx, in pem_read_bio_key_decoder()
101 OSSL_LIB_CTX *libctx, in pem_read_bio_key_legacy()
216 OSSL_LIB_CTX *libctx, in pem_read_bio_key()
264 OSSL_LIB_CTX *libctx, const char *propq) in PEM_read_bio_PUBKEY_ex()
279 OSSL_LIB_CTX *libctx, const char *propq) in PEM_read_PUBKEY_ex()
302 OSSL_LIB_CTX *libctx, const char *propq) in PEM_read_bio_PrivateKey_ex()
375 OSSL_LIB_CTX *libctx, const char *propq) in PEM_read_bio_Parameters_ex()
408 void *u, OSSL_LIB_CTX *libctx, in PEM_read_PrivateKey_ex()
/freebsd/crypto/openssl/demos/keyexch/
H A Dx25519.c64 OSSL_LIB_CTX *libctx, in keyexch_x25519_before()
118 OSSL_LIB_CTX *libctx, in keyexch_x25519_after()
206 OSSL_LIB_CTX *libctx = NULL; in keyexch_x25519() local
/freebsd/crypto/openssl/crypto/srp/
H A Dsrp_lib.c27 OSSL_LIB_CTX *libctx, const char *propq) in srp_Calc_xy()
56 OSSL_LIB_CTX *libctx, in srp_Calc_k()
64 OSSL_LIB_CTX *libctx, const char *propq) in SRP_Calc_u_ex()
107 const BIGNUM *v, OSSL_LIB_CTX *libctx, const char *propq) in SRP_Calc_B_ex()
145 OSSL_LIB_CTX *libctx, const char *propq) in SRP_Calc_x_ex()
214 OSSL_LIB_CTX *libctx, const char *propq) in SRP_Calc_client_key_ex()
/freebsd/crypto/openssl/crypto/ec/
H A Decx_key.c14 ECX_KEY *ossl_ecx_key_new(OSSL_LIB_CTX *libctx, ECX_KEY_TYPE type, int haspubkey, in ossl_ecx_key_new()
76 void ossl_ecx_key_set0_libctx(ECX_KEY *key, OSSL_LIB_CTX *libctx) in ossl_ecx_key_set0_libctx()

12345678910>>...12