Home
last modified time | relevance | path

Searched refs:enc_read_ctx (Results 1 – 12 of 12) sorted by relevance

/third_party/openssl/ssl/record/
Dssl3_record.c342 if (SSL_IS_TLS13(s) && s->enc_read_ctx != NULL) { in ssl3_get_record()
459 && s->enc_read_ctx != NULL in ssl3_get_record()
460 && (EVP_CIPHER_flags(EVP_CIPHER_CTX_cipher(s->enc_read_ctx)) in ssl3_get_record()
578 (s->enc_read_ctx != NULL) && in ssl3_get_record()
601 (EVP_CIPHER_CTX_mode(s->enc_read_ctx) == EVP_CIPH_CBC_MODE && in ssl3_get_record()
608 if (EVP_CIPHER_CTX_mode(s->enc_read_ctx) == EVP_CIPH_CBC_MODE) { in ssl3_get_record()
699 && s->enc_read_ctx != NULL in ssl3_get_record()
868 ds = s->enc_read_ctx; in ssl3_enc()
869 if (s->enc_read_ctx == NULL) in ssl3_enc()
872 enc = EVP_CIPHER_CTX_cipher(s->enc_read_ctx); in ssl3_enc()
[all …]
Dssl3_record_tls13.c50 ctx = s->enc_read_ctx; in tls13_enc()
Drec_layer_d1.c490 (s->enc_read_ctx == NULL)) { in dtls1_read_bytes()
Drec_layer_s3.c1376 (s->enc_read_ctx == NULL)) { in ssl3_read_bytes()
/third_party/openssl/test/
Dtls13encryptiontest.c345 s->enc_read_ctx = EVP_CIPHER_CTX_new(); in test_tls13_encryption()
346 if (!TEST_ptr(s->enc_read_ctx)) in test_tls13_encryption()
375 || EVP_CipherInit_ex(s->enc_read_ctx, ciph, NULL, key, NULL, 0) in test_tls13_encryption()
/third_party/openssl/ssl/
Dtls13_enc.c474 if (s->enc_read_ctx != NULL) { in tls13_change_cipher_state()
475 EVP_CIPHER_CTX_reset(s->enc_read_ctx); in tls13_change_cipher_state()
477 s->enc_read_ctx = EVP_CIPHER_CTX_new(); in tls13_change_cipher_state()
478 if (s->enc_read_ctx == NULL) { in tls13_change_cipher_state()
484 ciph_ctx = s->enc_read_ctx; in tls13_change_cipher_state()
749 ciph_ctx = s->enc_read_ctx; in tls13_update_key()
Ds3_enc.c120 if (s->enc_read_ctx != NULL) { in ssl3_change_cipher_state()
122 } else if ((s->enc_read_ctx = EVP_CIPHER_CTX_new()) == NULL) { in ssl3_change_cipher_state()
130 EVP_CIPHER_CTX_reset(s->enc_read_ctx); in ssl3_change_cipher_state()
132 dd = s->enc_read_ctx; in ssl3_change_cipher_state()
Dt1_enc.c116 if (s->enc_read_ctx != NULL) { in tls1_change_cipher_state()
118 } else if ((s->enc_read_ctx = EVP_CIPHER_CTX_new()) == NULL) { in tls1_change_cipher_state()
126 EVP_CIPHER_CTX_reset(s->enc_read_ctx); in tls1_change_cipher_state()
128 dd = s->enc_read_ctx; in tls1_change_cipher_state()
Dssl_lib.c3938 if (s->enc_read_ctx != NULL) { in ssl_clear_cipher_ctx()
3939 EVP_CIPHER_CTX_free(s->enc_read_ctx); in ssl_clear_cipher_ctx()
3940 s->enc_read_ctx = NULL; in ssl_clear_cipher_ctx()
Dssl_local.h1157 EVP_CIPHER_CTX *enc_read_ctx; /* cryptographic state */ member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_openssl.c3990 if (ssl->enc_read_ctx == NULL || ssl->enc_read_ctx->cipher == NULL || in openssl_get_keyblock_size()
3994 c = ssl->enc_read_ctx->cipher; in openssl_get_keyblock_size()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_openssl.c4178 if (ssl->enc_read_ctx == NULL || ssl->enc_read_ctx->cipher == NULL || in openssl_get_keyblock_size()
4182 c = ssl->enc_read_ctx->cipher; in openssl_get_keyblock_size()