Ronen Shitrit <[EMAIL PROTECTED]> wrote: > > The address of the first structure is aligned to 8. > Since the first structure cipher_tfm is of size: (2 + 9(union))*4 = > 11*4,
This calculation is correct for a 32-bit processor. However, on a 64-bit processor you'll find that the size of crypto_tfm is a multiple of 8 (mostly due to the trailing member being a pointer). If you find a case where this is not the case, please let me know. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
