From 5c6b15ddeeee7b3f9efabb990525e08ddc952aa4 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Mon, 22 Feb 2010 22:40:20 +0100 Subject: [PATCH] Remove unused 'void mdfour(unsigned char *out, const unsigned char *in, int n)' --- mdfour.c | 10 ---------- mdfour.h | 1 - 2 files changed, 11 deletions(-) diff --git a/mdfour.c b/mdfour.c index 38dfe7879..e81501247 100644 --- a/mdfour.c +++ b/mdfour.c @@ -187,13 +187,3 @@ void mdfour_result(struct mdfour *md, unsigned char *out) copy4(out+8, m->C); copy4(out+12, m->D); } - - -void mdfour(unsigned char *out, const unsigned char *in, int n) -{ - struct mdfour md; - mdfour_begin(&md); - mdfour_update(&md, in, n); - mdfour_update(&md, NULL, 0); - mdfour_result(&md, out); -} diff --git a/mdfour.h b/mdfour.h index e31eeacd1..302ac44c8 100644 --- a/mdfour.h +++ b/mdfour.h @@ -34,6 +34,5 @@ struct mdfour { void mdfour_begin(struct mdfour *md); void mdfour_update(struct mdfour *md, const unsigned char *in, int n); void mdfour_result(struct mdfour *md, unsigned char *out); -void mdfour(unsigned char *out, const unsigned char *in, int n); #endif -- 2.47.3