re structure
This commit is contained in:
13
lib/totp/totp.hpp
Normal file
13
lib/totp/totp.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef __TOTP_H__
|
||||
#define __TOTP_H__
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <time.h>
|
||||
|
||||
void TOTP(uint8_t *hmacKey, uint8_t keyLength, uint32_t timeStep);
|
||||
void setTimezone(uint8_t timezone);
|
||||
uint32_t getCodeFromTimestamp(uint32_t timeStamp);
|
||||
uint32_t getCodeFromTimeStruct(struct tm time);
|
||||
uint32_t getCodeFromSteps(uint32_t steps);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user