Home
last modified time | relevance | path

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

/external/rust/crates/quiche/deps/boringssl/src/crypto/bytestring/
Dcbb.c150 size_t len_len) { in cbb_buffer_add_u() argument
151 if (len_len == 0) { in cbb_buffer_add_u()
156 if (!cbb_buffer_add(base, &buf, len_len)) { in cbb_buffer_add_u()
160 for (size_t i = len_len - 1; i < len_len; i--) { in cbb_buffer_add_u()
229 uint8_t len_len; in CBB_flush() local
238 len_len = 5; in CBB_flush()
241 len_len = 4; in CBB_flush()
244 len_len = 3; in CBB_flush()
247 len_len = 2; in CBB_flush()
250 len_len = 1; in CBB_flush()
[all …]
Dcbs.c196 static int cbs_get_length_prefixed(CBS *cbs, CBS *out, size_t len_len) { in cbs_get_length_prefixed() argument
198 if (!cbs_get_u(cbs, &len, len_len)) { in cbs_get_length_prefixed()
203 assert(len_len <= 3); in cbs_get_length_prefixed()
/external/boringssl/src/crypto/bytestring/
Dcbb.c150 size_t len_len) { in cbb_buffer_add_u() argument
151 if (len_len == 0) { in cbb_buffer_add_u()
156 if (!cbb_buffer_add(base, &buf, len_len)) { in cbb_buffer_add_u()
160 for (size_t i = len_len - 1; i < len_len; i--) { in cbb_buffer_add_u()
229 uint8_t len_len; in CBB_flush() local
238 len_len = 5; in CBB_flush()
241 len_len = 4; in CBB_flush()
244 len_len = 3; in CBB_flush()
247 len_len = 2; in CBB_flush()
250 len_len = 1; in CBB_flush()
[all …]
Dcbs.c196 static int cbs_get_length_prefixed(CBS *cbs, CBS *out, size_t len_len) { in cbs_get_length_prefixed() argument
198 if (!cbs_get_u(cbs, &len, len_len)) { in cbs_get_length_prefixed()
203 assert(len_len <= 3); in cbs_get_length_prefixed()
/external/rust/crates/ring/src/
Ddigest.rs86 if padding_pos > block_len - self.algorithm.len_len { in finish()
279 len_len: usize, field
315 len_len: 64 / 8,
340 len_len: 64 / 8,
365 len_len: SHA512_LEN_LEN,
390 len_len: SHA512_LEN_LEN,
419 len_len: SHA512_LEN_LEN,