HomeSort by relevance Sort by last modified time
    Searched refs:hmac2 (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/components/rappor/
byte_vector_utils.cc 62 crypto::HMAC* hmac2 = provided_data.size() > 0 ? &temp_hmac : out_hmac; local
64 if (!HMAC_Rotate(hmac1, Concat(*value, 0x00, provided_data), hmac2))
67 if (!HMAC_Rehash(*hmac2, value))
70 if (hmac2 == out_hmac)
73 if (!HMAC_Rotate(*hmac2, Concat(*value, 0x01, provided_data), out_hmac))
  /external/chromium_org/crypto/
hmac_unittest.cc 229 crypto::HMAC hmac2(crypto::HMAC::SHA256);
230 ASSERT_TRUE(hmac2.Init(kKnownSecretKey, kKnownSecretKeySize));
233 EXPECT_TRUE(hmac2.Sign(message_data, calculated_hmac2, kSHA256DigestSize));

Completed in 640 milliseconds