X-Git-Url: https://git.cryptolib.org/?p=labortage2013badge.git;a=blobdiff_plain;f=firmware%2Fhotp.h;fp=firmware%2Fhotp.h;h=49b42b63fd75dda8b21a05618d2a4c609aece791;hp=8265e0ce6f574cf346077fbebd102a75c65795f7;hb=64f486437e6ca9d28bda4559dc322d34ea217210;hpb=a971d272c572905df24bf4820fa09bf4838537e5 diff --git a/firmware/hotp.h b/firmware/hotp.h index 8265e0c..49b42b6 100644 --- a/firmware/hotp.h +++ b/firmware/hotp.h @@ -22,6 +22,6 @@ #include -void hotp(char *buffer, void* secret, uint16_t secret_length_b, uint32_t counter, uint8_t digits); +void hotp(char *buffer, const void* secret, uint16_t secret_length_b, uint32_t counter, uint8_t digits); #endif /* HOTP_H_ */