X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=crypto%2Fghash-generic.c;h=12ad3e3a84e3d7d570e75fad4c521718a3bf9790;hb=2e4333c14de06a333783d6812cf3c4998f78b0c8;hp=bac70995e0640a49fbc56797c4f7b605791ff98b;hpb=f44dd184634d401f5cf88a6d8b4a60d5ff4f417f;p=karo-tx-linux.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);