CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
cdc::mod_2fa::OathFlag Namespace Reference

Per-entry flag bits stored in OathEntry::flags. More...

Variables

constexpr uint8_t TOUCH_REQUIRED = 0x01
 Require an on-device touch confirmation before answering a CR request.
constexpr uint8_t USB_CR_SLOT = 0x02
 Designate this CR entry as the USB OTP-HID slot-2 responder.

Detailed Description

Per-entry flag bits stored in OathEntry::flags.

Variable Documentation

◆ TOUCH_REQUIRED

uint8_t cdc::mod_2fa::OathFlag::TOUCH_REQUIRED = 0x01
constexpr

Require an on-device touch confirmation before answering a CR request.

Definition at line 34 of file OathStore.h.

Referenced by cdc::mod_2fa::OathStore::challengeResponse(), and cdc::mod_2fa::onWizardTouch().

◆ USB_CR_SLOT

uint8_t cdc::mod_2fa::OathFlag::USB_CR_SLOT = 0x02
constexpr

Designate this CR entry as the USB OTP-HID slot-2 responder.

Definition at line 36 of file OathStore.h.

Referenced by cdc::mod_2fa::OathStore::clearUsbCrFlagExcept(), cdc::mod_2fa::OathStore::findUsbCrSlot(), cdc::mod_2fa::onWizardUsbCr(), and cdc::mod_2fa::wizardFinish().