Asylo
Namespaces | Functions
sha256_hash_util.h File Reference
#include <cstdint>
#include <string>
#include "asylo/crypto/sha256_hash.pb.h"
#include "asylo/util/statusor.h"
Include dependency graph for sha256_hash_util.h:

Go to the source code of this file.

Namespaces

 asylo
 

Functions

StatusOr< Sha256HashProto > asylo::CreateSha256HashProto (absl::string_view hash_hex)
 Returns a Sha256HashProto with the hash of the given |hex_string|, or a non-OK Status if the provided string is an invalid hex-encoded SHA-256 hash. More...
 
bool asylo::operator== (const Sha256HashProto &lhs, const Sha256HashProto &rhs)
 Compares two Sha256HashProto messages for equality. More...
 
bool asylo::operator!= (const Sha256HashProto &lhs, const Sha256HashProto &rhs)
 Compares two Sha256HashProto messages for inequality. More...