| /crypto/ts/ |
| A D | ts_verify_ctx.c | 17 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 …]
|
| A D | ts_rsp_sign.c | 96 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() 228 #define TS_RESP_CTX_accuracy_free(ctx) \ argument 236 int TS_RESP_CTX_set_accuracy(TS_RESP_CTX *ctx, in TS_RESP_CTX_set_accuracy() 278 void TS_RESP_CTX_set_extension_cb(TS_RESP_CTX *ctx, in TS_RESP_CTX_set_extension_cb() 285 int TS_RESP_CTX_set_status_info(TS_RESP_CTX *ctx, in TS_RESP_CTX_set_status_info() 354 TS_REQ *TS_RESP_CTX_get_request(TS_RESP_CTX *ctx) in TS_RESP_CTX_get_request() 426 static void ts_RESP_CTX_init(TS_RESP_CTX *ctx) in ts_RESP_CTX_init() 434 static void ts_RESP_CTX_cleanup(TS_RESP_CTX *ctx) in ts_RESP_CTX_cleanup() 445 static int ts_RESP_check_request(TS_RESP_CTX *ctx) in ts_RESP_check_request() [all …]
|
| /crypto/evp/ |
| A D | pmeth_lib.c | 1697 void EVP_PKEY_meth_set_paramgen(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_paramgen() 1706 void EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_keygen() 1715 void EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_sign() 1726 void EVP_PKEY_meth_set_verify(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_verify() 1754 void EVP_PKEY_meth_set_signctx(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_signctx() 1766 void EVP_PKEY_meth_set_verifyctx(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_verifyctx() 1778 void EVP_PKEY_meth_set_encrypt(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_encrypt() 1790 void EVP_PKEY_meth_set_decrypt(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_decrypt() 1802 void EVP_PKEY_meth_set_derive(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_derive() 1812 void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_ctrl() [all …]
|
| 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 | 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 | 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() 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 …]
|
| A D | mac_lib.c | 24 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() 141 static int evp_mac_final(EVP_MAC_CTX *ctx, int xof, in evp_mac_final() 186 int EVP_MAC_final(EVP_MAC_CTX *ctx, in EVP_MAC_final() 210 int EVP_MAC_CTX_get_params(EVP_MAC_CTX *ctx, OSSL_PARAM params[]) in EVP_MAC_CTX_get_params() 217 int EVP_MAC_CTX_set_params(EVP_MAC_CTX *ctx, const OSSL_PARAM params[]) in EVP_MAC_CTX_set_params() [all …]
|
| A D | evp_lib.c | 387 int EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in EVP_Cipher() 615 int EVP_CIPHER_CTX_get_num(const EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_get_num() 680 int EVP_CIPHER_CTX_get_nid(const EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_get_nid() 1014 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx) in EVP_MD_CTX_md() 1022 const EVP_MD *EVP_MD_CTX_get0_md(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get0_md() 1029 EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx) in EVP_MD_CTX_get1_md() 1041 int EVP_MD_CTX_get_size_ex(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get_size_ex() 1095 void *EVP_MD_CTX_get0_md_data(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get0_md_data() 1106 void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, in EVP_MD_CTX_set_update_fn() 1113 void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags) in EVP_MD_CTX_set_flags() [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 | 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() 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()
|
| A D | signature.c | 909 int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_sign_init() 919 int EVP_PKEY_sign_init_ex2(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign_init_ex2() 925 int EVP_PKEY_sign_message_init(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign_message_init() 931 int EVP_PKEY_sign_message_update(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign_message_update() 963 int EVP_PKEY_sign_message_final(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign_message_final() 996 int EVP_PKEY_sign(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign() 1043 int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_verify_init() 1053 int EVP_PKEY_verify_init_ex2(EVP_PKEY_CTX *ctx, in EVP_PKEY_verify_init_ex2() 1065 int EVP_PKEY_CTX_set_signature(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_signature() 1150 int EVP_PKEY_verify(EVP_PKEY_CTX *ctx, in EVP_PKEY_verify() [all …]
|
| A D | ctrl_params_translate.c | 714 struct translation_ctx_st *ctx) in cleanup_translation_ctx() 748 struct translation_ctx_st *ctx, in fix_cipher_md() 805 struct translation_ctx_st *ctx) in fix_cipher() 813 struct translation_ctx_st *ctx) in fix_md() 843 struct translation_ctx_st *ctx, in fix_kdf_type() 955 struct translation_ctx_st *ctx) in fix_oid() 998 struct translation_ctx_st *ctx) in fix_dh_nid() 2715 struct translation_ctx_st ctx = { 0, }; in evp_pkey_ctx_ctrl_to_param() local 2783 struct translation_ctx_st ctx = { 0, }; in evp_pkey_ctx_ctrl_str_to_param() local 2850 struct translation_ctx_st ctx = { 0, }; in evp_pkey_ctx_setget_params_to_ctrl() local [all …]
|
| A D | evp_rand.c | 335 int EVP_RAND_CTX_up_ref(EVP_RAND_CTX *ctx) in EVP_RAND_CTX_up_ref() 344 EVP_RAND_CTX *ctx; in EVP_RAND_CTX_new() local 385 void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx) in EVP_RAND_CTX_free() 405 EVP_RAND *EVP_RAND_CTX_get0_rand(EVP_RAND_CTX *ctx) in EVP_RAND_CTX_get0_rand() 541 int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx) in EVP_RAND_uninstantiate() 633 unsigned int EVP_RAND_get_strength(EVP_RAND_CTX *ctx) in EVP_RAND_get_strength() 670 int EVP_RAND_get_state(EVP_RAND_CTX *ctx) in EVP_RAND_get_state() 688 int EVP_RAND_verify_zeroization(EVP_RAND_CTX *ctx) in EVP_RAND_verify_zeroization() 699 int evp_rand_can_seed(EVP_RAND_CTX *ctx) in evp_rand_can_seed() 720 size_t evp_rand_get_seed(EVP_RAND_CTX *ctx, in evp_rand_get_seed() [all …]
|
| /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 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()
|
| /crypto/x509/ |
| A D | x509_vfy.c | 210 static int check_auth_level(X509_STORE_CTX *ctx) in check_auth_level() 241 static int verify_rpk(X509_STORE_CTX *ctx) in verify_rpk() 254 static int verify_chain(X509_STORE_CTX *ctx) in verify_chain() 293 int X509_STORE_CTX_verify(X509_STORE_CTX *ctx) in X509_STORE_CTX_verify() 306 int X509_verify_cert(X509_STORE_CTX *ctx) in X509_verify_cert() 319 static int x509_verify_rpk(X509_STORE_CTX *ctx) in x509_verify_rpk() 938 static int check_id(X509_STORE_CTX *ctx) in check_id() 1973 static int check_policy(X509_STORE_CTX *ctx) in check_policy() 3411 static int dane_verify(X509_STORE_CTX *ctx) in dane_verify() 3493 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() 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()
|
| A D | v3_conf.c | 34 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 …]
|
| /crypto/hmac/ |
| A D | hmac.c | 25 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 …]
|
| /crypto/async/ |
| A D | async_wait.c | 20 void ASYNC_WAIT_CTX_free(ASYNC_WAIT_CTX *ctx) in ASYNC_WAIT_CTX_free() 44 int ASYNC_WAIT_CTX_set_wait_fd(ASYNC_WAIT_CTX *ctx, const void *key, in ASYNC_WAIT_CTX_set_wait_fd() 65 int ASYNC_WAIT_CTX_get_fd(ASYNC_WAIT_CTX *ctx, const void *key, in ASYNC_WAIT_CTX_get_fd() 87 int ASYNC_WAIT_CTX_get_all_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *fd, in ASYNC_WAIT_CTX_get_all_fds() 110 int ASYNC_WAIT_CTX_get_changed_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *addfd, in ASYNC_WAIT_CTX_get_changed_fds() 139 int ASYNC_WAIT_CTX_clear_fd(ASYNC_WAIT_CTX *ctx, const void *key) in ASYNC_WAIT_CTX_clear_fd() 184 int ASYNC_WAIT_CTX_set_callback(ASYNC_WAIT_CTX *ctx, in ASYNC_WAIT_CTX_set_callback() 196 int ASYNC_WAIT_CTX_get_callback(ASYNC_WAIT_CTX *ctx, in ASYNC_WAIT_CTX_get_callback() 208 int ASYNC_WAIT_CTX_set_status(ASYNC_WAIT_CTX *ctx, int status) in ASYNC_WAIT_CTX_set_status() 214 int ASYNC_WAIT_CTX_get_status(ASYNC_WAIT_CTX *ctx) in ASYNC_WAIT_CTX_get_status() [all …]
|
| /crypto/ |
| A D | context.c | 58 int ossl_lib_ctx_write_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_write_lock() 65 int ossl_lib_ctx_read_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_read_lock() 72 int ossl_lib_ctx_unlock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_unlock() 79 int ossl_lib_ctx_is_child(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_is_child() 90 static int context_init(OSSL_LIB_CTX *ctx) in context_init() 228 static void context_deinit_objs(OSSL_LIB_CTX *ctx) in context_deinit_objs() 360 static int context_deinit(OSSL_LIB_CTX *ctx) in context_deinit() 438 OSSL_LIB_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in OSSL_LIB_CTX_new() local 451 OSSL_LIB_CTX *ctx = OSSL_LIB_CTX_new(); in OSSL_LIB_CTX_new_from_dispatch() local 487 void OSSL_LIB_CTX_free(OSSL_LIB_CTX *ctx) in OSSL_LIB_CTX_free() [all …]
|
| /crypto/rand/ |
| A D | prov_seed.c | 18 size_t ossl_rand_get_entropy(ossl_unused OSSL_LIB_CTX *ctx, in ossl_rand_get_entropy() 44 size_t ossl_rand_get_user_entropy(OSSL_LIB_CTX *ctx, in ossl_rand_get_user_entropy() 57 void ossl_rand_cleanup_entropy(ossl_unused OSSL_LIB_CTX *ctx, in ossl_rand_cleanup_entropy() 63 void ossl_rand_cleanup_user_entropy(OSSL_LIB_CTX *ctx, in ossl_rand_cleanup_user_entropy() 74 size_t ossl_rand_get_nonce(ossl_unused OSSL_LIB_CTX *ctx, in ossl_rand_get_nonce() 100 size_t ossl_rand_get_user_nonce(OSSL_LIB_CTX *ctx, in ossl_rand_get_user_nonce() 122 void ossl_rand_cleanup_nonce(ossl_unused OSSL_LIB_CTX *ctx, in ossl_rand_cleanup_nonce() 128 void ossl_rand_cleanup_user_nonce(ossl_unused OSSL_LIB_CTX *ctx, in ossl_rand_cleanup_user_nonce()
|
| /crypto/thread/ |
| A D | api.c | 30 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()
|
| /crypto/sha/ |
| A D | sha3.c | 18 void ossl_sha3_reset(KECCAK1600_CTX *ctx) in ossl_sha3_reset() 28 int ossl_sha3_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen) in ossl_sha3_init() 43 int ossl_keccak_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen, size_t mdlen) in ossl_keccak_init() 52 int ossl_sha3_update(KECCAK1600_CTX *ctx, const void *_inp, size_t len) in ossl_sha3_update() 103 int ossl_sha3_final(KECCAK1600_CTX *ctx, unsigned char *out, size_t outlen) in ossl_sha3_final() 140 int ossl_sha3_squeeze(KECCAK1600_CTX *ctx, unsigned char *out, size_t outlen) in ossl_sha3_squeeze()
|
| /crypto/ec/ |
| A D | ec2_smpl.c | 181 BN_CTX *ctx) in ossl_ec_GF2m_simple_group_check_discriminant() 478 const EC_POINT *a, BN_CTX *ctx) in ossl_ec_GF2m_simple_dbl() 484 BN_CTX *ctx) in ossl_ec_GF2m_simple_invert() 509 BN_CTX *ctx) in ossl_ec_GF2m_simple_is_on_curve() 582 const EC_POINT *b, BN_CTX *ctx) in ossl_ec_GF2m_simple_cmp() 633 BN_CTX *ctx) in ossl_ec_GF2m_simple_make_affine() 703 const BIGNUM *a, BN_CTX *ctx) in ossl_ec_GF2m_simple_field_sqr() 724 EC_POINT *p, BN_CTX *ctx) in ec_GF2m_simple_ladder_pre() 777 EC_POINT *p, BN_CTX *ctx) in ec_GF2m_simple_ladder_step() 807 EC_POINT *p, BN_CTX *ctx) in ec_GF2m_simple_ladder_post() [all …]
|