Home
last modified time | relevance | path

Searched refs:enc_write_ctx (Results 1 – 14 of 14) sorted by relevance

/third_party/openssl/ssl/statem/
Dstatem_dtls.c100 saved_retransmit_state.enc_write_ctx); in dtls1_hm_fragment_free()
134 if (s->enc_write_ctx in dtls1_do_write()
135 && (EVP_CIPHER_get_flags(EVP_CIPHER_CTX_get0_cipher(s->enc_write_ctx)) & in dtls1_do_write()
143 if (s->enc_write_ctx && in dtls1_do_write()
144 (EVP_CIPHER_CTX_get_mode(s->enc_write_ctx) == EVP_CIPH_CBC_MODE)) in dtls1_do_write()
145 blocksize = 2 * EVP_CIPHER_CTX_get_block_size(s->enc_write_ctx); in dtls1_do_write()
1156 frag->msg_header.saved_retransmit_state.enc_write_ctx = s->enc_write_ctx; in dtls1_buffer_message()
1223 saved_state.enc_write_ctx = s->enc_write_ctx; in dtls1_retransmit_message()
1232 s->enc_write_ctx = frag->msg_header.saved_retransmit_state.enc_write_ctx; in dtls1_retransmit_message()
1244 s->enc_write_ctx = saved_state.enc_write_ctx; in dtls1_retransmit_message()
Dstatem_clnt.c770 EVP_CIPHER_CTX_free(s->enc_write_ctx); in ossl_statem_client_post_work()
771 s->enc_write_ctx = NULL; in ossl_statem_client_post_work()
1722 EVP_CIPHER_CTX_free(s->enc_write_ctx); in tls_process_as_hello_retry_request()
1723 s->enc_write_ctx = NULL; in tls_process_as_hello_retry_request()
/third_party/openssl/ssl/record/
Drec_layer_s3.c453 && (EVP_CIPHER_get_flags(EVP_CIPHER_CTX_get0_cipher(s->enc_write_ctx)) in ssl3_write_bytes()
467 packlen = EVP_CIPHER_CTX_ctrl(s->enc_write_ctx, in ssl3_write_bytes()
519 packleni = EVP_CIPHER_CTX_ctrl(s->enc_write_ctx, in ssl3_write_bytes()
533 if (EVP_CIPHER_CTX_ctrl(s->enc_write_ctx, in ssl3_write_bytes()
601 || s->enc_write_ctx == NULL in ssl3_write_bytes()
602 || (EVP_CIPHER_get_flags(EVP_CIPHER_CTX_get0_cipher(s->enc_write_ctx)) in ssl3_write_bytes()
731 || (s->enc_write_ctx == NULL) in do_ssl3_write()
733 clear = s->enc_write_ctx ? 0 : 1; /* must be AEAD cipher */ in do_ssl3_write()
843 if (s->enc_write_ctx && SSL_USE_EXPLICIT_IV(s) && !SSL_TREAT_AS_TLS13(s)) { in do_ssl3_write()
844 int mode = EVP_CIPHER_CTX_get_mode(s->enc_write_ctx); in do_ssl3_write()
[all …]
Dssl3_record.c312 && !s->enc_write_ctx && !s->write_hash) { in ssl3_get_record()
853 ds = s->enc_write_ctx; in ssl3_enc()
854 if (s->enc_write_ctx == NULL) in ssl3_enc()
857 enc = EVP_CIPHER_CTX_get0_cipher(s->enc_write_ctx); in ssl3_enc()
987 ds = s->enc_write_ctx; in tls1_enc()
988 if (s->enc_write_ctx == NULL) in tls1_enc()
993 enc = EVP_CIPHER_CTX_get0_cipher(s->enc_write_ctx); in tls1_enc()
Drec_layer_d1.c833 || (s->enc_write_ctx == NULL) in do_dtls1_write()
873 if (s->enc_write_ctx) { in do_dtls1_write()
874 int mode = EVP_CIPHER_CTX_get_mode(s->enc_write_ctx); in do_dtls1_write()
876 eivlen = EVP_CIPHER_CTX_get_iv_length(s->enc_write_ctx); in do_dtls1_write()
Dssl3_record_tls13.c44 ctx = s->enc_write_ctx; in tls13_enc()
/third_party/openssl/test/
Dtls13encryptiontest.c338 s->enc_write_ctx = EVP_CIPHER_CTX_new(); in test_tls13_encryption()
339 if (!TEST_ptr(s->enc_write_ctx)) in test_tls13_encryption()
363 if (EVP_CipherInit_ex(s->enc_write_ctx, ciph, NULL, key, NULL, 1) <= 0 in test_tls13_encryption()
/third_party/openssl/ssl/
Dtls13_enc.c460 if (s->enc_write_ctx != NULL) { in tls13_change_cipher_state()
461 EVP_CIPHER_CTX_reset(s->enc_write_ctx); in tls13_change_cipher_state()
463 s->enc_write_ctx = EVP_CIPHER_CTX_new(); in tls13_change_cipher_state()
464 if (s->enc_write_ctx == NULL) { in tls13_change_cipher_state()
469 ciph_ctx = s->enc_write_ctx; in tls13_change_cipher_state()
776 ciph_ctx = s->enc_write_ctx; in tls13_update_key()
Ds3_enc.c152 if (s->enc_write_ctx != NULL) { in ssl3_change_cipher_state()
154 } else if ((s->enc_write_ctx = EVP_CIPHER_CTX_new()) == NULL) { in ssl3_change_cipher_state()
161 EVP_CIPHER_CTX_reset(s->enc_write_ctx); in ssl3_change_cipher_state()
163 dd = s->enc_write_ctx; in ssl3_change_cipher_state()
Dt1_enc.c288 if (s->enc_write_ctx != NULL && !SSL_IS_DTLS(s)) { in tls1_change_cipher_state()
290 } else if ((s->enc_write_ctx = EVP_CIPHER_CTX_new()) == NULL) { in tls1_change_cipher_state()
294 dd = s->enc_write_ctx; in tls1_change_cipher_state()
Dssl_local.h1478 EVP_CIPHER_CTX *enc_write_ctx; /* cryptographic state */ member
1854 EVP_CIPHER_CTX *enc_write_ctx; /* cryptographic state */ member
Dssl_lib.c4162 if (s->enc_write_ctx != NULL) { in ssl_clear_cipher_ctx()
4163 EVP_CIPHER_CTX_free(s->enc_write_ctx); in ssl_clear_cipher_ctx()
4164 s->enc_write_ctx = NULL; in ssl_clear_cipher_ctx()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dtypes.rs537 enc_write_ctx: *mut EVP_CIPHER_CTX,
634 enc_write_ctx: *mut EVP_CIPHER_CTX,
/third_party/libabigail/tests/data/test-diff-pkg/
Dspice-server-0.12.4-19.el7.x86_64-0.12.8-1.el7.x86_64-report-2.txt243 … 'EVP_CIPHER_CTX* enc_write_ctx', at offset 1856 (in bits) at ssl.h:1163:1