/openssl/providers/implementations/kdfs/ |
H A D | hkdf.c | 92 KDF_HKDF *ctx; in kdf_hkdf_new() local 106 KDF_HKDF *ctx = (KDF_HKDF *)vctx; in kdf_hkdf_free() local 116 KDF_HKDF *ctx = (KDF_HKDF *)vctx; in kdf_hkdf_reset() local 160 static size_t kdf_hkdf_size(KDF_HKDF *ctx) in kdf_hkdf_size() 182 KDF_HKDF *ctx = (KDF_HKDF *)vctx; in kdf_hkdf_derive() local 281 KDF_HKDF *ctx = vctx; in kdf_hkdf_set_ctx_params() local 309 static const OSSL_PARAM *kdf_hkdf_settable_ctx_params(ossl_unused void *ctx, in kdf_hkdf_settable_ctx_params() 322 KDF_HKDF *ctx = (KDF_HKDF *)vctx; in kdf_hkdf_get_ctx_params() local 335 static const OSSL_PARAM *kdf_hkdf_gettable_ctx_params(ossl_unused void *ctx, in kdf_hkdf_gettable_ctx_params() 673 KDF_HKDF *ctx = (KDF_HKDF *)vctx; in kdf_tls1_3_derive() local [all …]
|
/openssl/providers/implementations/encode_decode/ |
H A D | decode_msblob2key.c | 36 typedef void adjust_key_fn(void *, struct msblob2key_ctx_st *ctx); typedef 66 struct msblob2key_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx)); in msblob2key_newctx() local 77 struct msblob2key_ctx_st *ctx = vctx; in msblob2key_freectx() local 86 struct msblob2key_ctx_st *ctx = vctx; in msblob2key_decode() local 208 struct msblob2key_ctx_st *ctx = vctx; in msblob2key_export_object() local 234 static void rsa_adjust(void *key, struct msblob2key_ctx_st *ctx) in rsa_adjust()
|
H A D | decode_spki2typespki.c | 37 struct spki2typespki_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx)); in spki2typespki_newctx() local 46 struct spki2typespki_ctx_st *ctx = vctx; in spki2typespki_freectx() local 55 struct spki2typespki_ctx_st *ctx = vctx; in spki2typespki_decode() local
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_tdes_common.c | 38 void *ossl_tdes_dupctx(void *ctx) in ossl_tdes_dupctx() 58 PROV_TDES_CTX *ctx = (PROV_TDES_CTX *)vctx; in ossl_tdes_freectx() local 68 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in tdes_init() local 137 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_tdes_get_ctx_params() local
|
H A D | cipher_tdes_wrap.c | 35 static int des_ede3_unwrap(PROV_CIPHER_CTX *ctx, unsigned char *out, in des_ede3_unwrap() 81 static int des_ede3_wrap(PROV_CIPHER_CTX *ctx, unsigned char *out, in des_ede3_wrap() 111 static int tdes_wrap_cipher_internal(PROV_CIPHER_CTX *ctx, unsigned char *out, in tdes_wrap_cipher_internal() 131 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in tdes_wrap_cipher() local
|
H A D | cipher_aes_xts_hw.c | 38 static int cipher_hw_aes_xts_generic_initkey(PROV_CIPHER_CTX *ctx, in cipher_hw_aes_xts_generic_initkey() 102 static int cipher_hw_aesni_xts_initkey(PROV_CIPHER_CTX *ctx, in cipher_hw_aesni_xts_initkey() 125 static int cipher_hw_aes_xts_t4_initkey(PROV_CIPHER_CTX *ctx, in cipher_hw_aes_xts_t4_initkey() 163 static int cipher_hw_aes_xts_rv64i_zknd_zkne_initkey(PROV_CIPHER_CTX *ctx, in cipher_hw_aes_xts_rv64i_zknd_zkne_initkey()
|
/openssl/crypto/comp/ |
H A D | c_zlib.c | 123 static int zlib_stateful_init(COMP_CTX *ctx) in zlib_stateful_init() 157 static void zlib_stateful_finish(COMP_CTX *ctx) in zlib_stateful_finish() 165 static int zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, in zlib_stateful_compress_block() 186 static int zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, in zlib_stateful_expand_block() 315 BIO_ZLIB_CTX *ctx; in bio_zlib_new() local 343 BIO_ZLIB_CTX *ctx; in bio_zlib_free() local 367 BIO_ZLIB_CTX *ctx; in bio_zlib_read() local 429 BIO_ZLIB_CTX *ctx; in bio_zlib_write() local 500 BIO_ZLIB_CTX *ctx; in bio_zlib_flush() local 549 BIO_ZLIB_CTX *ctx; in bio_zlib_ctrl() local
|
/openssl/crypto/rsa/ |
H A D | rsa_ossl.c | 80 BN_CTX *ctx = NULL; in rsa_ossl_public_encrypt() local 162 static BN_BLINDING *rsa_get_blinding(RSA *rsa, int *local, BN_CTX *ctx) in rsa_get_blinding() 203 BN_CTX *ctx) in rsa_blinding_convert() 227 BN_CTX *ctx) in rsa_blinding_invert() 247 BN_CTX *ctx = NULL; in rsa_ossl_private_encrypt() local 379 BN_CTX *ctx = NULL; in rsa_ossl_private_decrypt() local 518 BN_CTX *ctx = NULL; in rsa_ossl_public_decrypt() local 608 static int rsa_ossl_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx) in rsa_ossl_mod_exp()
|
/openssl/crypto/bn/ |
H A D | bn_mod.c | 13 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) in BN_nnmod() 29 BN_CTX *ctx) in BN_mod_add() 111 BN_CTX *ctx) in BN_mod_sub() 198 BN_CTX *ctx) in BN_mod_mul() 226 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) in BN_mod_sqr() 234 int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) in BN_mod_lshift1() 257 BN_CTX *ctx) in BN_mod_lshift()
|
H A D | bn_rand.c | 24 unsigned int strength, BN_CTX *ctx) in bnrand() 103 unsigned int strength, BN_CTX *ctx) in BN_rand_ex() 120 unsigned int strength, BN_CTX *ctx) in BN_priv_rand_ex() 134 unsigned int strength, BN_CTX *ctx) in bnrand_range() 206 BN_CTX *ctx) in BN_rand_range_ex() 219 BN_CTX *ctx) in BN_priv_rand_range_ex() 253 size_t message_len, BN_CTX *ctx) in BN_generate_dsa_nonce()
|
H A D | bn_gf2m.c | 411 const int p[], BN_CTX *ctx) in BN_GF2m_mod_mul_arr() 466 const BIGNUM *p, BN_CTX *ctx) in BN_GF2m_mod_mul() 495 BN_CTX *ctx) in BN_GF2m_mod_sqr_arr() 775 BN_CTX *ctx) in BN_GF2m_mod_inv_arr() 800 const BIGNUM *p, BN_CTX *ctx) in BN_GF2m_mod_div() 833 const int p[], BN_CTX *ctx) in BN_GF2m_mod_div_arr() 861 const int p[], BN_CTX *ctx) in BN_GF2m_mod_exp_arr() 907 const BIGNUM *p, BN_CTX *ctx) in BN_GF2m_mod_exp() 939 BN_CTX *ctx) in BN_GF2m_mod_sqrt_arr() 1003 BN_CTX *ctx) in BN_GF2m_mod_solve_quad_arr() [all …]
|
/openssl/crypto/encode_decode/ |
H A D | encoder_pkey.c | 41 int OSSL_ENCODER_CTX_set_passphrase(OSSL_ENCODER_CTX *ctx, in OSSL_ENCODER_CTX_set_passphrase() 48 int OSSL_ENCODER_CTX_set_passphrase_ui(OSSL_ENCODER_CTX *ctx, in OSSL_ENCODER_CTX_set_passphrase_ui() 55 int OSSL_ENCODER_CTX_set_pem_password_cb(OSSL_ENCODER_CTX *ctx, in OSSL_ENCODER_CTX_set_pem_password_cb() 61 int OSSL_ENCODER_CTX_set_passphrase_cb(OSSL_ENCODER_CTX *ctx, in OSSL_ENCODER_CTX_set_passphrase_cb() 79 OSSL_ENCODER_CTX *ctx; member 222 static int ossl_encoder_ctx_setup_for_pkey(OSSL_ENCODER_CTX *ctx, in ossl_encoder_ctx_setup_for_pkey() 323 OSSL_ENCODER_CTX *ctx = NULL; in OSSL_ENCODER_CTX_new_for_pkey() local
|
H A D | decoder_pkey.c | 24 int OSSL_DECODER_CTX_set_passphrase(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_passphrase() 31 int OSSL_DECODER_CTX_set_passphrase_ui(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_passphrase_ui() 38 int OSSL_DECODER_CTX_set_pem_password_cb(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_pem_password_cb() 44 int OSSL_DECODER_CTX_set_passphrase_cb(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_passphrase_cb() 202 OSSL_DECODER_CTX *ctx; member 372 int ossl_decoder_ctx_setup_for_pkey(OSSL_DECODER_CTX *ctx, in ossl_decoder_ctx_setup_for_pkey() 481 OSSL_DECODER_CTX *ctx = NULL; in OSSL_DECODER_CTX_new_for_pkey() local
|
/openssl/test/ |
H A D | evp_fetch_prov_test.c | 61 EVP_MD_CTX *ctx; in calculate_digest() local 81 OSSL_LIB_CTX *ctx = NULL; in load_providers() local 158 OSSL_LIB_CTX *ctx = NULL; in test_implicit_EVP_MD_fetch() local 171 OSSL_LIB_CTX *ctx = NULL; in test_explicit_EVP_MD_fetch() local 245 EVP_CIPHER_CTX *ctx = NULL; in encrypt_decrypt() local 276 OSSL_LIB_CTX *ctx = NULL; in test_implicit_EVP_CIPHER_fetch() local 289 OSSL_LIB_CTX *ctx = NULL; in test_explicit_EVP_CIPHER_fetch() local
|
H A D | hmactest.c | 109 HMAC_CTX *ctx = NULL; in test_hmac_bad() local 130 HMAC_CTX *ctx = NULL; in test_hmac_run() local 221 HMAC_CTX *ctx = NULL, *ctx2 = NULL; in test_hmac_copy() local 253 EVP_MD_CTX *ctx = NULL; in test_hmac_copy_uninited() local
|
/openssl/crypto/dh/ |
H A D | dh_pmeth.c | 54 static int pkey_dh_init(EVP_PKEY_CTX *ctx) in pkey_dh_init() 74 static void pkey_dh_cleanup(EVP_PKEY_CTX *ctx) in pkey_dh_cleanup() 117 static int pkey_dh_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_dh_ctrl() 224 static int pkey_dh_ctrl_str(EVP_PKEY_CTX *ctx, in pkey_dh_ctrl_str() 322 static int pkey_dh_paramgen(EVP_PKEY_CTX *ctx, in pkey_dh_paramgen() 376 static int pkey_dh_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_dh_keygen() 398 static int pkey_dh_derive(EVP_PKEY_CTX *ctx, unsigned char *key, in pkey_dh_derive()
|
/openssl/crypto/evp/ |
H A D | p_open.c | 18 int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, in EVP_OpenInit() 64 int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) in EVP_OpenFinal()
|
H A D | e_rc4_hmac_md5.c | 42 # define data(ctx) ((EVP_RC4_HMAC_MD5 *)EVP_CIPHER_CTX_get_cipher_data(ctx)) argument 44 static int rc4_hmac_md5_init_key(EVP_CIPHER_CTX *ctx, in rc4_hmac_md5_init_key() 76 static int rc4_hmac_md5_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in rc4_hmac_md5_cipher() 186 static int rc4_hmac_md5_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, in rc4_hmac_md5_ctrl()
|
H A D | kem.c | 20 static int evp_kem_init(EVP_PKEY_CTX *ctx, int operation, in evp_kem_init() 181 int EVP_PKEY_encapsulate_init(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) in EVP_PKEY_encapsulate_init() 186 int EVP_PKEY_encapsulate(EVP_PKEY_CTX *ctx, in EVP_PKEY_encapsulate() 210 int EVP_PKEY_decapsulate_init(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) in EVP_PKEY_decapsulate_init() 215 int EVP_PKEY_decapsulate(EVP_PKEY_CTX *ctx, in EVP_PKEY_decapsulate() 404 EVP_KEM *EVP_KEM_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, in EVP_KEM_fetch()
|
H A D | exchange.c | 175 EVP_KEYEXCH *EVP_KEYEXCH_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, in EVP_KEYEXCH_fetch() 195 int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_derive_init() 200 int EVP_PKEY_derive_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) in EVP_PKEY_derive_init_ex() 381 int EVP_PKEY_derive_set_peer_ex(EVP_PKEY_CTX *ctx, EVP_PKEY *peer, in EVP_PKEY_derive_set_peer_ex() 506 int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer) in EVP_PKEY_derive_set_peer() 511 int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *pkeylen) in EVP_PKEY_derive()
|
/openssl/crypto/x509/ |
H 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() 92 int X509_LOOKUP_by_subject_ex(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, in X509_LOOKUP_by_subject_ex() 108 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, in X509_LOOKUP_by_subject() 133 int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, in X509_LOOKUP_by_alias() 141 int X509_LOOKUP_set_method_data(X509_LOOKUP *ctx, void *data) in X509_LOOKUP_set_method_data() 147 void *X509_LOOKUP_get_method_data(const X509_LOOKUP *ctx) in X509_LOOKUP_get_method_data() 152 X509_STORE *X509_LOOKUP_get_store(const X509_LOOKUP *ctx) in X509_LOOKUP_get_store() 362 int X509_STORE_CTX_get_by_subject(const X509_STORE_CTX *ctx, in X509_STORE_CTX_get_by_subject() [all …]
|
H A D | x509_meth.c | 46 int X509_LOOKUP_meth_set_new_item(X509_LOOKUP_METHOD *method, in X509_LOOKUP_meth_set_new_item() 59 int X509_LOOKUP_meth_set_free( in X509_LOOKUP_meth_set_free() 73 int X509_LOOKUP_meth_set_init(X509_LOOKUP_METHOD *method, in X509_LOOKUP_meth_set_init() 86 int X509_LOOKUP_meth_set_shutdown( in X509_LOOKUP_meth_set_shutdown()
|
/openssl/crypto/property/ |
H A D | defn_cache.c | 62 void *ossl_property_defns_new(OSSL_LIB_CTX *ctx) { in ossl_property_defns_new() 66 OSSL_PROPERTY_LIST *ossl_prop_defn_get(OSSL_LIB_CTX *ctx, const char *prop) in ossl_prop_defn_get() 87 int ossl_prop_defn_set(OSSL_LIB_CTX *ctx, const char *prop, in ossl_prop_defn_set()
|
/openssl/crypto/bio/ |
H A D | bf_prefix.c | 54 PREFIX_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in prefix_create() local 69 PREFIX_CTX *ctx = BIO_get_data(b); in prefix_destroy() local 84 PREFIX_CTX *ctx = BIO_get_data(b); in prefix_write() local 154 PREFIX_CTX *ctx; in prefix_ctrl() local
|
/openssl/crypto/ec/ |
H A D | ec_deprecated.c | 24 BIGNUM *ret, BN_CTX *ctx) in EC_POINT_point2bn() 42 const BIGNUM *bn, EC_POINT *point, BN_CTX *ctx) in EC_POINT_bn2point()
|