#include "device/fido/enclave/constants.h"
#include <array>
#include "base/command_line.h"
#include "base/logging.h"
#include "device/fido/enclave/types.h"
#include "device/fido/fido_constants.h"
namespace device::enclave {
namespace {
const EnclaveIdentity* g_enclave_override = …;
constexpr char kEnclaveUrl[] = …;
constexpr char kEnclaveUrlSwitch[] = …;
constexpr std::array<uint8_t, device::kP256X962Length> kLocalPublicKey = …;
constexpr std::array<uint8_t, device::kP256X962Length> kProdPublicKey = …;
}
EnclaveIdentity GetEnclaveIdentity() { … }
ScopedEnclaveOverride::ScopedEnclaveOverride(EnclaveIdentity identity)
: … { … }
ScopedEnclaveOverride::~ScopedEnclaveOverride() { … }
const char kCommandEncodedRequestsKey[] = …;
const char kCommandDeviceIdKey[] = …;
const char kCommandSigKey[] = …;
const char kCommandAuthLevelKey[] = …;
const char kRequestCommandKey[] = …;
const char kRequestWrappedSecretKey[] = …;
const char kRequestSecretKey[] = …;
const char kRequestCounterIDKey[] = …;
const char kRequestVaultHandleWithoutTypeKey[] = …;
const char kRequestWrappedPINDataKey[] = …;
const char kResponseSuccessKey[] = …;
const char kResponseErrorKey[] = …;
const char kRegisterCommandName[] = …;
const char kForgetCommandName[] = …;
const char kWrapKeyCommandName[] = …;
const char kGenKeyPairCommandName[] = …;
const char kRecoveryKeyStoreWrapCommandName[] = …;
const char kPasskeysWrapPinCommandName[] = …;
const char kRecoveryKeyStoreWrapAsMemberCommandName[] = …;
const char kRecoveryKeyStoreRewrapCommandName[] = …;
const char kRegisterPubKeysKey[] = …;
const char kRegisterDeviceIdKey[] = …;
const char kRegisterUVKeyPending[] = …;
const char kHardwareKey[] = …;
const char kSoftwareKey[] = …;
const char kUserVerificationKey[] = …;
const char kSoftwareUserVerificationKey[] = …;
const char kWrappingPurpose[] = …;
const char kWrappingKeyToWrap[] = …;
const char kPinHash[] = …;
const char kGeneration[] = …;
const char kClaimKey[] = …;
const char kWrappingResponsePublicKey[] = …;
const char kWrappingResponseWrappedPrivateKey[] = …;
const char kKeyPurposeSecurityDomainMemberKey[] = …;
const char kKeyPurposeSecurityDomainSecret[] = …;
const char kRecoveryKeyStorePinHash[] = …;
const char kRecoveryKeyStoreCertXml[] = …;
const char kRecoveryKeyStoreSigXml[] = …;
const char kRecoveryKeyStoreURL[] = …;
const char kRecoveryKeyStoreCertFileURL[] = …;
const char kRecoveryKeyStoreSigFileURL[] = …;
}