Searched refs:enc_read_ctx (Results 1 – 12 of 12) sorted by relevance
342 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 …]
50 ctx = s->enc_read_ctx; in tls13_enc()
490 (s->enc_read_ctx == NULL)) { in dtls1_read_bytes()
1376 (s->enc_read_ctx == NULL)) { in ssl3_read_bytes()
345 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()
474 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()
120 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()
116 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()
3938 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()
1157 EVP_CIPHER_CTX *enc_read_ctx; /* cryptographic state */ member
3990 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()
4178 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()