* Herbert Xu | 2008-04-17 11:34:02 [+0800]: >On Thu, Apr 17, 2008 at 09:52:03AM +0800, Huang, Ying wrote: >> >> As far as I know, the CRYPTO_MINALIGN is defined in >> include/linux/crypto.h as __alignof__(unsigned long long), and the >> __crt_ctx in crypto_tfm is aligned in CRYPTO_MINALIGN. So I think adding >> a pad is sufficient for x86_64 implementation. > >It should be sufficient but it would be better to use an align Doesn't this imply that kmalloc() returns memory that is always pointer aligned what isn't the case AFAIK? >Thanks, Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html