mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-26 23:55:42 +00:00
parent
62dfa73532
commit
48f7ef327d
1 changed files with 2 additions and 4 deletions
|
@ -47,11 +47,9 @@ typedef struct {
|
||||||
oath_mode mode;
|
oath_mode mode;
|
||||||
oath_hash hash;
|
oath_hash hash;
|
||||||
unsigned int digits;
|
unsigned int digits;
|
||||||
union {
|
uint64_t counter; /* HOTP only */
|
||||||
uint64_t counter; /* HOTP */
|
|
||||||
uint64_t lastused; /* TOTP */
|
|
||||||
};
|
|
||||||
unsigned int timestep; /* TOTP only - in seconds */
|
unsigned int timestep; /* TOTP only - in seconds */
|
||||||
|
uint64_t lastused; /* TOTP only */
|
||||||
|
|
||||||
/* housekeeping */
|
/* housekeeping */
|
||||||
unsigned int dummy:1; /* dummy key, always fail */
|
unsigned int dummy:1; /* dummy key, always fail */
|
||||||
|
|
Loading…
Reference in a new issue