-static bool hmac_sha512(const char *key, size_t keylen, const char *msg, size_t msglen, char *out) {
- char tmp[blklen + mdlen];
+static bool hmac_sha512(const uint8_t *key, size_t keylen, const uint8_t *msg, size_t msglen, uint8_t *out) {
+ uint8_t tmp[blklen + mdlen];