]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Declare hmac-ripemd160 functions.
authorNiels Möller <nisse@lysator.liu.se>
Tue, 30 Aug 2011 05:55:13 +0000 (07:55 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 30 Aug 2011 05:55:13 +0000 (07:55 +0200)
Rev: nettle/hmac.h:1.5

hmac.h

diff --git a/hmac.h b/hmac.h
index 0142e6e378bdd041656ffc7c5a7542401e904b9d..2388d7aa798a9ed798e41796f7c619cec59caa98 100644 (file)
--- 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);