Home
last modified time | relevance | path

Searched refs:padding_length (Results 1 – 25 of 36) sorted by relevance

12

/external/webrtc/logging/rtc_event_log/events/
Drtc_event_generic_packet_sent.h31 size_t padding_length) in LoggedGenericPacketSent()
36 padding_length(padding_length) {} in LoggedGenericPacketSent()
43 return payload_length + padding_length + overhead_length; in packet_length()
49 size_t padding_length; member
59 size_t padding_length);
84 size_t padding_length() const { return padding_length_; } in padding_length() function
Drtc_event_generic_packet_sent.cc20 size_t padding_length) in RtcEventGenericPacketSent() argument
24 padding_length_(padding_length) {} in RtcEventGenericPacketSent()
Drtc_event_rtp_packet_outgoing.h67 size_t padding_length() const { return packet_.padding_size(); } in padding_length() function
Drtc_event_rtp_packet_incoming.h66 size_t padding_length() const { return packet_.padding_size(); } in padding_length() function
/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c75 size_t padding_length = in[in_len - 1]; in EVP_tls_cbc_remove_padding() local
77 crypto_word_t good = constant_time_ge_w(in_len, overhead + padding_length); in EVP_tls_cbc_remove_padding()
93 uint8_t mask = constant_time_ge_8(padding_length, i); in EVP_tls_cbc_remove_padding()
97 good &= ~(mask & (padding_length ^ b)); in EVP_tls_cbc_remove_padding()
108 padding_length = good & (padding_length + 1); in EVP_tls_cbc_remove_padding()
109 *out_len = in_len - padding_length; in EVP_tls_cbc_remove_padding()
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c75 size_t padding_length = in[in_len - 1]; in EVP_tls_cbc_remove_padding() local
77 crypto_word_t good = constant_time_ge_w(in_len, overhead + padding_length); in EVP_tls_cbc_remove_padding()
93 uint8_t mask = constant_time_ge_8(padding_length, i); in EVP_tls_cbc_remove_padding()
97 good &= ~(mask & (padding_length ^ b)); in EVP_tls_cbc_remove_padding()
108 padding_length = good & (padding_length + 1); in EVP_tls_cbc_remove_padding()
109 *out_len = in_len - padding_length; in EVP_tls_cbc_remove_padding()
/external/cronet/third_party/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c75 size_t padding_length = in[in_len - 1]; in EVP_tls_cbc_remove_padding() local
77 crypto_word_t good = constant_time_ge_w(in_len, overhead + padding_length); in EVP_tls_cbc_remove_padding()
93 uint8_t mask = constant_time_ge_8(padding_length, i); in EVP_tls_cbc_remove_padding()
97 good &= ~(mask & (padding_length ^ b)); in EVP_tls_cbc_remove_padding()
108 padding_length = good & (padding_length + 1); in EVP_tls_cbc_remove_padding()
109 *out_len = in_len - padding_length; in EVP_tls_cbc_remove_padding()
/external/python/rsa/rsa/
Dpkcs1.py108 padding_length = target_length - msglength - 3
112 while len(padding) < padding_length:
113 needed_bytes = padding_length - len(padding)
122 assert len(padding) == padding_length
156 padding_length = target_length - msglength - 3
159 padding_length * b'\xff',
/external/openthread/tests/scripts/thread-cert/
Dtest_ipv6.py783 def create_padding(self, padding_length): argument
784 if padding_length == 1:
786 elif padding_length > 1:
787 padding_length -= 2
788 … return bytearray([0x01, padding_length]) + bytearray([0x00 for _ in range(padding_length)])
805 padding_length = self._calculate_required_padding(len(expected_data))
806 expected_data += self.create_padding(padding_length)
967 padding_length = 8 - excess_bytes
969 if padding_length == 1:
971 elif padding_length > 1:
[all …]
Dipv6.py718 padding_length = 8 - excess_bytes
720 if padding_length == 1:
724 padding_length -= 2
725 data += bytearray([self._many_bytes_padding, padding_length])
726 data += bytearray([0x00 for _ in range(padding_length)])
/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/
Dtest_frame_sequence.cc36 absl::optional<int> padding_length) { in Data() argument
39 if (padding_length) { in Data()
40 data->set_padding_len(padding_length.value()); in Data()
Drecording_http2_visitor.cc64 size_t padding_length) { in OnDataPaddingLength() argument
66 absl::StrFormat("OnDataPaddingLength %d %d", stream_id, padding_length)); in OnDataPaddingLength()
Dcallback_visitor.cc216 size_t padding_length) { in OnDataPaddingLength() argument
217 QUICHE_DCHECK_GE(remaining_data_, padding_length); in OnDataPaddingLength()
218 current_frame_.data.padlen = padding_length; in OnDataPaddingLength()
219 remaining_data_ -= padding_length; in OnDataPaddingLength()
Dtest_frame_sequence.h31 absl::optional<int> padding_length = absl::nullopt);
Drecording_http2_visitor.h37 size_t padding_length) override;
Dhttp2_visitor_interface.h160 size_t padding_length) = 0;
Dcallback_visitor.h43 size_t padding_length) override;
Dmock_http2_visitor.h57 (Http2StreamId strema_id, size_t padding_length), (override));
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback.cc630 const size_t padding_length = PaddingLength(); in Create() local
631 bool has_padding = padding_length > 0; in Create()
670 if (padding_length > 0) { in Create()
671 for (size_t i = 0; i < padding_length - 1; ++i) { in Create()
674 packet[(*position)++] = padding_length; in Create()
/external/compiler-rt/lib/interception/
Dinterception_win.cc687 size_t padding_length = 0; in OverrideFunctionWithTrampoline() local
713 padding_length = kAddressLength; in OverrideFunctionWithTrampoline()
722 uptr patch_address = old_func - padding_length; in OverrideFunctionWithTrampoline()
723 uptr patch_length = instructions_length + padding_length; in OverrideFunctionWithTrampoline()
/external/scapy/scapy/contrib/
Dpnio_rtc.py213 StrFixedLenField("padding", "", length_from=lambda p: p[PNIORealTime].padding_length()),
222 def padding_length(self): member in PNIORealTime
/external/cronet/net/test/embedded_test_server/
Dhttp2_connection.h74 bool OnDataPaddingLength(StreamId stream_id, size_t padding_length) override;
Dhttp2_connection.cc426 size_t padding_length) { in OnDataPaddingLength() argument
427 adapter_->MarkDataConsumedForStream(stream_id, padding_length); in OnDataPaddingLength()
/external/webrtc/logging/rtc_event_log/encoder/
Drtc_event_log_encoder_new_format.cc402 proto_batch->set_padding_size(base_event->padding_length()); in EncodeRtpPacket()
550 values[i] = event->padding_length(); in EncodeRtpPacket()
552 encoded_deltas = EncodeDeltas(base_event->padding_length(), values); in EncodeRtpPacket()
1573 proto_batch->set_padding_length(base_event->padding_length()); in EncodeGenericPacketsSent()
1628 values[i] = event->padding_length(); in EncodeGenericPacketsSent()
1630 encoded_deltas = EncodeDeltas(base_event->padding_length(), values); in EncodeGenericPacketsSent()
/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/
Dquic_test_utils.cc949 size_t padding_length = min_plaintext_size - data.length(); in ConstructEncryptedPacket() local
950 frames.push_back(QuicFrame(QuicPaddingFrame(padding_length))); in ConstructEncryptedPacket()
1055 size_t padding_length = 7 - data.length(); in ConstructMisFramedEncryptedPacket() local
1056 frames.push_back(QuicFrame(QuicPaddingFrame(padding_length))); in ConstructMisFramedEncryptedPacket()

12