X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fcrypto%2Fhash.h;h=d56bb71617c315e5cf13505f1ddc32c0cf698377;hb=0c93ea4064a209cdc36de8a9a3003d43d08f46f7;hp=d797e119e3d5e9677a60457670ed097982916691;hpb=fe2fd6cc346cc7199a52250e8fb594852b2a321b;p=mv-sheeva.git diff --git a/include/crypto/hash.h b/include/crypto/hash.h index d797e119e3d..d56bb71617c 100644 --- a/include/crypto/hash.h +++ b/include/crypto/hash.h @@ -231,6 +231,11 @@ static inline unsigned int crypto_shash_alignmask( return crypto_tfm_alg_alignmask(crypto_shash_tfm(tfm)); } +static inline unsigned int crypto_shash_blocksize(struct crypto_shash *tfm) +{ + return crypto_tfm_alg_blocksize(crypto_shash_tfm(tfm)); +} + static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) { return container_of(alg, struct shash_alg, base);