summaryrefslogtreecommitdiff
path: root/lib/crypto/sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/sha1.c')
-rw-r--r--lib/crypto/sha1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/crypto/sha1.c b/lib/crypto/sha1.c
index 6d809c3088be..813ad96daa25 100644
--- a/lib/crypto/sha1.c
+++ b/lib/crypto/sha1.c
@@ -124,10 +124,10 @@ void sha1_transform(__u32 *digest, const char *data, __u32 *array)
EXPORT_SYMBOL(sha1_transform);
/**
- * sha1_init - initialize the vectors for a SHA1 digest
+ * sha1_init_raw - initialize the vectors for a SHA1 digest
* @buf: vector to initialize
*/
-void sha1_init(__u32 *buf)
+void sha1_init_raw(__u32 *buf)
{
buf[0] = 0x67452301;
buf[1] = 0xefcdab89;
@@ -135,7 +135,7 @@ void sha1_init(__u32 *buf)
buf[3] = 0x10325476;
buf[4] = 0xc3d2e1f0;
}
-EXPORT_SYMBOL(sha1_init);
+EXPORT_SYMBOL(sha1_init_raw);
MODULE_DESCRIPTION("SHA-1 Algorithm");
MODULE_LICENSE("GPL");