libcotp
libcotp copied to clipboard
C library that generates TOTP and HOTP
I needed to compile this library on MSVC, so here's a bunch of fixes for that. * Make PkgConfig optional * Add .dll.a to the search path for gcrypt (not...
1、HMAC的增加了mbedtls的适配接口。 2、cmake添加mbedtls的方式还有瑕疵,但我不会修改,希望作者帮忙。 3、在嵌入式环境,mbedtls是更受欢迎的,
Fix minor issues we've had using libcotp. Add the COTP_ENABLE_VALIDATION macro after the add_library call. Rename the SHA1, SHA256, and SHA512 macros so that they bear a library prefix. We've...