Searched refs:field_len (Results 1 – 3 of 3) sorted by relevance
38 for (size_t i = 0, field_len = 0; i < len; i += (field_len + 1)) { in IsValid() local39 field_len = data_[i]; in IsValid()43 if (i + field_len >= len) { in IsValid()50 if (field_len < 1) return false; in IsValid()
45 for (size_t i = 0, field_len = 0; i < kScanRecordLength; in GetScanRecordLength() local46 i += (field_len + 1)) { in GetScanRecordLength()47 field_len = bytes[i]; in GetScanRecordLength()52 CHECK(i + field_len < kScanRecordLength); in GetScanRecordLength()57 if (field_len == 0) return i; in GetScanRecordLength()
104 size_t field_len = (field_len_in_bits + 7) / 8; in TEST() local105 size_t public_key_len = (field_len * 2) + 1; in TEST()122 UniquePtr<uint8_t[]> result(new uint8_t[field_len]); in TEST()123 EXPECT_EQ(-1 /* error */, ECDH_compute_key(result.get(), field_len, point_at_infinity, in TEST()