TFAC
Public Attributes | List of all members
tfac_secret Struct Reference

#include <tfac.h>

Public Attributes

char secret_key_base32 [48+1]
 
uint8_t secret_key [30]
 

Detailed Description

A secret to use for generating HOTP/TOTP tokens. This is returned by the tfac_generate_secret() function.

Member Data Documentation

◆ secret_key

uint8_t tfac_secret::secret_key[30]

The raw 2FA secret key bytes.

◆ secret_key_base32

char tfac_secret::secret_key_base32[48+1]

The base32-encoded 2FA secret. This is a NUL-terminated string.


The documentation for this struct was generated from the following file: