f2fs: remove extra inode_unlock() in error path
[linux-2.6/btrfs-unstable.git] / include / crypto / ghash.h
blob2a61c9bbab8faf411e0696765e0511c6500821a8
1 /*
2 * Common values for GHASH algorithms
3 */
5 #ifndef __CRYPTO_GHASH_H__
6 #define __CRYPTO_GHASH_H__
8 #include <linux/types.h>
9 #include <crypto/gf128mul.h>
11 #define GHASH_BLOCK_SIZE 16
12 #define GHASH_DIGEST_SIZE 16
14 struct ghash_ctx {
15 struct gf128mul_4k *gf128;
18 struct ghash_desc_ctx {
19 u8 buffer[GHASH_BLOCK_SIZE];
20 u32 bytes;
23 #endif