otp.h
author Ryan C. Gordon <icculus@icculus.org>
Sun, 18 Jun 2017 19:50:43 -0400
changeset 57 4974e5368a29
parent 56 a573346e6f7b
permissions -rw-r--r--
Minor type cleanup ("unsigned char" -> "uint8_t").
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56
a573346e6f7b Added One Time Password support.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
#ifndef _OTP_H_
a573346e6f7b Added One Time Password support.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
#define _OTP_H_
a573346e6f7b Added One Time Password support.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
a573346e6f7b Added One Time Password support.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
int totp(const char *base32_secret, char *dst, int dstlen);
a573346e6f7b Added One Time Password support.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
a573346e6f7b Added One Time Password support.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     6
#endif
a573346e6f7b Added One Time Password support.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     7
a573346e6f7b Added One Time Password support.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     8
/* end of otp.h ... */
a573346e6f7b Added One Time Password support.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     9