Home
last modified time | relevance | path

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

/openssl-master/test/
A Dtls13encryptiontest.c334 s->enc_read_ctx = EVP_CIPHER_CTX_new(); in test_tls13_encryption()
335 if (!TEST_ptr(s->enc_read_ctx)) in test_tls13_encryption()
364 || EVP_CipherInit_ex(s->enc_read_ctx, ciph, NULL, key, NULL, 0) in test_tls13_encryption()
/openssl-master/ssl/record/
A Dssl3_record.c364 if (SSL_IS_TLS13(s) && s->enc_read_ctx != NULL) { in ssl3_get_record()
482 && s->enc_read_ctx != NULL in ssl3_get_record()
620 && (s->enc_read_ctx != NULL) in ssl3_get_record()
674 && s->enc_read_ctx != NULL in ssl3_get_record()
844 ds = s->enc_read_ctx; in ssl3_enc()
845 if (s->enc_read_ctx == NULL) in ssl3_enc()
848 enc = EVP_CIPHER_CTX_get0_cipher(s->enc_read_ctx); in ssl3_enc()
1010 ds = s->enc_read_ctx; in tls1_enc()
1011 if (s->enc_read_ctx == NULL) in tls1_enc()
1014 enc = EVP_CIPHER_CTX_get0_cipher(s->enc_read_ctx); in tls1_enc()
[all …]
A Dssl3_record_tls13.c47 ctx = s->enc_read_ctx; in tls13_enc()
A Drec_layer_d1.c490 (s->enc_read_ctx == NULL)) { in dtls1_read_bytes()
A Drec_layer_s3.c1422 (s->enc_read_ctx == NULL)) { in ssl3_read_bytes()
/openssl-master/ssl/
A Dtls13_enc.c441 if (s->enc_read_ctx != NULL) { in tls13_change_cipher_state()
442 EVP_CIPHER_CTX_reset(s->enc_read_ctx); in tls13_change_cipher_state()
444 s->enc_read_ctx = EVP_CIPHER_CTX_new(); in tls13_change_cipher_state()
445 if (s->enc_read_ctx == NULL) { in tls13_change_cipher_state()
450 ciph_ctx = s->enc_read_ctx; in tls13_change_cipher_state()
769 ciph_ctx = s->enc_read_ctx; in tls13_update_key()
A Ds3_enc.c118 if (s->enc_read_ctx != NULL) { in ssl3_change_cipher_state()
120 } else if ((s->enc_read_ctx = EVP_CIPHER_CTX_new()) == NULL) { in ssl3_change_cipher_state()
127 EVP_CIPHER_CTX_reset(s->enc_read_ctx); in ssl3_change_cipher_state()
129 dd = s->enc_read_ctx; in ssl3_change_cipher_state()
A Dt1_enc.c236 if (s->enc_read_ctx != NULL) { in tls1_change_cipher_state()
238 } else if ((s->enc_read_ctx = EVP_CIPHER_CTX_new()) == NULL) { in tls1_change_cipher_state()
245 EVP_CIPHER_CTX_reset(s->enc_read_ctx); in tls1_change_cipher_state()
247 dd = s->enc_read_ctx; in tls1_change_cipher_state()
A Dssl_lib.c4114 if (s->enc_read_ctx != NULL) { in ssl_clear_cipher_ctx()
4115 EVP_CIPHER_CTX_free(s->enc_read_ctx); in ssl_clear_cipher_ctx()
4116 s->enc_read_ctx = NULL; in ssl_clear_cipher_ctx()
A Dssl_local.h1467 EVP_CIPHER_CTX *enc_read_ctx; /* cryptographic state */ member

Completed in 35 milliseconds