Searched refs:len_bytes (Results 1 – 5 of 5) sorted by relevance
/external/openssh/ |
D | sshbuf-getput-crypto.c | 53 size_t len_bytes; in sshbuf_get_bignum1() local 59 len_bytes = (len_bits + 7) >> 3; in sshbuf_get_bignum1() 60 if (len_bytes > SSHBUF_MAX_BIGNUM) in sshbuf_get_bignum1() 62 if (sshbuf_len(buf) < 2 + len_bytes) in sshbuf_get_bignum1() 64 if (v != NULL && BN_bin2bn(d + 2, len_bytes, v) == NULL) in sshbuf_get_bignum1() 66 if (sshbuf_consume(buf, 2 + len_bytes) != 0) { in sshbuf_get_bignum1() 172 size_t len_bytes = (len_bits + 7) / 8; in sshbuf_put_bignum1() local 175 if (len_bits < 0 || len_bytes > SSHBUF_MAX_BIGNUM) in sshbuf_put_bignum1() 177 if (BN_bn2bin(v, d) != (int)len_bytes) in sshbuf_put_bignum1() 179 if ((r = sshbuf_reserve(buf, len_bytes + 2, &dp)) < 0) { in sshbuf_put_bignum1() [all …]
|
/external/boringssl/src/ssl/test/ |
D | packeted_bio.cc | 165 uint8_t len_bytes[4]; in PacketedRead() local 166 ret = ReadAll(bio->next_bio, len_bytes, sizeof(len_bytes)); in PacketedRead() 172 uint32_t len = (len_bytes[0] << 24) | (len_bytes[1] << 16) | in PacketedRead() 173 (len_bytes[2] << 8) | len_bytes[3]; in PacketedRead()
|
/external/elfutils/libdw/ |
D | dwarf_getpubnames.c | 74 int len_bytes = 4; in get_offsets() local 79 len_bytes = 8; in get_offsets() 89 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; in get_offsets() 90 mem[cnt].address_len = len_bytes; in get_offsets() 93 || len - (2 + 2 * len_bytes) > max_size - mem[cnt].set_start) in get_offsets() 108 readp + 2, len_bytes, in get_offsets()
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | mpx-dig.c | 290 int search_bd_buf(char *buf, int len_bytes, unsigned long bd_offset_bytes, in search_bd_buf() argument 297 len_bytes, bd_offset_bytes, buf + len_bytes); in search_bd_buf() 299 for (i = 0; i < len_bytes; i += sizeof(unsigned long)) { in search_bd_buf() 355 dprintf3("%s(%p, %x, %lx, ...) done\n", __func__, buf, len_bytes, in search_bd_buf()
|
D | protection_keys.c | 204 void dump_mem(void *dumpme, int len_bytes) in dump_mem() argument 209 for (i = 0; i < len_bytes; i += sizeof(u64)) { in dump_mem()
|