HmacByteVectorGenerator 135 components/rappor/byte_vector_utils.cc HmacByteVectorGenerator::HmacByteVectorGenerator( HmacByteVectorGenerator 162 components/rappor/byte_vector_utils.cc HmacByteVectorGenerator::~HmacByteVectorGenerator() {} HmacByteVectorGenerator 164 components/rappor/byte_vector_utils.cc HmacByteVectorGenerator::HmacByteVectorGenerator( HmacByteVectorGenerator 165 components/rappor/byte_vector_utils.cc const HmacByteVectorGenerator& prev_request) HmacByteVectorGenerator 179 components/rappor/byte_vector_utils.cc const size_t HmacByteVectorGenerator::kEntropyInputSize = (256 / 8) * 3 / 2; HmacByteVectorGenerator 182 components/rappor/byte_vector_utils.cc std::string HmacByteVectorGenerator::GenerateEntropyInput() { HmacByteVectorGenerator 186 components/rappor/byte_vector_utils.cc ByteVector HmacByteVectorGenerator::GetRandomByteVector() { HmacByteVectorGenerator 70 components/rappor/byte_vector_utils.h class HmacByteVectorGenerator : public ByteVectorGenerator { HmacByteVectorGenerator 75 components/rappor/byte_vector_utils.h HmacByteVectorGenerator(size_t byte_count, HmacByteVectorGenerator 79 components/rappor/byte_vector_utils.h ~HmacByteVectorGenerator(); HmacByteVectorGenerator 91 components/rappor/byte_vector_utils.h explicit HmacByteVectorGenerator(const HmacByteVectorGenerator& prev_request); HmacByteVectorGenerator 106 components/rappor/byte_vector_utils.h DISALLOW_ASSIGN(HmacByteVectorGenerator); HmacByteVectorGenerator 15 components/rappor/byte_vector_utils_unittest.cc class SecondRequest : public HmacByteVectorGenerator { HmacByteVectorGenerator 17 components/rappor/byte_vector_utils_unittest.cc SecondRequest(const HmacByteVectorGenerator& first_request) HmacByteVectorGenerator 18 components/rappor/byte_vector_utils_unittest.cc : HmacByteVectorGenerator(first_request) {} HmacByteVectorGenerator 57 components/rappor/byte_vector_utils_unittest.cc TEST(ByteVectorTest, HmacByteVectorGenerator) { HmacByteVectorGenerator 58 components/rappor/byte_vector_utils_unittest.cc HmacByteVectorGenerator generator(1u, HmacByteVectorGenerator 59 components/rappor/byte_vector_utils_unittest.cc std::string(HmacByteVectorGenerator::kEntropyInputSize, 0x00), ""); HmacByteVectorGenerator 81 components/rappor/byte_vector_utils_unittest.cc HmacByteVectorGenerator generator(1024u / 8, entropy_input, ""); HmacByteVectorGenerator 109 components/rappor/byte_vector_utils_unittest.cc HmacByteVectorGenerator generator(50u, HmacByteVectorGenerator 110 components/rappor/byte_vector_utils_unittest.cc HmacByteVectorGenerator::GenerateEntropyInput(), ""); HmacByteVectorGenerator 119 components/rappor/byte_vector_utils_unittest.cc HmacByteVectorGenerator generator(50u, HmacByteVectorGenerator 120 components/rappor/byte_vector_utils_unittest.cc HmacByteVectorGenerator::GenerateEntropyInput(), ""); HmacByteVectorGenerator 35 components/rappor/rappor_metric.cc HmacByteVectorGenerator hmac_generator(bytes().size(), secret, HmacByteVectorGenerator 43 components/rappor/rappor_metric_unittest.cc HmacByteVectorGenerator::GenerateEntropyInput()); HmacByteVectorGenerator 57 components/rappor/rappor_metric_unittest.cc const std::string secret = HmacByteVectorGenerator::GenerateEntropyInput(); HmacByteVectorGenerator 120 components/rappor/rappor_service.cc if (decoded && secret_.size() == HmacByteVectorGenerator::kEntropyInputSize) HmacByteVectorGenerator 127 components/rappor/rappor_service.cc secret_ = HmacByteVectorGenerator::GenerateEntropyInput(); HmacByteVectorGenerator 38 components/rappor/rappor_service_unittest.cc HmacByteVectorGenerator::GenerateEntropyInput());