/openssl-master/crypto/cmp/ |
A D | cmp_ctx.c | 104 OSSL_CMP_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in OSSL_CMP_CTX_new() local 146 int OSSL_CMP_CTX_reinit(OSSL_CMP_CTX *ctx) in OSSL_CMP_CTX_reinit() 173 void OSSL_CMP_CTX_free(OSSL_CMP_CTX *ctx) in OSSL_CMP_CTX_free() 243 int OSSL_CMP_CTX_get_status(const OSSL_CMP_CTX *ctx) in OSSL_CMP_CTX_get_status() 265 int ossl_cmp_ctx_set0_statusString(OSSL_CMP_CTX *ctx, in ossl_cmp_ctx_set0_statusString() 327 OSSL_CMP_CTX *ctx = vdata; in ossl_cmp_log_trace_cb() local 427 void OSSL_CMP_CTX_print_errors(const OSSL_CMP_CTX *ctx) in OSSL_CMP_CTX_print_errors() 507 int ossl_cmp_ctx_set1_extraCertsIn(OSSL_CMP_CTX *ctx, in ossl_cmp_ctx_set1_extraCertsIn() 523 int OSSL_CMP_CTX_set1_extraCertsOut(OSSL_CMP_CTX *ctx, in OSSL_CMP_CTX_set1_extraCertsOut() 842 int ossl_cmp_ctx_set1_recipNonce(OSSL_CMP_CTX *ctx, in ossl_cmp_ctx_set1_recipNonce() [all …]
|
/openssl-master/crypto/ct/ |
A D | ct_policy.c | 31 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-master/crypto/evp/ |
A D | pmeth_lib.c | 1677 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 …]
|
A D | pmeth_check.c | 28 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()
|
A D | dh_ctrl.c | 19 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 …]
|
A D | ec_ctrl.c | 24 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 …]
|
A D | pmeth_gn.c | 25 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() 260 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_paramgen() 269 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_keygen() 283 EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_get_cb() 295 EVP_PKEY_CTX *ctx = BN_GENCB_get_arg(gcb); in trans_cb() local 340 static int fromdata_init(EVP_PKEY_CTX *ctx, int operation) in fromdata_init() [all …]
|
A D | mac_lib.c | 24 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 …]
|
A D | dsa_ctrl.c | 17 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()
|
A D | evp_lib.c | 403 int EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in EVP_Cipher() 607 int EVP_CIPHER_CTX_get_num(const EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_get_num() 619 int EVP_CIPHER_CTX_set_num(EVP_CIPHER_CTX *ctx, int num) in EVP_CIPHER_CTX_set_num() 655 int EVP_CIPHER_CTX_get_nid(const EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_get_nid() 980 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx) in EVP_MD_CTX_md() 988 const EVP_MD *EVP_MD_CTX_get0_md(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get0_md() 995 EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx) in EVP_MD_CTX_get1_md() 1033 void *EVP_MD_CTX_get0_md_data(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get0_md_data() 1044 void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, in EVP_MD_CTX_set_update_fn() 1051 void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags) in EVP_MD_CTX_set_flags() [all …]
|
A D | kdf_lib.c | 25 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()
|
/openssl-master/providers/common/ |
A D | provider_ctx.c | 19 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-master/crypto/ts/ |
A D | ts_verify_ctx.c | 17 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()
|
A D | ts_rsp_sign.c | 114 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-master/crypto/x509/ |
A D | x509_lu.c | 35 void X509_LOOKUP_free(X509_LOOKUP *ctx) in X509_LOOKUP_free() 54 int X509_LOOKUP_init(X509_LOOKUP *ctx) in X509_LOOKUP_init() 64 int X509_LOOKUP_shutdown(X509_LOOKUP *ctx) in X509_LOOKUP_shutdown() 389 int X509_STORE_add_cert(X509_STORE *ctx, X509 *x) in X509_STORE_add_cert() 823 void X509_STORE_set_verify_cb(X509_STORE *ctx, in X509_STORE_set_verify_cb() 834 void X509_STORE_set_get_issuer(X509_STORE *ctx, in X509_STORE_set_get_issuer() 867 void X509_STORE_set_get_crl(X509_STORE *ctx, in X509_STORE_set_get_crl() 878 void X509_STORE_set_check_crl(X509_STORE *ctx, in X509_STORE_set_check_crl() 889 void X509_STORE_set_cert_crl(X509_STORE *ctx, in X509_STORE_set_cert_crl() 922 void X509_STORE_set_lookup_crls(X509_STORE *ctx, in X509_STORE_set_lookup_crls() [all …]
|
A D | x509_vfy.c | 183 static int check_auth_level(X509_STORE_CTX *ctx) in check_auth_level() 211 static int verify_chain(X509_STORE_CTX *ctx) in verify_chain() 250 int X509_STORE_CTX_verify(X509_STORE_CTX *ctx) in X509_STORE_CTX_verify() 261 int X509_verify_cert(X509_STORE_CTX *ctx) in X509_verify_cert() 790 static int check_id(X509_STORE_CTX *ctx) in check_id() 934 static int check_cert(X509_STORE_CTX *ctx) in check_cert() 1486 static int get_crl_delta(X509_STORE_CTX *ctx, in get_crl_delta() 1631 static int check_policy(X509_STORE_CTX *ctx) in check_policy() 2908 static int dane_verify(X509_STORE_CTX *ctx) in dane_verify() 2987 static int build_chain(X509_STORE_CTX *ctx) in build_chain() [all …]
|
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() 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()
|
/openssl-master/crypto/hmac/ |
A D | hmac.c | 25 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-master/crypto/async/ |
A D | async_wait.c | 20 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-master/crypto/ |
A D | context.c | 46 int ossl_lib_ctx_write_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_write_lock() 51 int ossl_lib_ctx_read_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_read_lock() 56 int ossl_lib_ctx_unlock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_unlock() 61 int ossl_lib_ctx_is_child(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_is_child() 70 static int context_init(OSSL_LIB_CTX *ctx) in context_init() 115 static int context_deinit(OSSL_LIB_CTX *ctx) in context_deinit() 189 OSSL_LIB_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in OSSL_LIB_CTX_new() local 202 OSSL_LIB_CTX *ctx = OSSL_LIB_CTX_new(); in OSSL_LIB_CTX_new_from_dispatch() local 238 void OSSL_LIB_CTX_free(OSSL_LIB_CTX *ctx) in OSSL_LIB_CTX_free() 283 int ossl_lib_ctx_is_default(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_is_default() [all …]
|
/openssl-master/providers/implementations/macs/ |
A D | siphash_prov.c | 45 static unsigned int crounds(struct siphash_data_st *ctx) in crounds() 50 static unsigned int drounds(struct siphash_data_st *ctx) in drounds() 57 struct siphash_data_st *ctx; in siphash_new() local 89 struct siphash_data_st *ctx = vmacctx; in siphash_size() local 94 static int siphash_setkey(struct siphash_data_st *ctx, in siphash_setkey() 105 struct siphash_data_st *ctx = vmacctx; in siphash_init() local 120 struct siphash_data_st *ctx = vmacctx; in siphash_update() local 132 struct siphash_data_st *ctx = vmacctx; in siphash_final() local 142 static const OSSL_PARAM *siphash_gettable_ctx_params(ossl_unused void *ctx, in siphash_gettable_ctx_params() 157 struct siphash_data_st *ctx = vmacctx; in siphash_get_ctx_params() local [all …]
|
/openssl-master/apps/lib/ |
A D | cmp_mock_srv.c | 34 static void mock_srv_ctx_free(mock_srv_ctx *ctx) in mock_srv_ctx_free() 49 mock_srv_ctx *ctx = OPENSSL_zalloc(sizeof(mock_srv_ctx)); in mock_srv_ctx_new() local 68 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set1_certOut() local 85 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set1_chainOut() local 102 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set1_caPubsOut() local 119 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set_statusInfo() local 135 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set_send_error() local 147 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set_pollCount() local 163 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set_checkAfterTime() local 182 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in process_cert_request() local [all …]
|
/openssl-master/providers/implementations/ciphers/ |
A D | ciphercommon_ccm.c | 21 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-master/engines/ |
A D | e_dasync.c | 459 static void wait_cleanup(ASYNC_WAIT_CTX *ctx, const void *key, in wait_cleanup() 560 static int dasync_sha1_init(EVP_MD_CTX *ctx) in dasync_sha1_init() 670 static int dasync_cipher_init_key_helper(EVP_CIPHER_CTX *ctx, in dasync_cipher_init_key_helper() 743 static int dasync_cipher_cleanup_helper(EVP_CIPHER_CTX *ctx, in dasync_cipher_cleanup_helper() 777 static int dasync_aes128_cbc_cleanup(EVP_CIPHER_CTX *ctx) in dasync_aes128_cbc_cleanup() 827 static int dasync_rsa_init(EVP_PKEY_CTX *ctx) in dasync_rsa_init() 836 static void dasync_rsa_cleanup(EVP_PKEY_CTX *ctx) in dasync_rsa_cleanup() 845 static int dasync_rsa_paramgen_init(EVP_PKEY_CTX *ctx) in dasync_rsa_paramgen_init() 863 static int dasync_rsa_keygen_init(EVP_PKEY_CTX *ctx) in dasync_rsa_keygen_init() 881 static int dasync_rsa_encrypt_init(EVP_PKEY_CTX *ctx) in dasync_rsa_encrypt_init() [all …]
|
/openssl-master/crypto/sha/ |
A D | sha3.c | 15 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()
|