Searched refs:SSL3_RT_HEADER_LENGTH (Results 1 – 11 of 11) sorted by relevance
170 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 …]
350 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()
229 static_assert(SSL3_RT_HEADER_LENGTH * 2 +
1083 client_hello.size() <= SSL3_RT_HEADER_LENGTH) { in GetClientHelloLen()1087 return client_hello.size() - SSL3_RT_HEADER_LENGTH; in GetClientHelloLen()
40 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()
45 import static org.conscrypt.NativeConstants.SSL3_RT_HEADER_LENGTH;785 if (srcLength < SSL3_RT_HEADER_LENGTH) {
41 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()
46 import static com.android.org.conscrypt.NativeConstants.SSL3_RT_HEADER_LENGTH;786 if (srcLength < SSL3_RT_HEADER_LENGTH) {
206 #define SSL3_RT_HEADER_LENGTH 5 macro266 (SSL3_RT_MAX_ENCRYPTED_LENGTH + SSL3_RT_HEADER_LENGTH)
118 CONST(SSL3_RT_HEADER_LENGTH); in main()
451 (config->is_dtls ? DTLS1_RT_HEADER_LENGTH : SSL3_RT_HEADER_LENGTH)) { in MessageCallback()