diff options
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index 09cbbe704a..610ea460d7 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -146,6 +146,9 @@ void crypto_digest_get_digest(crypto_digest_env_t *digest, crypto_digest_env_t *crypto_digest_dup(const crypto_digest_env_t *digest); void crypto_digest_assign(crypto_digest_env_t *into, const crypto_digest_env_t *from); +void crypto_hmac_sha1(char *hmac_out, + const char *key, size_t key_len, + const char *msg, size_t msg_len); /* Key negotiation */ crypto_dh_env_t *crypto_dh_new(void); |