Home
last modified time | relevance | path

Searched refs:SSL3_RT_HEADER_LENGTH (Results 1 – 11 of 11) sorted by relevance

/external/boringssl/src/ssl/
Dtls_record.cc170 header_len = SSL3_RT_HEADER_LENGTH; in ssl_record_prefix_len()
182 SSL3_RT_HEADER_LENGTH + ssl->s3->aead_write_ctx->ExplicitNonceLen(); in ssl_seal_align_prefix_len()
184 ret += SSL3_RT_HEADER_LENGTH; in ssl_seal_align_prefix_len()
228 *out_consumed = SSL3_RT_HEADER_LENGTH; in tls_open_record()
257 *out_consumed = SSL3_RT_HEADER_LENGTH + (size_t)ciphertext_len; in tls_open_record()
261 Span<const uint8_t> header = in.subspan(0, SSL3_RT_HEADER_LENGTH); in tls_open_record()
412 Span<const uint8_t> header = MakeSpan(out_prefix, SSL3_RT_HEADER_LENGTH); in do_seal_record()
414 if (!aead->SealScatter(out_prefix + SSL3_RT_HEADER_LENGTH, out, out_suffix, in do_seal_record()
427 size_t ret = SSL3_RT_HEADER_LENGTH; in tls_seal_scatter_prefix_len()
435 ret += SSL3_RT_HEADER_LENGTH - 1; in tls_seal_scatter_prefix_len()
[all …]
Ds3_both.cc350 assert(in.size() >= SSL3_RT_HEADER_LENGTH); in read_v2_client_hello()
357 if (msg_length < SSL3_RT_HEADER_LENGTH - 2) { in read_v2_client_hello()
561 if (in.size() < SSL3_RT_HEADER_LENGTH) { in ssl3_open_handshake()
562 *out_consumed = SSL3_RT_HEADER_LENGTH; in ssl3_open_handshake()
Dssl_buffer.cc229 static_assert(SSL3_RT_HEADER_LENGTH * 2 +
Dssl_test.cc1083 client_hello.size() <= SSL3_RT_HEADER_LENGTH) { in GetClientHelloLen()
1087 return client_hello.size() - SSL3_RT_HEADER_LENGTH; in GetClientHelloLen()
/external/conscrypt/common/src/main/java/org/conscrypt/
DSSLUtils.java40 import static org.conscrypt.NativeConstants.SSL3_RT_HEADER_LENGTH;
500 if (buffer.remaining() >= SSL3_RT_HEADER_LENGTH) { in getEncryptedPacketLength()
506 ByteBuffer tmp = ByteBuffer.allocate(SSL3_RT_HEADER_LENGTH); in getEncryptedPacketLength()
550 int packetLength = unsignedShort(buffer.getShort(pos + 3)) + SSL3_RT_HEADER_LENGTH; in getEncryptedPacketLength()
551 if (packetLength <= SSL3_RT_HEADER_LENGTH) { in getEncryptedPacketLength()
DConscryptEngine.java45 import static org.conscrypt.NativeConstants.SSL3_RT_HEADER_LENGTH;
785 if (srcLength < SSL3_RT_HEADER_LENGTH) {
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DSSLUtils.java41 import static com.android.org.conscrypt.NativeConstants.SSL3_RT_HEADER_LENGTH;
501 if (buffer.remaining() >= SSL3_RT_HEADER_LENGTH) { in getEncryptedPacketLength()
507 ByteBuffer tmp = ByteBuffer.allocate(SSL3_RT_HEADER_LENGTH); in getEncryptedPacketLength()
551 int packetLength = unsignedShort(buffer.getShort(pos + 3)) + SSL3_RT_HEADER_LENGTH; in getEncryptedPacketLength()
552 if (packetLength <= SSL3_RT_HEADER_LENGTH) { in getEncryptedPacketLength()
DConscryptEngine.java46 import static com.android.org.conscrypt.NativeConstants.SSL3_RT_HEADER_LENGTH;
786 if (srcLength < SSL3_RT_HEADER_LENGTH) {
/external/boringssl/src/include/openssl/
Dssl3.h206 #define SSL3_RT_HEADER_LENGTH 5 macro
266 (SSL3_RT_MAX_ENCRYPTED_LENGTH + SSL3_RT_HEADER_LENGTH)
/external/conscrypt/constants/src/gen/cpp/
Dgenerate_constants.cc118 CONST(SSL3_RT_HEADER_LENGTH); in main()
/external/boringssl/src/ssl/test/
Dtest_config.cc451 (config->is_dtls ? DTLS1_RT_HEADER_LENGTH : SSL3_RT_HEADER_LENGTH)) { in MessageCallback()