Searched refs:SecureHash (Results 1 – 4 of 4) sorted by relevance
26 std::unique_ptr<crypto::SecureHash> ctx( in TEST()27 crypto::SecureHash::Create(crypto::SecureHash::SHA256)); in TEST()53 std::unique_ptr<crypto::SecureHash> ctx1( in TEST()54 crypto::SecureHash::Create(crypto::SecureHash::SHA256)); in TEST()57 std::unique_ptr<crypto::SecureHash> ctx2(ctx1->Clone()); in TEST()58 std::unique_ptr<crypto::SecureHash> ctx3(ctx2->Clone()); in TEST()79 std::unique_ptr<crypto::SecureHash> ctx( in TEST()80 crypto::SecureHash::Create(crypto::SecureHash::SHA256)); in TEST()92 std::unique_ptr<crypto::SecureHash> ctx1( in TEST()93 crypto::SecureHash::Create(crypto::SecureHash::SHA256)); in TEST()[all …]
20 class CRYPTO_EXPORT SecureHash {25 virtual ~SecureHash() {} in ~SecureHash()27 static std::unique_ptr<SecureHash> Create(Algorithm type);36 virtual std::unique_ptr<SecureHash> Clone() const = 0;39 SecureHash() {} in SecureHash() function42 DISALLOW_COPY_AND_ASSIGN(SecureHash);
24 class SecureHashSHA256 : public SecureHash {48 std::unique_ptr<SecureHash> Clone() const override { in Clone()60 std::unique_ptr<SecureHash> SecureHash::Create(Algorithm algorithm) { in Create()
17 std::unique_ptr<SecureHash> ctx(SecureHash::Create(SecureHash::SHA256)); in SHA256HashString()