// TODO: separate key setup from hmac_sha512
static bool hmac_sha512(const char *key, size_t keylen, const char *msg, size_t msglen, char *out) {
// TODO: separate key setup from hmac_sha512
static bool hmac_sha512(const char *key, size_t keylen, const char *msg, size_t msglen, char *out) {