Searched refs:bytes_remaining (Results 1 – 3 of 3) sorted by relevance
97 static uint8_t random_length(size_t bytes_remaining) { in random_length() argument102 return bytes_remaining + (randomness & 0xff); in random_length()104 return bytes_remaining - (randomness & 0xff); in random_length()106 return bytes_remaining + (randomness & 0xf); in random_length()108 return bytes_remaining - (randomness & 0xf); in random_length()111 return bytes_remaining + (randomness & 0x3); in random_length()114 return bytes_remaining - (randomness & 0x3); in random_length()116 return bytes_remaining; in random_length()133 static size_t random_data_length(size_t length, size_t bytes_remaining) { in random_data_length() argument138 return bytes_remaining; in random_data_length()[all …]
130 int32_t bytes_remaining = 0; in copy_cert_chain_from_buf() local145 bytes_remaining = cert_chain_size; in copy_cert_chain_from_buf()152 bytes_remaining -= (sizeof(uint32_t) + cert_chain->entries[i].data_length); in copy_cert_chain_from_buf()153 if (bytes_remaining <= 0) { in copy_cert_chain_from_buf()154 retval = (bytes_remaining == 0); in copy_cert_chain_from_buf()
447 const unsigned int bytes_remaining = length - i; in HexDumpArray() local449 bytes_remaining); in HexDumpArray()