Home
last modified time | relevance | path

Searched refs:SHA256HashString (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/crypto/
Dsha2_unittest.cc25 crypto::SHA256HashString(input1, output1, sizeof(output1)); in TEST()
30 crypto::SHA256HashString(input1, in TEST()
49 std::string output1 = crypto::SHA256HashString(input1); in TEST()
69 crypto::SHA256HashString(input2, output2, sizeof(output2)); in TEST()
74 crypto::SHA256HashString(input2, in TEST()
93 crypto::SHA256HashString(input3, output3, sizeof(output3)); in TEST()
98 crypto::SHA256HashString(input3, in TEST()
Dsha2.cc16 void SHA256HashString(base::StringPiece str, void* output, size_t len) { in SHA256HashString() function
22 std::string SHA256HashString(base::StringPiece str) { in SHA256HashString() function
24 SHA256HashString(str, base::data(output), output.size()); in SHA256HashString()
Dsha2.h26 CRYPTO_EXPORT void SHA256HashString(base::StringPiece str,
32 CRYPTO_EXPORT std::string SHA256HashString(base::StringPiece str);
Dp224_spake.cc113 SHA256HashString(std::string(password.data(), password.length()), in P224EncryptedKeyExchange()
244 SHA256HashString(hash_contents, out_digest, kSHA256Length); in CalculateHash()
Dsignature_creator_unittest.cc99 std::string sha256 = crypto::SHA256HashString(data); in TEST()
/external/openscreen/util/crypto/
Dsha2_unittest.cc24 EXPECT_EQ(Error::None(), SHA256HashString(input, output)); in TEST()
37 const ErrorOr<std::string> output = SHA256HashString(input); in TEST()
53 EXPECT_EQ(Error::None(), SHA256HashString(input, output)); in TEST()
66 EXPECT_EQ(Error::None(), SHA256HashString(input, output)); in TEST()
Dsha2.cc16 Error SHA256HashString(absl::string_view str, in SHA256HashString() function
27 ErrorOr<std::string> SHA256HashString(absl::string_view str) { in SHA256HashString() function
30 SHA256HashString(str, reinterpret_cast<uint8_t*>(data(output))); in SHA256HashString()
Dsha2.h25 Error SHA256HashString(absl::string_view str,
30 ErrorOr<std::string> SHA256HashString(absl::string_view str);
/external/libchrome/libchrome_tools/patches/
Dlibchrome-Update-crypto.patch171 @@ -21,7 +21,7 @@ void SHA256HashString(const base::StringPiece& str, void* output, size_t len) {
173 std::string SHA256HashString(const base::StringPiece& str) {
175 - SHA256HashString(str, base::string_as_array(&output), output.size());
176 + SHA256HashString(str, base::data(output), output.size());
/external/openscreen/cast/test/
Dmake_crl_tests.cc25 *pubkey_hash = SHA256HashString(pubkey_spki).value(); in AddRevokedPublicKeyHash()
36 SHA256HashString(issuer_spki).value()); in AddSerialNumberRange()
/external/openscreen/cast/common/certificate/
Dcast_crl.cc187 ErrorOr<std::string> spki_hash = SHA256HashString(spki_tlv); in CheckRevocation()