X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=crypto%2Fhash.c;h=12c4514f3478df49786e7fe36009bb1e4fa95fd6;hb=81b7bbd1932a04869d4c8635a75222dfc6089f96;hp=cdec23d885fed5630ddec0c347869d507b50fae5;hpb=919251758195919ae3568021bc221e4f8c4b20eb;p=~andy%2Flinux diff --git a/crypto/hash.c b/crypto/hash.c index cdec23d885f..12c4514f347 100644 --- a/crypto/hash.c +++ b/crypto/hash.c @@ -16,12 +16,13 @@ #include "internal.h" -static unsigned int crypto_hash_ctxsize(struct crypto_alg *alg) +static unsigned int crypto_hash_ctxsize(struct crypto_alg *alg, u32 type, + u32 mask) { return alg->cra_ctxsize; } -static int crypto_init_hash_ops(struct crypto_tfm *tfm) +static int crypto_init_hash_ops(struct crypto_tfm *tfm, u32 type, u32 mask) { struct hash_tfm *crt = &tfm->crt_hash; struct hash_alg *alg = &tfm->__crt_alg->cra_hash;