#include "dinamo.h"
Data Fields | |
| BYTE | type |
| BYTE | key_len |
| BYTE | key[MAX_OATH_HMAC_LEN] |
| BYTE | truncation_offset |
Standard OTP token definition structure OATH event (HOTP).
| BYTE type |
At the moment this value should be as defined in the table.
| Value | Meaning |
|---|---|
| OATH_SA_v1_type_SHA1 | Set the type to SHA1. |
| BYTE key_len |
Size of the key (seed) of the OTP token, used in key.
| BYTE key[MAX_OATH_HMAC_LEN] |
Key(seed) used to define the standard OTP OATH. The key size must be specified in key_len.
| BYTE truncation_offset |
The following amount is supported:
| Value | Meaning |
|---|---|
| OATH_SA_v1_HOTP_DYN_TRUNC_OFF | Defines the "truncation" algorithm as dynamic. |