Home
last modified time | relevance | path

Searched defs:ctx (Results 51 – 75 of 595) sorted by relevance

12345678910>>...24

/openssl/providers/implementations/storemgmt/
H A Dfile_store.c86 OPENSSL_DIR_CTX *ctx; member
110 static void free_file_ctx(struct file_ctx_st *ctx) in free_file_ctx()
127 struct file_ctx_st *ctx = NULL; in new_file_ctx() local
155 struct file_ctx_st *ctx; in file_open_stream() local
172 struct file_ctx_st *ctx; in file_open_dir() local
197 struct file_ctx_st *ctx = NULL; in file_open() local
291 struct file_ctx_st *ctx; in file_attach() local
322 struct file_ctx_st *ctx = loaderctx; in file_set_ctx_params() local
698 struct file_ctx_st *ctx = loaderctx; in file_load() local
722 struct file_ctx_st *ctx = loaderctx; in file_eof() local
[all …]
/openssl/crypto/ec/
H A Decp_mont.c144 BN_CTX *ctx) in ossl_ec_GFp_mont_group_set_curve()
197 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GFp_mont_field_mul()
208 BN_CTX *ctx) in ossl_ec_GFp_mont_field_sqr()
224 BN_CTX *ctx) in ossl_ec_GFp_mont_field_inv()
268 const BIGNUM *a, BN_CTX *ctx) in ossl_ec_GFp_mont_field_encode()
279 const BIGNUM *a, BN_CTX *ctx) in ossl_ec_GFp_mont_field_decode()
290 BN_CTX *ctx) in ossl_ec_GFp_mont_field_set_to_one()
H A Dec_lib.c317 BN_CTX *ctx = NULL; in ec_guess_cofactor() local
464 BN_CTX *ctx) in EC_GROUP_get_cofactor()
566 BN_CTX *ctx) in EC_GROUP_get_curve()
862 BN_CTX *ctx) in EC_POINT_set_affine_coordinates()
902 BN_CTX *ctx) in EC_POINT_get_affine_coordinates()
938 const EC_POINT *b, BN_CTX *ctx) in EC_POINT_add()
953 BN_CTX *ctx) in EC_POINT_dbl()
1000 BN_CTX *ctx) in EC_POINT_is_on_curve()
1014 BN_CTX *ctx) in EC_POINT_cmp()
1187 BN_CTX *ctx = BN_CTX_new_ex(group->libctx); in ec_precompute_mont_data() local
[all …]
/openssl/crypto/x509/
H A Dby_file.c47 static int by_file_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argp, in by_file_ctrl_ex()
83 static int by_file_ctrl(X509_LOOKUP *ctx, int cmd, in by_file_ctrl()
89 int X509_load_cert_file_ex(X509_LOOKUP *ctx, const char *file, int type, in X509_load_cert_file_ex()
154 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type) in X509_load_cert_file()
159 int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type) in X509_load_crl_file()
216 int X509_load_cert_crl_file_ex(X509_LOOKUP *ctx, const char *file, int type, in X509_load_cert_crl_file_ex()
257 int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type) in X509_load_cert_crl_file()
H A Dby_store.c21 OSSL_STORE_CTX *ctx = NULL; in cache_objects() local
102 static void by_store_free(X509_LOOKUP *ctx) in by_store_free()
108 static int by_store_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argp, in by_store_ctrl_ex()
141 static int by_store_ctrl(X509_LOOKUP *ctx, int cmd, in by_store_ctrl()
147 static int by_store(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, in by_store()
165 static int by_store_subject_ex(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, in by_store_subject_ex()
219 static int by_store_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, in by_store_subject()
H A Dv3_san.c302 X509V3_CTX *ctx, in v2i_issuer_alt()
337 static int copy_issuer(X509V3_CTX *ctx, GENERAL_NAMES *gens) in copy_issuer()
379 X509V3_CTX *ctx, in v2i_subject_alt()
421 static int copy_email(X509V3_CTX *ctx, GENERAL_NAMES *gens, int move_p) in copy_email()
475 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_GENERAL_NAMES()
503 X509V3_CTX *ctx, CONF_VALUE *cnf) in v2i_GENERAL_NAME()
510 X509V3_CTX *ctx, int gen_type, const char *value, in a2i_GENERAL_NAME()
601 X509V3_CTX *ctx, CONF_VALUE *cnf, int is_nc) in v2i_GENERAL_NAME_ex()
639 static int do_othername(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx) in do_othername()
666 static int do_dirname(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx) in do_dirname()
/openssl/crypto/dsa/
H A Ddsa_pmeth.c38 static int pkey_dsa_init(EVP_PKEY_CTX *ctx) in pkey_dsa_init()
71 static void pkey_dsa_cleanup(EVP_PKEY_CTX *ctx) in pkey_dsa_cleanup()
77 static int pkey_dsa_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, in pkey_dsa_sign()
102 static int pkey_dsa_verify(EVP_PKEY_CTX *ctx, in pkey_dsa_verify()
123 static int pkey_dsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_dsa_ctrl()
186 static int pkey_dsa_ctrl_str(EVP_PKEY_CTX *ctx, in pkey_dsa_ctrl_str()
210 static int pkey_dsa_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_dsa_paramgen()
243 static int pkey_dsa_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_dsa_keygen()
/openssl/providers/implementations/signature/
H A Decdsa_sig.c109 PROV_ECDSA_CTX *ctx; in ecdsa_newctx() local
131 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_signverify_init() local
172 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_sign() local
207 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_verify() local
285 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_digest_signverify_init() local
328 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_digest_signverify_update() local
339 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_digest_sign_final() local
360 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_digest_verify_final() local
375 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_freectx() local
440 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_get_ctx_params() local
[all …]
/openssl/crypto/pem/
H A Dpem_sign.c17 int PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type) in PEM_SignInit()
22 int PEM_SignUpdate(EVP_MD_CTX *ctx, in PEM_SignUpdate()
28 int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in PEM_SignFinal()
/openssl/crypto/comp/
H A Dcomp_lib.c34 const COMP_METHOD *COMP_CTX_get_method(const COMP_CTX *ctx) in COMP_CTX_get_method()
49 void COMP_CTX_free(COMP_CTX *ctx) in COMP_CTX_free()
59 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, in COMP_compress_block()
74 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, in COMP_expand_block()
/openssl/providers/implementations/ciphers/
H A Dcipher_tdes_default_hw.c22 static int ossl_cipher_hw_tdes_ede2_initkey(PROV_CIPHER_CTX *ctx, in ossl_cipher_hw_tdes_ede2_initkey()
48 static int ossl_cipher_hw_tdes_ofb(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_tdes_ofb()
69 static int ossl_cipher_hw_tdes_cfb(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_tdes_cfb()
97 static int ossl_cipher_hw_tdes_cfb1(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_tdes_cfb1()
119 static int ossl_cipher_hw_tdes_cfb8(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_tdes_cfb8()
H A Dcipher_rc4_hmac_md5.c31 #define GET_HW(ctx) ((PROV_CIPHER_HW_RC4_HMAC_MD5 *)ctx->base.hw) argument
49 PROV_RC4_HMAC_MD5_CTX *ctx; in rc4_hmac_md5_newctx() local
68 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)vctx; in rc4_hmac_md5_freectx() local
74 static int rc4_hmac_md5_einit(void *ctx, const unsigned char *key, in rc4_hmac_md5_einit()
83 static int rc4_hmac_md5_dinit(void *ctx, const unsigned char *key, in rc4_hmac_md5_dinit()
106 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)vctx; in rc4_hmac_md5_get_ctx_params() local
142 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)vctx; in rc4_hmac_md5_set_ctx_params() local
H A Dcipher_des_hw.c19 static int cipher_hw_des_initkey(PROV_CIPHER_CTX *ctx, in cipher_hw_des_initkey()
51 static int cipher_hw_des_ecb_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_ecb_cipher()
65 static int cipher_hw_des_cbc_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_cbc_cipher()
89 static int cipher_hw_des_ofb64_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_ofb64_cipher()
108 static int cipher_hw_des_cfb64_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_cfb64_cipher()
134 static int cipher_hw_des_cfb1_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_cfb1_cipher()
163 static int cipher_hw_des_cfb8_cipher(PROV_CIPHER_CTX *ctx, unsigned char *out, in cipher_hw_des_cfb8_cipher()
H A Dcipher_rc5.c35 PROV_RC5_CTX *ctx = (PROV_RC5_CTX *)vctx; in rc5_freectx() local
41 static void *rc5_dupctx(void *ctx) in rc5_dupctx()
59 static int rc5_einit(void *ctx, const unsigned char *key, size_t keylen, in rc5_einit()
68 static int rc5_dinit(void *ctx, const unsigned char *key, size_t keylen, in rc5_dinit()
79 PROV_RC5_CTX *ctx = (PROV_RC5_CTX *)vctx; in rc5_set_ctx_params() local
119 PROV_RC5_CTX *ctx = (PROV_RC5_CTX *)vctx; in OSSL_PARAM_uint() local
H A Dcipher_aes_siv_hw.c22 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_initkey() local
79 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_settag() local
87 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_setspeed() local
95 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_cleanup() local
106 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_cipher() local
/openssl/crypto/evp/
H A Dencode.c132 void EVP_ENCODE_CTX_free(EVP_ENCODE_CTX *ctx) in EVP_ENCODE_CTX_free()
144 int EVP_ENCODE_CTX_num(EVP_ENCODE_CTX *ctx) in EVP_ENCODE_CTX_num()
149 void evp_encode_ctx_set_flags(EVP_ENCODE_CTX *ctx, unsigned int flags) in evp_encode_ctx_set_flags()
154 void EVP_EncodeInit(EVP_ENCODE_CTX *ctx) in EVP_EncodeInit()
162 int EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, in EVP_EncodeUpdate()
217 void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) in EVP_EncodeFinal()
231 static int evp_encodeblock_int(EVP_ENCODE_CTX *ctx, unsigned char *t, in evp_encodeblock_int()
274 void EVP_DecodeInit(EVP_ENCODE_CTX *ctx) in EVP_DecodeInit()
303 int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, in EVP_DecodeUpdate()
413 static int evp_decodeblock_int(EVP_ENCODE_CTX *ctx, unsigned char *t, in evp_decodeblock_int()
[all …]
H A Dsignature.c308 EVP_SIGNATURE *EVP_SIGNATURE_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, in EVP_SIGNATURE_fetch()
394 static int evp_pkey_signature_init(EVP_PKEY_CTX *ctx, int operation, in evp_pkey_signature_init()
620 int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_sign_init()
625 int EVP_PKEY_sign_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) in EVP_PKEY_sign_init_ex()
630 int EVP_PKEY_sign(EVP_PKEY_CTX *ctx, in EVP_PKEY_sign()
664 int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_verify_init()
669 int EVP_PKEY_verify_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) in EVP_PKEY_verify_init_ex()
674 int EVP_PKEY_verify(EVP_PKEY_CTX *ctx, in EVP_PKEY_verify()
706 int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_verify_recover_init()
711 int EVP_PKEY_verify_recover_init_ex(EVP_PKEY_CTX *ctx, in EVP_PKEY_verify_recover_init_ex()
[all …]
H A De_des.c60 static int des_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in des_ecb_cipher()
70 static int des_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in des_ofb_cipher()
93 static int des_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in des_cbc_cipher()
119 static int des_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in des_cfb64_cipher()
148 static int des_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in des_cfb1_cipher()
178 static int des_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in des_cfb8_cipher()
210 static int des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in des_init_key()
/openssl/providers/implementations/kdfs/
H A Dpbkdf1.c59 EVP_MD_CTX *ctx = NULL; in kdf_pbkdf1_do_derive() local
93 KDF_PBKDF1 *ctx; in kdf_pbkdf1_new() local
107 static void kdf_pbkdf1_cleanup(KDF_PBKDF1 *ctx) in kdf_pbkdf1_cleanup()
117 KDF_PBKDF1 *ctx = (KDF_PBKDF1 *)vctx; in kdf_pbkdf1_free() local
127 KDF_PBKDF1 *ctx = (KDF_PBKDF1 *)vctx; in kdf_pbkdf1_reset() local
178 KDF_PBKDF1 *ctx = (KDF_PBKDF1 *)vctx; in kdf_pbkdf1_derive() local
202 KDF_PBKDF1 *ctx = vctx; in kdf_pbkdf1_set_ctx_params() local
222 static const OSSL_PARAM *kdf_pbkdf1_settable_ctx_params(ossl_unused void *ctx, in kdf_pbkdf1_settable_ctx_params()
245 static const OSSL_PARAM *kdf_pbkdf1_gettable_ctx_params(ossl_unused void *ctx, in kdf_pbkdf1_gettable_ctx_params()
/openssl/providers/implementations/digests/
H A Dnull_prov.c18 static int null_init(NULLMD_CTX *ctx) in null_init()
23 static int null_update(NULLMD_CTX *ctx, const void *data, size_t datalen) in null_update()
28 static int null_final(unsigned char *md, NULLMD_CTX *ctx) in null_final()
H A Dblake2_prov.c15 int ossl_blake2s256_init(void *ctx) in ossl_blake2s256_init()
23 int ossl_blake2b512_init(void *ctx) in ossl_blake2b512_init()
/openssl/crypto/engine/
H A Deng_openssl.c204 # define test(ctx) ((TEST_RC4_KEY *)EVP_CIPHER_CTX_get_cipher_data(ctx)) argument
220 static int test_rc4_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in test_rc4_cipher()
326 static int test_sha1_init(EVP_MD_CTX *ctx) in test_sha1_init()
342 static int test_sha1_final(EVP_MD_CTX *ctx, unsigned char *md) in test_sha1_final()
446 HMAC_CTX *ctx; member
449 static int ossl_hmac_init(EVP_PKEY_CTX *ctx) in ossl_hmac_init()
497 static void ossl_hmac_cleanup(EVP_PKEY_CTX *ctx) in ossl_hmac_cleanup()
509 static int ossl_hmac_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in ossl_hmac_keygen()
531 static int ossl_hmac_signctx_init(EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx) in ossl_hmac_signctx_init()
538 static int ossl_hmac_signctx(EVP_PKEY_CTX *ctx, unsigned char *sig, in ossl_hmac_signctx()
[all …]
/openssl/crypto/ts/
H A Dts_conf.c134 TS_RESP_CTX *ctx) in TS_CONF_set_serial()
195 const char *cert, TS_RESP_CTX *ctx) in TS_CONF_set_signer_cert()
219 TS_RESP_CTX *ctx) in TS_CONF_set_certs()
242 TS_RESP_CTX *ctx) in TS_CONF_set_signer_key()
264 const char *md, TS_RESP_CTX *ctx) in TS_CONF_set_signer_digest()
288 const char *policy, TS_RESP_CTX *ctx) in TS_CONF_set_def_policy()
344 int TS_CONF_set_digests(CONF *conf, const char *section, TS_RESP_CTX *ctx) in TS_CONF_set_digests()
420 TS_RESP_CTX *ctx) in TS_CONF_set_clock_precision_digits()
443 const char *field, int flag, TS_RESP_CTX *ctx) in ts_CONF_add_flag()
470 TS_RESP_CTX *ctx) in TS_CONF_set_ess_cert_id_chain()
[all …]
/openssl/crypto/rsa/
H A Drsa_lib.c878 static int int_set_rsa_md_name(EVP_PKEY_CTX *ctx, in int_set_rsa_md_name()
918 static int int_get_rsa_md_name(EVP_PKEY_CTX *ctx, in int_get_rsa_md_name()
957 int EVP_PKEY_CTX_set_rsa_padding(EVP_PKEY_CTX *ctx, int pad_mode) in EVP_PKEY_CTX_set_rsa_padding()
967 int EVP_PKEY_CTX_get_rsa_padding(EVP_PKEY_CTX *ctx, int *pad_mode) in EVP_PKEY_CTX_get_rsa_padding()
983 int EVP_PKEY_CTX_set_rsa_pss_keygen_md_name(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_rsa_pss_keygen_md_name()
996 int EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in EVP_PKEY_CTX_set_rsa_oaep_md()
1011 int EVP_PKEY_CTX_get_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, char *name, in EVP_PKEY_CTX_get_rsa_oaep_md_name()
1048 int EVP_PKEY_CTX_get_rsa_mgf1_md_name(EVP_PKEY_CTX *ctx, char *name, in EVP_PKEY_CTX_get_rsa_mgf1_md_name()
1066 int EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md_name(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md_name()
1146 int EVP_PKEY_CTX_set_rsa_pss_saltlen(EVP_PKEY_CTX *ctx, int saltlen) in EVP_PKEY_CTX_set_rsa_pss_saltlen()
[all …]
/openssl/providers/implementations/macs/
H A Dpoly1305_prov.c46 struct poly1305_data_st *ctx; in poly1305_new() local
81 static int poly1305_setkey(struct poly1305_data_st *ctx, in poly1305_setkey()
96 struct poly1305_data_st *ctx = vmacctx; in poly1305_init() local
110 struct poly1305_data_st *ctx = vmacctx; in poly1305_update() local
124 struct poly1305_data_st *ctx = vmacctx; in poly1305_final() local
157 static const OSSL_PARAM *poly1305_settable_ctx_params(ossl_unused void *ctx, in poly1305_settable_ctx_params()
165 struct poly1305_data_st *ctx = vmacctx; in poly1305_set_ctx_params() local

Completed in 57 milliseconds

12345678910>>...24