diff options
Diffstat (limited to 'include/linux/crypto.h')
| -rw-r--r-- | include/linux/crypto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h index ac9d49beecd3..5e2bcc636a02 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h | |||
| @@ -288,6 +288,11 @@ static inline unsigned int crypto_tfm_alg_digestsize(struct crypto_tfm *tfm) | |||
| 288 | return tfm->__crt_alg->cra_digest.dia_digestsize; | 288 | return tfm->__crt_alg->cra_digest.dia_digestsize; |
| 289 | } | 289 | } |
| 290 | 290 | ||
| 291 | static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) | ||
| 292 | { | ||
| 293 | return tfm->__crt_alg->cra_alignmask; | ||
| 294 | } | ||
| 295 | |||
| 291 | static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) | 296 | static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) |
| 292 | { | 297 | { |
| 293 | return (void *)&tfm[1]; | 298 | return (void *)&tfm[1]; |
