Lines Matching refs:crypto
5 #include "crypto/sha2.h"
24 uint8_t output1[crypto::kSHA256Length];
25 crypto::SHA256HashString(input1, output1, sizeof(output1));
26 for (size_t i = 0; i < crypto::kSHA256Length; i++)
30 crypto::SHA256HashString(input1,
49 std::string output1 = crypto::SHA256HashString(input1);
50 ASSERT_EQ(crypto::kSHA256Length, output1.size());
51 for (size_t i = 0; i < crypto::kSHA256Length; i++)
68 uint8_t output2[crypto::kSHA256Length];
69 crypto::SHA256HashString(input2, output2, sizeof(output2));
70 for (size_t i = 0; i < crypto::kSHA256Length; i++)
74 crypto::SHA256HashString(input2,
92 uint8_t output3[crypto::kSHA256Length];
93 crypto::SHA256HashString(input3, output3, sizeof(output3));
94 for (size_t i = 0; i < crypto::kSHA256Length; i++)
98 crypto::SHA256HashString(input3,