Home
last modified time | relevance | path

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

12345678910>>...27

/openssl/crypto/ts/
H A Dts_verify_ctx.c17 TS_VERIFY_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in TS_VERIFY_CTX_new() local
22 void TS_VERIFY_CTX_init(TS_VERIFY_CTX *ctx) in TS_VERIFY_CTX_init()
28 void TS_VERIFY_CTX_free(TS_VERIFY_CTX *ctx) in TS_VERIFY_CTX_free()
37 int TS_VERIFY_CTX_add_flags(TS_VERIFY_CTX *ctx, int f) in TS_VERIFY_CTX_add_flags()
43 int TS_VERIFY_CTX_set_flags(TS_VERIFY_CTX *ctx, int f) in TS_VERIFY_CTX_set_flags()
50 BIO *TS_VERIFY_CTX_set_data(TS_VERIFY_CTX *ctx, BIO *b) in TS_VERIFY_CTX_set_data()
57 int TS_VERIFY_CTX_set0_data(TS_VERIFY_CTX *ctx, BIO *b) in TS_VERIFY_CTX_set0_data()
72 int TS_VERIFY_CTX_set0_store(TS_VERIFY_CTX *ctx, X509_STORE *s) in TS_VERIFY_CTX_set0_store()
96 unsigned char *TS_VERIFY_CTX_set_imprint(TS_VERIFY_CTX *ctx, in TS_VERIFY_CTX_set_imprint()
106 int TS_VERIFY_CTX_set0_imprint(TS_VERIFY_CTX *ctx, in TS_VERIFY_CTX_set0_imprint()
[all …]
H A Dts_rsp_sign.c96 TS_RESP_CTX *ctx; in TS_RESP_CTX_new_ex() local
121 void TS_RESP_CTX_free(TS_RESP_CTX *ctx) in TS_RESP_CTX_free()
223 #define TS_RESP_CTX_accuracy_free(ctx) \ argument
231 int TS_RESP_CTX_set_accuracy(TS_RESP_CTX *ctx, in TS_RESP_CTX_set_accuracy()
273 void TS_RESP_CTX_set_extension_cb(TS_RESP_CTX *ctx, in TS_RESP_CTX_set_extension_cb()
280 int TS_RESP_CTX_set_status_info(TS_RESP_CTX *ctx, in TS_RESP_CTX_set_status_info()
349 TS_REQ *TS_RESP_CTX_get_request(TS_RESP_CTX *ctx) in TS_RESP_CTX_get_request()
421 static void ts_RESP_CTX_init(TS_RESP_CTX *ctx) in ts_RESP_CTX_init()
429 static void ts_RESP_CTX_cleanup(TS_RESP_CTX *ctx) in ts_RESP_CTX_cleanup()
440 static int ts_RESP_check_request(TS_RESP_CTX *ctx) in ts_RESP_check_request()
[all …]
/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
58 void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_free()
68 int CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert) in CT_POLICY_EVAL_CTX_set1_cert()
76 int CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer) in CT_POLICY_EVAL_CTX_set1_issuer()
84 void CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx, in CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE()
90 void CT_POLICY_EVAL_CTX_set_time(CT_POLICY_EVAL_CTX *ctx, uint64_t time_in_ms) in CT_POLICY_EVAL_CTX_set_time()
95 X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_cert()
100 X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_issuer()
105 const CTLOG_STORE *CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_log_store()
110 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.c1680 void EVP_PKEY_meth_set_paramgen(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_paramgen()
1689 void EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_keygen()
1698 void EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_sign()
1709 void EVP_PKEY_meth_set_verify(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_verify()
1737 void EVP_PKEY_meth_set_signctx(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_signctx()
1749 void EVP_PKEY_meth_set_verifyctx(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_verifyctx()
1761 void EVP_PKEY_meth_set_encrypt(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_encrypt()
1773 void EVP_PKEY_meth_set_decrypt(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_decrypt()
1785 void EVP_PKEY_meth_set_derive(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_derive()
1795 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
39 void EVP_MAC_CTX_free(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_free()
77 EVP_MAC *EVP_MAC_CTX_get0_mac(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get0_mac()
82 static size_t get_size_t_ctx_param(EVP_MAC_CTX *ctx, const char *name) in get_size_t_ctx_param()
105 size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get_mac_size()
110 size_t EVP_MAC_CTX_get_block_size(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get_block_size()
126 static int evp_mac_final(EVP_MAC_CTX *ctx, int xof, in evp_mac_final()
171 int EVP_MAC_final(EVP_MAC_CTX *ctx, in EVP_MAC_final()
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()
[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 Dsignature.c816 int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_sign_init()
826 int EVP_PKEY_sign_init_ex2(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign_init_ex2()
832 int EVP_PKEY_sign_message_init(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign_message_init()
838 int EVP_PKEY_sign_message_update(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign_message_update()
860 int EVP_PKEY_sign_message_final(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign_message_final()
883 int EVP_PKEY_sign(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign()
923 int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_verify_init()
933 int EVP_PKEY_verify_init_ex2(EVP_PKEY_CTX *ctx, in EVP_PKEY_verify_init_ex2()
945 int EVP_PKEY_CTX_set_signature(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_signature()
1009 int EVP_PKEY_verify(EVP_PKEY_CTX *ctx, in EVP_PKEY_verify()
[all …]
H A Devp_lib.c382 int EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in EVP_Cipher()
610 int EVP_CIPHER_CTX_get_num(const EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_get_num()
675 int EVP_CIPHER_CTX_get_nid(const EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_get_nid()
1009 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx) in EVP_MD_CTX_md()
1017 const EVP_MD *EVP_MD_CTX_get0_md(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get0_md()
1024 EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx) in EVP_MD_CTX_get1_md()
1036 int EVP_MD_CTX_get_size_ex(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get_size_ex()
1090 void *EVP_MD_CTX_get0_md_data(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get0_md_data()
1101 void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, in EVP_MD_CTX_set_update_fn()
1108 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()
106 const EVP_KDF *EVP_KDF_CTX_kdf(EVP_KDF_CTX *ctx) in EVP_KDF_CTX_kdf()
111 void EVP_KDF_CTX_reset(EVP_KDF_CTX *ctx) in EVP_KDF_CTX_reset()
120 size_t EVP_KDF_CTX_get_kdf_size(EVP_KDF_CTX *ctx) in EVP_KDF_CTX_get_kdf_size()
138 int EVP_KDF_derive(EVP_KDF_CTX *ctx, unsigned char *key, size_t keylen, in EVP_KDF_derive()
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()
/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/x509/
H A Dx509_vfy.c219 static int verify_rpk(X509_STORE_CTX *ctx) in verify_rpk()
233 static int verify_chain(X509_STORE_CTX *ctx) in verify_chain()
272 int X509_STORE_CTX_verify(X509_STORE_CTX *ctx) in X509_STORE_CTX_verify()
285 int X509_verify_cert(X509_STORE_CTX *ctx) in X509_verify_cert()
298 static int x509_verify_rpk(X509_STORE_CTX *ctx) in x509_verify_rpk()
886 static int check_id(X509_STORE_CTX *ctx) in check_id()
1030 static int check_cert(X509_STORE_CTX *ctx) in check_cert()
1730 static int check_policy(X509_STORE_CTX *ctx) in check_policy()
3157 static int dane_verify(X509_STORE_CTX *ctx) in dane_verify()
3239 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()
45 int X509_STORE_set_default_paths(X509_STORE *ctx) in X509_STORE_set_default_paths()
50 int X509_STORE_load_file_ex(X509_STORE *ctx, const char *file, in X509_STORE_load_file_ex()
64 int X509_STORE_load_file(X509_STORE *ctx, const char *file) in X509_STORE_load_file()
69 int X509_STORE_load_path(X509_STORE *ctx, const char *path) in X509_STORE_load_path()
81 int X509_STORE_load_store_ex(X509_STORE *ctx, const char *uri, in X509_STORE_load_store_ex()
94 int X509_STORE_load_store(X509_STORE *ctx, const char *uri) in X509_STORE_load_store()
99 int X509_STORE_load_locations_ex(X509_STORE *ctx, const char *file, in X509_STORE_load_locations_ex()
112 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()
240 X509V3_CTX *ctx) in v3_generic_extension()
284 static unsigned char *generic_asn1(const char *value, X509V3_CTX *ctx, in generic_asn1()
421 void X509V3_string_free(X509V3_CTX *ctx, char *str) in X509V3_string_free()
429 void X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section) in X509V3_section_free()
454 void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf) in X509V3_set_nconf()
482 int X509V3_set_issuer_pkey(X509V3_CTX *ctx, EVP_PKEY *pkey) in X509V3_set_issuer_pkey()
545 void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash) in X509V3_set_conf_lhash()
555 int X509V3_EXT_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_add_conf()
572 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()
116 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) in HMAC_Update()
129 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) in HMAC_Final()
155 size_t HMAC_size(const HMAC_CTX *ctx) in HMAC_size()
164 HMAC_CTX *ctx = OPENSSL_zalloc(sizeof(HMAC_CTX)); in HMAC_CTX_new() local
175 static void hmac_ctx_cleanup(HMAC_CTX *ctx) in hmac_ctx_cleanup()
187 void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free()
198 static int hmac_ctx_alloc_mds(HMAC_CTX *ctx) in hmac_ctx_alloc_mds()
215 int HMAC_CTX_reset(HMAC_CTX *ctx) in HMAC_CTX_reset()
267 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()
64 int ASYNC_WAIT_CTX_get_fd(ASYNC_WAIT_CTX *ctx, const void *key, in ASYNC_WAIT_CTX_get_fd()
86 int ASYNC_WAIT_CTX_get_all_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *fd, in ASYNC_WAIT_CTX_get_all_fds()
109 int ASYNC_WAIT_CTX_get_changed_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *addfd, in ASYNC_WAIT_CTX_get_changed_fds()
138 int ASYNC_WAIT_CTX_clear_fd(ASYNC_WAIT_CTX *ctx, const void *key) in ASYNC_WAIT_CTX_clear_fd()
183 int ASYNC_WAIT_CTX_set_callback(ASYNC_WAIT_CTX *ctx, in ASYNC_WAIT_CTX_set_callback()
195 int ASYNC_WAIT_CTX_get_callback(ASYNC_WAIT_CTX *ctx, in ASYNC_WAIT_CTX_get_callback()
207 int ASYNC_WAIT_CTX_set_status(ASYNC_WAIT_CTX *ctx, int status) in ASYNC_WAIT_CTX_set_status()
213 int ASYNC_WAIT_CTX_get_status(ASYNC_WAIT_CTX *ctx) in ASYNC_WAIT_CTX_get_status()
[all …]
/openssl/crypto/
H A Dcontext.c58 int ossl_lib_ctx_write_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_write_lock()
63 int ossl_lib_ctx_read_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_read_lock()
68 int ossl_lib_ctx_unlock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_unlock()
73 int ossl_lib_ctx_is_child(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_is_child()
84 static int context_init(OSSL_LIB_CTX *ctx) in context_init()
226 static void context_deinit_objs(OSSL_LIB_CTX *ctx) in context_deinit_objs()
361 static int context_deinit(OSSL_LIB_CTX *ctx) in context_deinit()
440 OSSL_LIB_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in OSSL_LIB_CTX_new() local
453 OSSL_LIB_CTX *ctx = OSSL_LIB_CTX_new(); in OSSL_LIB_CTX_new_from_dispatch() local
489 void OSSL_LIB_CTX_free(OSSL_LIB_CTX *ctx) in OSSL_LIB_CTX_free()
[all …]
/openssl/providers/fips/include/fips/
H A Dfipsindicator.h81 # define OSSL_FIPS_IND_INIT(ctx) ossl_FIPS_IND_init(&ctx->indicator); argument
93 # define OSSL_FIPS_IND_SET_APPROVED(ctx) ossl_FIPS_IND_set_approved(&ctx->indicator); argument
109 # define OSSL_FIPS_IND_SET_CTX_PARAM(ctx, id, params, name) \ argument
115 # define OSSL_FIPS_IND_GET_CTX_PARAM(ctx, prms) \ argument
118 # define OSSL_FIPS_IND_GET(ctx) (&((ctx)->indicator)) argument
120 # define OSSL_FIPS_IND_GET_PARAM(ctx, p, settable, id, name) \ argument
142 # define OSSL_FIPS_IND_INIT(ctx) argument
143 # define OSSL_FIPS_IND_SET_APPROVED(ctx) argument
144 # define OSSL_FIPS_IND_ON_UNAPPROVED(ctx, id, libctx, algname, opname, configopt_fn) argument
146 # define OSSL_FIPS_IND_SET_CTX_PARAM(ctx, id, params, name) 1 argument
[all …]
/openssl/engines/
H A De_dasync.c603 static int dasync_sha1_init(EVP_MD_CTX *ctx) in dasync_sha1_init()
713 static int dasync_cipher_init_key_helper(EVP_CIPHER_CTX *ctx, in dasync_cipher_init_key_helper()
783 static int dasync_cipher_cleanup_helper(EVP_CIPHER_CTX *ctx, in dasync_cipher_cleanup_helper()
817 static int dasync_aes128_cbc_cleanup(EVP_CIPHER_CTX *ctx) in dasync_aes128_cbc_cleanup()
840 static int dasync_aes256_ctr_cleanup(EVP_CIPHER_CTX *ctx) in dasync_aes256_ctr_cleanup()
890 static int dasync_rsa_init(EVP_PKEY_CTX *ctx) in dasync_rsa_init()
899 static void dasync_rsa_cleanup(EVP_PKEY_CTX *ctx) in dasync_rsa_cleanup()
908 static int dasync_rsa_paramgen_init(EVP_PKEY_CTX *ctx) in dasync_rsa_paramgen_init()
926 static int dasync_rsa_keygen_init(EVP_PKEY_CTX *ctx) in dasync_rsa_keygen_init()
944 static int dasync_rsa_encrypt_init(EVP_PKEY_CTX *ctx) in dasync_rsa_encrypt_init()
[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
149 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_get_ctx_params() local
229 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ccm_init() local
273 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_stream_update() local
290 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_stream_final() local
307 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_cipher() local
325 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/crypto/thread/
H A Dapi.c30 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads) in OSSL_set_max_threads()
35 uint64_t OSSL_get_max_threads(OSSL_LIB_CTX *ctx) in OSSL_get_max_threads()
42 uint64_t OSSL_get_max_threads(OSSL_LIB_CTX *ctx) in OSSL_get_max_threads()
58 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads) in OSSL_set_max_threads()

Completed in 90 milliseconds

12345678910>>...27