fs/buffer.c: use attach/detach_page_private
[linux-2.6-microblaze.git] / crypto / sha1_generic.c
index 7c57b84..1d43472 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/mm.h>
-#include <linux/cryptohash.h>
 #include <linux/types.h>
 #include <crypto/sha.h>
 #include <crypto/sha1_base.h>
@@ -31,10 +30,10 @@ EXPORT_SYMBOL_GPL(sha1_zero_message_hash);
 static void sha1_generic_block_fn(struct sha1_state *sst, u8 const *src,
                                  int blocks)
 {
-       u32 temp[SHA_WORKSPACE_WORDS];
+       u32 temp[SHA1_WORKSPACE_WORDS];
 
        while (blocks--) {
-               sha_transform(sst->state, src, temp);
+               sha1_transform(sst->state, src, temp);
                src += SHA1_BLOCK_SIZE;
        }
        memzero_explicit(temp, sizeof(temp));