Searched refs:SHA256HashString (Results 1 – 11 of 11) sorted by relevance
/external/libchrome/crypto/ |
D | sha2_unittest.cc | 25 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()
|
D | sha2.cc | 16 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()
|
D | sha2.h | 26 CRYPTO_EXPORT void SHA256HashString(base::StringPiece str, 32 CRYPTO_EXPORT std::string SHA256HashString(base::StringPiece str);
|
D | p224_spake.cc | 113 SHA256HashString(std::string(password.data(), password.length()), in P224EncryptedKeyExchange() 244 SHA256HashString(hash_contents, out_digest, kSHA256Length); in CalculateHash()
|
D | signature_creator_unittest.cc | 99 std::string sha256 = crypto::SHA256HashString(data); in TEST()
|
/external/openscreen/util/crypto/ |
D | sha2_unittest.cc | 24 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()
|
D | sha2.cc | 16 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()
|
D | sha2.h | 25 Error SHA256HashString(absl::string_view str, 30 ErrorOr<std::string> SHA256HashString(absl::string_view str);
|
/external/libchrome/libchrome_tools/patches/ |
D | libchrome-Update-crypto.patch | 171 @@ -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/ |
D | make_crl_tests.cc | 25 *pubkey_hash = SHA256HashString(pubkey_spki).value(); in AddRevokedPublicKeyHash() 36 SHA256HashString(issuer_spki).value()); in AddSerialNumberRange()
|
/external/openscreen/cast/common/certificate/ |
D | cast_crl.cc | 187 ErrorOr<std::string> spki_hash = SHA256HashString(spki_tlv); in CheckRevocation()
|