summaryrefslogtreecommitdiff
path: root/hmac.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2011-08-30 07:55:13 +0200
committerNiels Möller <nisse@lysator.liu.se>2011-08-30 07:55:13 +0200
commit4a1f524054ba8c1457fd4ec35357043b4e81625c (patch)
tree33d53ee7be4dcdaaf0c57b52902dc92514d51ded /hmac.h
parent6c8fd4de470f08cf353365a3d336dbba1c1a80f3 (diff)
downloadnettle-4a1f524054ba8c1457fd4ec35357043b4e81625c.tar.gz
Declare hmac-ripemd160 functions.
Rev: nettle/hmac.h:1.5
Diffstat (limited to 'hmac.h')
-rw-r--r--hmac.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/hmac.h b/hmac.h
index 0142e6e3..2388d7aa 100644
--- a/hmac.h
+++ b/hmac.h
@@ -103,6 +103,22 @@ hmac_md5_digest(struct hmac_md5_ctx *ctx,
unsigned length, uint8_t *digest);
+/* hmac-ripemd160 */
+struct hmac_ripemd160_ctx HMAC_CTX(struct ripemd160_ctx);
+
+void
+hmac_ripemd160_set_key(struct hmac_ripemd160_ctx *ctx,
+ unsigned key_length, const uint8_t *key);
+
+void
+hmac_ripemd160_update(struct hmac_ripemd160_ctx *ctx,
+ unsigned length, const uint8_t *data);
+
+void
+hmac_ripemd160_digest(struct hmac_ripemd160_ctx *ctx,
+ unsigned length, uint8_t *digest);
+
+
/* hmac-sha1 */
struct hmac_sha1_ctx HMAC_CTX(struct sha1_ctx);