Project based on c_otp and tiny-HMAC-c and used by me to generate Wi-Fi passwords for guest network.
The output executable is only ~25kb (on mips32 when dynamically-linked with uclibc).
Usage:
$ ./wifi_opt [b32_secretkey]
Example:
$ ./wifi_opt aaaaaaaaaaaaaaaa
0x13b11aa009_304)
Password format:
hex(code*code) _ (code % 997) )
where code is 6-digit totp.
Password example: 0x13b11aa009_304) (key - aaaaaaaaaaaaaaaa
, time - 1680774681
)