X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=crypto%2Fghash-generic.c;h=12ad3e3a84e3d7d570e75fad4c521718a3bf9790;hb=d09ba13110e303d7baa29d170da94cd24f7662b2;hp=bac70995e0640a49fbc56797c4f7b605791ff98b;hpb=6ca4aba43e52b0743c28a9fa7d550b96df63b4f0;p=cascardo%2Flinux.git diff --git a/crypto/ghash-generic.c b/crypto/ghash-generic.c index bac70995e064..12ad3e3a84e3 100644 --- a/crypto/ghash-generic.c +++ b/crypto/ghash-generic.c @@ -14,24 +14,13 @@ #include #include +#include #include #include #include #include #include -#define GHASH_BLOCK_SIZE 16 -#define GHASH_DIGEST_SIZE 16 - -struct ghash_ctx { - struct gf128mul_4k *gf128; -}; - -struct ghash_desc_ctx { - u8 buffer[GHASH_BLOCK_SIZE]; - u32 bytes; -}; - static int ghash_init(struct shash_desc *desc) { struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);