Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/openssl/crypto/ct/
H A Dct_policy.c31 CT_POLICY_EVAL_CTX *ctx = OPENSSL_zalloc(sizeof(CT_POLICY_EVAL_CTX)); in CT_POLICY_EVAL_CTX_new_ex() local
60 void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_free()
70 int CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert) in CT_POLICY_EVAL_CTX_set1_cert()
78 int CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer) in CT_POLICY_EVAL_CTX_set1_issuer()
86 void CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx, in CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE()
92 void CT_POLICY_EVAL_CTX_set_time(CT_POLICY_EVAL_CTX *ctx, uint64_t time_in_ms) in CT_POLICY_EVAL_CTX_set_time()
97 X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_cert()
102 X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_issuer()
107 const CTLOG_STORE *CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_log_store()
112 uint64_t CT_POLICY_EVAL_CTX_get_time(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get_time()
/openssl/crypto/evp/
H A Dpmeth_lib.c1677 void EVP_PKEY_meth_set_paramgen(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_paramgen()
1686 void EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_keygen()
1695 void EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_sign()
1706 void EVP_PKEY_meth_set_verify(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_verify()
1734 void EVP_PKEY_meth_set_signctx(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_signctx()
1746 void EVP_PKEY_meth_set_verifyctx(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_verifyctx()
1758 void EVP_PKEY_meth_set_encrypt(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_encrypt()
1770 void EVP_PKEY_meth_set_decrypt(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_decrypt()
1782 void EVP_PKEY_meth_set_derive(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_derive()
1792 void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_ctrl()
[all …]
H A Dpmeth_check.c28 static int try_provided_check(EVP_PKEY_CTX *ctx, int selection, int checktype) in try_provided_check()
47 static int evp_pkey_public_check_combined(EVP_PKEY_CTX *ctx, int checktype) in evp_pkey_public_check_combined()
81 int EVP_PKEY_public_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_public_check()
86 int EVP_PKEY_public_check_quick(EVP_PKEY_CTX *ctx) in EVP_PKEY_public_check_quick()
91 static int evp_pkey_param_check_combined(EVP_PKEY_CTX *ctx, int checktype) in evp_pkey_param_check_combined()
126 int EVP_PKEY_param_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_param_check()
131 int EVP_PKEY_param_check_quick(EVP_PKEY_CTX *ctx) in EVP_PKEY_param_check_quick()
136 int EVP_PKEY_private_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_private_check()
155 int EVP_PKEY_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_check()
160 int EVP_PKEY_pairwise_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_pairwise_check()
H A Ddh_ctrl.c19 static int dh_paramgen_check(EVP_PKEY_CTX *ctx) in dh_paramgen_check()
34 static int dh_param_derive_check(EVP_PKEY_CTX *ctx) in dh_param_derive_check()
63 int EVP_PKEY_CTX_set_dh_paramgen_seed(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_dh_paramgen_seed()
84 int EVP_PKEY_CTX_set_dh_paramgen_type(EVP_PKEY_CTX *ctx, int typ) in EVP_PKEY_CTX_set_dh_paramgen_type()
137 int EVP_PKEY_CTX_set_dh_rfc5114(EVP_PKEY_CTX *ctx, int gen) in EVP_PKEY_CTX_set_dh_rfc5114()
143 int EVP_PKEY_CTX_set_dhx_rfc5114(EVP_PKEY_CTX *ctx, int gen) in EVP_PKEY_CTX_set_dhx_rfc5114()
152 int EVP_PKEY_CTX_set_dh_nid(EVP_PKEY_CTX *ctx, int nid) in EVP_PKEY_CTX_set_dh_nid()
159 int EVP_PKEY_CTX_set_dh_pad(EVP_PKEY_CTX *ctx, int pad) in EVP_PKEY_CTX_set_dh_pad()
180 int EVP_PKEY_CTX_set_dh_kdf_type(EVP_PKEY_CTX *ctx, int kdf) in EVP_PKEY_CTX_set_dh_kdf_type()
190 int EVP_PKEY_CTX_get_dh_kdf_type(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_get_dh_kdf_type()
[all …]
H A Dec_ctrl.c24 int evp_pkey_ctx_getset_ecdh_param_checks(const EVP_PKEY_CTX *ctx) in evp_pkey_ctx_getset_ecdh_param_checks()
40 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode) in EVP_PKEY_CTX_set_ecdh_cofactor_mode()
70 int EVP_PKEY_CTX_get_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_get_ecdh_cofactor_mode()
111 int EVP_PKEY_CTX_set_ecdh_kdf_type(EVP_PKEY_CTX *ctx, int kdf) in EVP_PKEY_CTX_set_ecdh_kdf_type()
121 int EVP_PKEY_CTX_get_ecdh_kdf_type(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_get_ecdh_kdf_type()
131 int EVP_PKEY_CTX_set_ecdh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in EVP_PKEY_CTX_set_ecdh_kdf_md()
141 int EVP_PKEY_CTX_get_ecdh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD **pmd) in EVP_PKEY_CTX_get_ecdh_kdf_md()
147 int EVP_PKEY_CTX_set_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int outlen) in EVP_PKEY_CTX_set_ecdh_kdf_outlen()
176 int EVP_PKEY_CTX_get_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int *plen) in EVP_PKEY_CTX_get_ecdh_kdf_outlen()
284 int EVP_PKEY_CTX_set_ec_paramgen_curve_nid(EVP_PKEY_CTX *ctx, int nid) in EVP_PKEY_CTX_set_ec_paramgen_curve_nid()
[all …]
H A Dpmeth_gn.c25 static int gen_init(EVP_PKEY_CTX *ctx, int operation) in gen_init()
94 int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_paramgen_init()
99 int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_keygen_init()
106 EVP_PKEY_CTX *ctx = arg; in ossl_callback_to_pkey_gencb() local
128 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_generate()
259 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_paramgen()
268 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_keygen()
282 EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_get_cb()
294 EVP_PKEY_CTX *ctx = BN_GENCB_get_arg(gcb); in trans_cb() local
339 static int fromdata_init(EVP_PKEY_CTX *ctx, int operation) in fromdata_init()
[all …]
H A Dmac_lib.c24 EVP_MAC_CTX *ctx = OPENSSL_zalloc(sizeof(EVP_MAC_CTX)); in EVP_MAC_CTX_new() local
40 void EVP_MAC_CTX_free(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_free()
80 EVP_MAC *EVP_MAC_CTX_get0_mac(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get0_mac()
85 static size_t get_size_t_ctx_param(EVP_MAC_CTX *ctx, const char *name) in get_size_t_ctx_param()
108 size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get_mac_size()
113 size_t EVP_MAC_CTX_get_block_size(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get_block_size()
129 static int evp_mac_final(EVP_MAC_CTX *ctx, int xof, in evp_mac_final()
174 int EVP_MAC_final(EVP_MAC_CTX *ctx, in EVP_MAC_final()
198 int EVP_MAC_CTX_get_params(EVP_MAC_CTX *ctx, OSSL_PARAM params[]) in EVP_MAC_CTX_get_params()
205 int EVP_MAC_CTX_set_params(EVP_MAC_CTX *ctx, const OSSL_PARAM params[]) in EVP_MAC_CTX_set_params()
[all …]
H A Ddsa_ctrl.c17 static int dsa_paramgen_check(EVP_PKEY_CTX *ctx) in dsa_paramgen_check()
30 int EVP_PKEY_CTX_set_dsa_paramgen_type(EVP_PKEY_CTX *ctx, const char *name) in EVP_PKEY_CTX_set_dsa_paramgen_type()
45 int EVP_PKEY_CTX_set_dsa_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex) in EVP_PKEY_CTX_set_dsa_paramgen_gindex()
59 int EVP_PKEY_CTX_set_dsa_paramgen_seed(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_dsa_paramgen_seed()
76 int EVP_PKEY_CTX_set_dsa_paramgen_bits(EVP_PKEY_CTX *ctx, int nbits) in EVP_PKEY_CTX_set_dsa_paramgen_bits()
91 int EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits) in EVP_PKEY_CTX_set_dsa_paramgen_q_bits()
106 int EVP_PKEY_CTX_set_dsa_paramgen_md_props(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_dsa_paramgen_md_props()
127 int EVP_PKEY_CTX_set_dsa_paramgen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in EVP_PKEY_CTX_set_dsa_paramgen_md()
H A Devp_lib.c403 int EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in EVP_Cipher()
622 int EVP_CIPHER_CTX_get_num(const EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_get_num()
634 int EVP_CIPHER_CTX_set_num(EVP_CIPHER_CTX *ctx, int num) in EVP_CIPHER_CTX_set_num()
684 int EVP_CIPHER_CTX_get_nid(const EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_get_nid()
1013 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx) in EVP_MD_CTX_md()
1021 const EVP_MD *EVP_MD_CTX_get0_md(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get0_md()
1028 EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx) in EVP_MD_CTX_get1_md()
1066 void *EVP_MD_CTX_get0_md_data(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get0_md_data()
1077 void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, in EVP_MD_CTX_set_update_fn()
1084 void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags) in EVP_MD_CTX_set_flags()
[all …]
H A Dkdf_lib.c25 EVP_KDF_CTX *ctx = NULL; in EVP_KDF_CTX_new() local
45 void EVP_KDF_CTX_free(EVP_KDF_CTX *ctx) in EVP_KDF_CTX_free()
108 const EVP_KDF *EVP_KDF_CTX_kdf(EVP_KDF_CTX *ctx) in EVP_KDF_CTX_kdf()
113 void EVP_KDF_CTX_reset(EVP_KDF_CTX *ctx) in EVP_KDF_CTX_reset()
122 size_t EVP_KDF_CTX_get_kdf_size(EVP_KDF_CTX *ctx) in EVP_KDF_CTX_get_kdf_size()
140 int EVP_KDF_derive(EVP_KDF_CTX *ctx, unsigned char *key, size_t keylen, in EVP_KDF_derive()
162 int EVP_KDF_CTX_get_params(EVP_KDF_CTX *ctx, OSSL_PARAM params[]) in EVP_KDF_CTX_get_params()
169 int EVP_KDF_CTX_set_params(EVP_KDF_CTX *ctx, const OSSL_PARAM params[]) in EVP_KDF_CTX_set_params()
H A Ddigest.c28 static void cleanup_old_md_data(EVP_MD_CTX *ctx, int force) in cleanup_old_md_data()
75 static int evp_md_ctx_reset_ex(EVP_MD_CTX *ctx, int keep_fetched) in evp_md_ctx_reset_ex()
99 int EVP_MD_CTX_reset(EVP_MD_CTX *ctx) in EVP_MD_CTX_reset()
108 EVP_MD_CTX *ctx; in evp_md_ctx_new_ex() local
135 void EVP_MD_CTX_free(EVP_MD_CTX *ctx) in EVP_MD_CTX_free()
144 int evp_md_ctx_free_algctx(EVP_MD_CTX *ctx) in evp_md_ctx_free_algctx()
369 int EVP_DigestInit_ex2(EVP_MD_CTX *ctx, const EVP_MD *type, in EVP_DigestInit_ex2()
375 int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type) in EVP_DigestInit()
672 EVP_MD_CTX *ctx = EVP_MD_CTX_new(); in EVP_Digest() local
748 const OSSL_PARAM *EVP_MD_CTX_settable_params(EVP_MD_CTX *ctx) in EVP_MD_CTX_settable_params()
[all …]
/openssl/providers/common/
H A Dprovider_ctx.c19 void ossl_prov_ctx_free(PROV_CTX *ctx) in ossl_prov_ctx_free()
24 void ossl_prov_ctx_set0_libctx(PROV_CTX *ctx, OSSL_LIB_CTX *libctx) in ossl_prov_ctx_set0_libctx()
30 void ossl_prov_ctx_set0_handle(PROV_CTX *ctx, const OSSL_CORE_HANDLE *handle) in ossl_prov_ctx_set0_handle()
36 void ossl_prov_ctx_set0_core_bio_method(PROV_CTX *ctx, BIO_METHOD *corebiometh) in ossl_prov_ctx_set0_core_bio_method()
42 OSSL_LIB_CTX *ossl_prov_ctx_get0_libctx(PROV_CTX *ctx) in ossl_prov_ctx_get0_libctx()
49 const OSSL_CORE_HANDLE *ossl_prov_ctx_get0_handle(PROV_CTX *ctx) in ossl_prov_ctx_get0_handle()
56 BIO_METHOD *ossl_prov_ctx_get0_core_bio_method(PROV_CTX *ctx) in ossl_prov_ctx_get0_core_bio_method()
/openssl/crypto/ts/
H A Dts_verify_ctx.c17 TS_VERIFY_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in TS_VERIFY_CTX_new() local
24 void TS_VERIFY_CTX_init(TS_VERIFY_CTX *ctx) in TS_VERIFY_CTX_init()
30 void TS_VERIFY_CTX_free(TS_VERIFY_CTX *ctx) in TS_VERIFY_CTX_free()
39 int TS_VERIFY_CTX_add_flags(TS_VERIFY_CTX *ctx, int f) in TS_VERIFY_CTX_add_flags()
45 int TS_VERIFY_CTX_set_flags(TS_VERIFY_CTX *ctx, int f) in TS_VERIFY_CTX_set_flags()
51 BIO *TS_VERIFY_CTX_set_data(TS_VERIFY_CTX *ctx, BIO *b) in TS_VERIFY_CTX_set_data()
57 X509_STORE *TS_VERIFY_CTX_set_store(TS_VERIFY_CTX *ctx, X509_STORE *s) in TS_VERIFY_CTX_set_store()
70 unsigned char *TS_VERIFY_CTX_set_imprint(TS_VERIFY_CTX *ctx, in TS_VERIFY_CTX_set_imprint()
79 void TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx) in TS_VERIFY_CTX_cleanup()
101 TS_VERIFY_CTX *TS_REQ_to_TS_VERIFY_CTX(TS_REQ *req, TS_VERIFY_CTX *ctx) in TS_REQ_to_TS_VERIFY_CTX()
H A Dts_rsp_sign.c114 TS_RESP_CTX *ctx; in TS_RESP_CTX_new_ex() local
142 void TS_RESP_CTX_free(TS_RESP_CTX *ctx) in TS_RESP_CTX_free()
239 #define TS_RESP_CTX_accuracy_free(ctx) \ argument
247 int TS_RESP_CTX_set_accuracy(TS_RESP_CTX *ctx, in TS_RESP_CTX_set_accuracy()
289 void TS_RESP_CTX_set_extension_cb(TS_RESP_CTX *ctx, in TS_RESP_CTX_set_extension_cb()
296 int TS_RESP_CTX_set_status_info(TS_RESP_CTX *ctx, in TS_RESP_CTX_set_status_info()
355 TS_REQ *TS_RESP_CTX_get_request(TS_RESP_CTX *ctx) in TS_RESP_CTX_get_request()
427 static void ts_RESP_CTX_init(TS_RESP_CTX *ctx) in ts_RESP_CTX_init()
435 static void ts_RESP_CTX_cleanup(TS_RESP_CTX *ctx) in ts_RESP_CTX_cleanup()
446 static int ts_RESP_check_request(TS_RESP_CTX *ctx) in ts_RESP_check_request()
[all …]
/openssl/crypto/x509/
H A Dx509_vfy.c185 static int check_auth_level(X509_STORE_CTX *ctx) in check_auth_level()
216 static int verify_chain(X509_STORE_CTX *ctx) in verify_chain()
255 int X509_STORE_CTX_verify(X509_STORE_CTX *ctx) in X509_STORE_CTX_verify()
270 int X509_verify_cert(X509_STORE_CTX *ctx) in X509_verify_cert()
799 static int check_id(X509_STORE_CTX *ctx) in check_id()
943 static int check_cert(X509_STORE_CTX *ctx) in check_cert()
1495 static int get_crl_delta(X509_STORE_CTX *ctx, in get_crl_delta()
1641 static int check_policy(X509_STORE_CTX *ctx) in check_policy()
2922 static int dane_verify(X509_STORE_CTX *ctx) in dane_verify()
3004 static int build_chain(X509_STORE_CTX *ctx) in build_chain()
[all …]
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()
40 int X509_STORE_set_default_paths(X509_STORE *ctx) in X509_STORE_set_default_paths()
45 int X509_STORE_load_file_ex(X509_STORE *ctx, const char *file, in X509_STORE_load_file_ex()
59 int X509_STORE_load_file(X509_STORE *ctx, const char *file) in X509_STORE_load_file()
64 int X509_STORE_load_path(X509_STORE *ctx, const char *path) in X509_STORE_load_path()
76 int X509_STORE_load_store_ex(X509_STORE *ctx, const char *uri, in X509_STORE_load_store_ex()
89 int X509_STORE_load_store(X509_STORE *ctx, const char *uri) in X509_STORE_load_store()
94 int X509_STORE_load_locations_ex(X509_STORE *ctx, const char *file, in X509_STORE_load_locations_ex()
107 int X509_STORE_load_locations(X509_STORE *ctx, const char *file, in X509_STORE_load_locations()
H A Dv3_conf.c34 static X509_EXTENSION *X509V3_EXT_nconf_int(CONF *conf, X509V3_CTX *ctx, in X509V3_EXT_nconf_int()
233 X509V3_CTX *ctx) in v3_generic_extension()
277 static unsigned char *generic_asn1(const char *value, X509V3_CTX *ctx, in generic_asn1()
414 void X509V3_string_free(X509V3_CTX *ctx, char *str) in X509V3_string_free()
422 void X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section) in X509V3_section_free()
447 void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf) in X509V3_set_nconf()
475 int X509V3_set_issuer_pkey(X509V3_CTX *ctx, EVP_PKEY *pkey) in X509V3_set_issuer_pkey()
538 void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash) in X509V3_set_conf_lhash()
548 int X509V3_EXT_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_add_conf()
565 int X509V3_EXT_CRL_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_CRL_add_conf()
[all …]
/openssl/crypto/hmac/
H A Dhmac.c25 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, in HMAC_Init_ex()
110 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) in HMAC_Update()
117 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) in HMAC_Final()
138 size_t HMAC_size(const HMAC_CTX *ctx) in HMAC_size()
147 HMAC_CTX *ctx = OPENSSL_zalloc(sizeof(HMAC_CTX)); in HMAC_CTX_new() local
158 static void hmac_ctx_cleanup(HMAC_CTX *ctx) in hmac_ctx_cleanup()
166 void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free()
177 static int hmac_ctx_alloc_mds(HMAC_CTX *ctx) in hmac_ctx_alloc_mds()
194 int HMAC_CTX_reset(HMAC_CTX *ctx) in HMAC_CTX_reset()
240 void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags) in HMAC_CTX_set_flags()
[all …]
/openssl/crypto/async/
H A Dasync_wait.c20 void ASYNC_WAIT_CTX_free(ASYNC_WAIT_CTX *ctx) in ASYNC_WAIT_CTX_free()
43 int ASYNC_WAIT_CTX_set_wait_fd(ASYNC_WAIT_CTX *ctx, const void *key, in ASYNC_WAIT_CTX_set_wait_fd()
66 int ASYNC_WAIT_CTX_get_fd(ASYNC_WAIT_CTX *ctx, const void *key, in ASYNC_WAIT_CTX_get_fd()
88 int ASYNC_WAIT_CTX_get_all_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *fd, in ASYNC_WAIT_CTX_get_all_fds()
111 int ASYNC_WAIT_CTX_get_changed_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *addfd, in ASYNC_WAIT_CTX_get_changed_fds()
140 int ASYNC_WAIT_CTX_clear_fd(ASYNC_WAIT_CTX *ctx, const void *key) in ASYNC_WAIT_CTX_clear_fd()
185 int ASYNC_WAIT_CTX_set_callback(ASYNC_WAIT_CTX *ctx, in ASYNC_WAIT_CTX_set_callback()
197 int ASYNC_WAIT_CTX_get_callback(ASYNC_WAIT_CTX *ctx, in ASYNC_WAIT_CTX_get_callback()
209 int ASYNC_WAIT_CTX_set_status(ASYNC_WAIT_CTX *ctx, int status) in ASYNC_WAIT_CTX_set_status()
215 int ASYNC_WAIT_CTX_get_status(ASYNC_WAIT_CTX *ctx) in ASYNC_WAIT_CTX_get_status()
[all …]
/openssl/crypto/
H A Dcontext.c49 int ossl_lib_ctx_write_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_write_lock()
54 int ossl_lib_ctx_read_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_read_lock()
59 int ossl_lib_ctx_unlock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_unlock()
64 int ossl_lib_ctx_is_child(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_is_child()
75 static int context_init(OSSL_LIB_CTX *ctx) in context_init()
199 static void context_deinit_objs(OSSL_LIB_CTX *ctx) in context_deinit_objs()
311 static int context_deinit(OSSL_LIB_CTX *ctx) in context_deinit()
376 OSSL_LIB_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in OSSL_LIB_CTX_new() local
389 OSSL_LIB_CTX *ctx = OSSL_LIB_CTX_new(); in OSSL_LIB_CTX_new_from_dispatch() local
425 void OSSL_LIB_CTX_free(OSSL_LIB_CTX *ctx) in OSSL_LIB_CTX_free()
[all …]
/openssl/apps/lib/
H A Dcmp_mock_srv.c35 static void mock_srv_ctx_free(mock_srv_ctx *ctx) in mock_srv_ctx_free()
51 mock_srv_ctx *ctx = OPENSSL_zalloc(sizeof(mock_srv_ctx)); in mock_srv_ctx_new() local
70 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set1_refCert() local
86 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set1_certOut() local
103 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set1_chainOut() local
120 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set1_caPubsOut() local
137 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set_statusInfo() local
153 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set_send_error() local
165 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set_pollCount() local
181 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set_checkAfterTime() local
[all …]
/openssl/providers/implementations/ciphers/
H A Dciphercommon_ccm.c21 static int ccm_tls_init(PROV_CCM_CTX *ctx, unsigned char *aad, size_t alen) in ccm_tls_init()
52 static int ccm_tls_iv_set_fixed(PROV_CCM_CTX *ctx, unsigned char *fixed, in ccm_tls_iv_set_fixed()
63 static size_t ccm_get_ivlen(PROV_CCM_CTX *ctx) in ccm_get_ivlen()
70 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_set_ctx_params() local
146 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_get_ctx_params() local
226 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ccm_init() local
270 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_stream_update() local
287 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_stream_final() local
304 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_cipher() local
322 static int ccm_set_iv(PROV_CCM_CTX *ctx, size_t mlen) in ccm_set_iv()
[all …]
/openssl/providers/implementations/macs/
H A Dsiphash_prov.c46 static unsigned int crounds(struct siphash_data_st *ctx) in crounds()
51 static unsigned int drounds(struct siphash_data_st *ctx) in drounds()
58 struct siphash_data_st *ctx; in siphash_new() local
90 struct siphash_data_st *ctx = vmacctx; in siphash_size() local
95 static int siphash_setkey(struct siphash_data_st *ctx, in siphash_setkey()
111 struct siphash_data_st *ctx = vmacctx; in siphash_init() local
129 struct siphash_data_st *ctx = vmacctx; in siphash_update() local
141 struct siphash_data_st *ctx = vmacctx; in siphash_final() local
151 static const OSSL_PARAM *siphash_gettable_ctx_params(ossl_unused void *ctx, in siphash_gettable_ctx_params()
166 struct siphash_data_st *ctx = vmacctx; in siphash_get_ctx_params() local
[all …]
/openssl/engines/
H A De_dasync.c458 static void wait_cleanup(ASYNC_WAIT_CTX *ctx, const void *key, in wait_cleanup()
559 static int dasync_sha1_init(EVP_MD_CTX *ctx) in dasync_sha1_init()
669 static int dasync_cipher_init_key_helper(EVP_CIPHER_CTX *ctx, in dasync_cipher_init_key_helper()
742 static int dasync_cipher_cleanup_helper(EVP_CIPHER_CTX *ctx, in dasync_cipher_cleanup_helper()
776 static int dasync_aes128_cbc_cleanup(EVP_CIPHER_CTX *ctx) in dasync_aes128_cbc_cleanup()
826 static int dasync_rsa_init(EVP_PKEY_CTX *ctx) in dasync_rsa_init()
835 static void dasync_rsa_cleanup(EVP_PKEY_CTX *ctx) in dasync_rsa_cleanup()
844 static int dasync_rsa_paramgen_init(EVP_PKEY_CTX *ctx) in dasync_rsa_paramgen_init()
862 static int dasync_rsa_keygen_init(EVP_PKEY_CTX *ctx) in dasync_rsa_keygen_init()
880 static int dasync_rsa_encrypt_init(EVP_PKEY_CTX *ctx) in dasync_rsa_encrypt_init()
[all …]
/openssl/crypto/sha/
H A Dsha3.c15 void ossl_sha3_reset(KECCAK1600_CTX *ctx) in ossl_sha3_reset()
21 int ossl_sha3_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen) in ossl_sha3_init()
36 int ossl_keccak_kmac_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen) in ossl_keccak_kmac_init()
45 int ossl_sha3_update(KECCAK1600_CTX *ctx, const void *_inp, size_t len) in ossl_sha3_update()
87 int ossl_sha3_final(unsigned char *md, KECCAK1600_CTX *ctx) in ossl_sha3_final()

Completed in 107 milliseconds

12345678910>>...24