mirror of
https://github.com/Hizenberg469/OTP-rfc4226-rfc6238-rfc4648.git
synced 2026-04-19 18:02:23 +03:00
Working model finished
This commit is contained in:
16
include/rfc6238.h
Normal file
16
include/rfc6238.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef RFC6238_H
|
||||
#define RFC6238_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
#include "rfc4226.h"
|
||||
|
||||
#define TS 30 /* time step in seconds, default value */
|
||||
|
||||
uint32_t TOTP(uint8_t* key, size_t kl, uint64_t time, int digits);
|
||||
time_t get_time(time_t T0);
|
||||
#endif
|
||||
Reference in New Issue
Block a user