]> err.no Git - linux-2.6/blobdiff - include/linux/crypto.h
[SPARC64]: Add __read_mostly support.
[linux-2.6] / include / linux / crypto.h
index ac9d49beecd38247d8e7dfdc63240d7e57b840c3..5e2bcc636a02fd4d7a383e661b7661d6ac916169 100644 (file)
@@ -288,6 +288,11 @@ static inline unsigned int crypto_tfm_alg_digestsize(struct crypto_tfm *tfm)
        return tfm->__crt_alg->cra_digest.dia_digestsize;
 }
 
+static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm)
+{
+       return tfm->__crt_alg->cra_alignmask;
+}
+
 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm)
 {
        return (void *)&tfm[1];