Home
last modified time | relevance | path

Searched refs:use_epoch (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/ssl/
Ddtls_record.cc275 enum dtls1_use_epoch_t use_epoch) { in get_write_aead() argument
276 if (use_epoch == dtls1_use_previous_epoch) { in get_write_aead()
285 enum dtls1_use_epoch_t use_epoch) { in dtls_max_seal_overhead() argument
286 return DTLS1_RT_HEADER_LENGTH + get_write_aead(ssl, use_epoch)->MaxOverhead(); in dtls_max_seal_overhead()
289 size_t dtls_seal_prefix_len(const SSL *ssl, enum dtls1_use_epoch_t use_epoch) { in dtls_seal_prefix_len() argument
291 get_write_aead(ssl, use_epoch)->ExplicitNonceLen(); in dtls_seal_prefix_len()
296 enum dtls1_use_epoch_t use_epoch) { in dtls_seal_record() argument
297 const size_t prefix = dtls_seal_prefix_len(ssl, use_epoch); in dtls_seal_record()
308 if (use_epoch == dtls1_use_previous_epoch) { in dtls_seal_record()
Dd1_both.cc641 enum dtls1_use_epoch_t use_epoch = dtls1_use_current_epoch; in seal_next_message() local
643 use_epoch = dtls1_use_previous_epoch; in seal_next_message()
649 size_t overhead = dtls_max_seal_overhead(ssl, use_epoch); in seal_next_message()
650 size_t prefix = dtls_seal_prefix_len(ssl, use_epoch); in seal_next_message()
661 sizeof(kChangeCipherSpec), use_epoch)) { in seal_next_message()
713 out + prefix, frag_len, use_epoch)) { in seal_next_message()
Dd1_pkt.cc223 enum dtls1_use_epoch_t use_epoch) { in dtls1_write_record() argument
240 buf->remaining().size(), type, in, len, use_epoch)) { in dtls1_write_record()
Dinternal.h890 size_t dtls_max_seal_overhead(const SSL *ssl, enum dtls1_use_epoch_t use_epoch);
894 size_t dtls_seal_prefix_len(const SSL *ssl, enum dtls1_use_epoch_t use_epoch);
902 enum dtls1_use_epoch_t use_epoch);
2729 enum dtls1_use_epoch_t use_epoch);