otp.h
author Ryan C. Gordon <icculus@icculus.org>
Thu, 09 Apr 2020 02:15:46 -0400
changeset 60 a0629a9e3ee6
parent 56 a573346e6f7b
permissions -rw-r--r--
otp: Some base32-decoding fixes to match what Google Authenticator expects.

#ifndef _OTP_H_
#define _OTP_H_

int totp(const char *base32_secret, char *dst, int dstlen);

#endif

/* end of otp.h ... */