Asylo
|
This library implements operations and utility functions on the proto and uint32 representations of the MISCSELECT structure. More...
#include <vector>
#include "absl/strings/string_view.h"
#include "asylo/identity/platform/sgx/architecture_bits.h"
#include "asylo/identity/platform/sgx/miscselect.pb.h"
#include "asylo/util/status.h"
#include "asylo/util/statusor.h"
Go to the source code of this file.
Namespaces | |
asylo | |
asylo::sgx | |
Functions | |
bool | asylo::sgx::operator== (const Miscselect &lhs, const Miscselect &rhs) |
Checks two Miscselect protos for equality. More... | |
bool | asylo::sgx::operator!= (const Miscselect &lhs, const Miscselect &rhs) |
Checks two Miscselect protos for inequality. More... | |
Status | asylo::sgx::SetMiscselectBit (MiscselectBit bit, uint32_t *miscselect) |
Sets the given bit of miscselect to true, or returns a non-OK Status if the bit was invalid. More... | |
Status | asylo::sgx::SetMiscselectBit (MiscselectBit bit, Miscselect *miscselect) |
Status | asylo::sgx::ClearMiscselectBit (MiscselectBit bit, uint32_t *miscselect) |
Sets the given bit of miscselect to false, or returns a non-OK Status if the bit was invalid. More... | |
Status | asylo::sgx::ClearMiscselectBit (MiscselectBit bit, Miscselect *miscselect) |
StatusOr< bool > | asylo::sgx::IsMiscselectBitSet (MiscselectBit bit, uint32_t miscselect) |
Returns whether the given bit of miscselect is set, or returns a non-OK Status if the bit was invalid. More... | |
StatusOr< bool > | asylo::sgx::IsMiscselectBitSet (MiscselectBit bit, const Miscselect &miscselect) |
std::vector< absl::string_view > | asylo::sgx::GetPrintableMiscselectList (uint32_t miscselect) |
Returns a printable list of the bits set in miscselect . More... | |
std::vector< absl::string_view > | asylo::sgx::GetPrintableMiscselectList (const Miscselect &miscselect) |
This library implements operations and utility functions on the proto and uint32 representations of the MISCSELECT structure.