Lines Matching refs:len_len
150 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()
255 if (len_len != 1) { in CBB_flush()
257 size_t extra_bytes = len_len - 1; in CBB_flush()
265 cbb->child->pending_len_len = len_len - 1; in CBB_flush()
300 uint8_t len_len) { in cbb_add_length_prefixed() argument
308 if (!cbb_buffer_add(cbb->base, &prefix_bytes, len_len)) { in cbb_add_length_prefixed()
312 OPENSSL_memset(prefix_bytes, 0, len_len); in cbb_add_length_prefixed()
318 cbb->child->pending_len_len = len_len; in cbb_add_length_prefixed()
340 unsigned len_len = 0; in add_base128_integer() local
343 len_len++; in add_base128_integer()
346 if (len_len == 0) { in add_base128_integer()
347 len_len = 1; // Zero is encoded with one byte. in add_base128_integer()
349 for (unsigned i = len_len - 1; i < len_len; i--) { in add_base128_integer()