X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=crypto%2Fghash-generic.c;h=12ad3e3a84e3d7d570e75fad4c521718a3bf9790;hb=06bd2b1ed04ca9fdbc767859885944a1e8b86b40;hp=bac70995e0640a49fbc56797c4f7b605791ff98b;hpb=a233bb742aed62fc6164073d9835135f639b8828;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);