Home
last modified time | relevance | path

Searched refs:aead_write_ctx (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/ssl/
Dtls_record.c128 return !SSL_USE_EXPLICIT_IV(ssl) && ssl->aead_write_ctx != NULL && in ssl_needs_record_splitting()
130 SSL_CIPHER_is_block_cipher(ssl->aead_write_ctx->cipher); in ssl_needs_record_splitting()
146 SSL_AEAD_CTX_explicit_nonce_len(ssl->aead_write_ctx); in ssl_seal_prefix_len()
149 SSL_AEAD_CTX_explicit_nonce_len(ssl->aead_write_ctx); in ssl_seal_prefix_len()
152 ret += ssl_cipher_get_record_split_len(ssl->aead_write_ctx->cipher); in ssl_seal_prefix_len()
161 SSL_AEAD_CTX_max_overhead(ssl->aead_write_ctx); in ssl_max_seal_overhead()
164 SSL_AEAD_CTX_max_overhead(ssl->aead_write_ctx); in ssl_max_seal_overhead()
283 if (!SSL_AEAD_CTX_seal(ssl->aead_write_ctx, out + SSL3_RT_HEADER_LENGTH, in do_seal_record()
333 ssl_cipher_get_record_split_len(ssl->aead_write_ctx->cipher) == in tls_seal_record()
Dt1_enc.c361 SSL_AEAD_CTX_free(ssl->aead_write_ctx); in tls1_change_cipher_state()
362 ssl->aead_write_ctx = SSL_AEAD_CTX_new( in tls1_change_cipher_state()
366 return ssl->aead_write_ctx != NULL; in tls1_change_cipher_state()
Dssl_lib.c1828 SSL_AEAD_CTX_free(ssl->aead_write_ctx); in ssl_clear_cipher_ctx()
1829 ssl->aead_write_ctx = NULL; in ssl_clear_cipher_ctx()
1865 if (ssl->aead_write_ctx == NULL) { in SSL_get_current_cipher()
1868 return ssl->aead_write_ctx->cipher; in SSL_get_current_cipher()
2544 if (ssl->aead_read_ctx == NULL || ssl->aead_write_ctx == NULL) { in SSL_get_rc4_state()
2549 EVP_AEAD_CTX_get_rc4_state(&ssl->aead_write_ctx->ctx, write_key); in SSL_get_rc4_state()
2554 if (ssl->aead_read_ctx == NULL || ssl->aead_write_ctx == NULL) { in SSL_get_ivs()
2560 !EVP_AEAD_CTX_get_iv(&ssl->aead_write_ctx->ctx, out_write_iv, in SSL_get_ivs()
Ddtls_record.c253 SSL_AEAD_CTX *aead = ssl->aead_write_ctx; in dtls_seal_record()
/external/boringssl/src/include/openssl/
Dssl.h3779 SSL_AEAD_CTX *aead_write_ctx; member