Herbert Xu wrote: > On Wed, Jul 19, 2006 at 03:07:45PM +1200, Michal Ludvig wrote: >> I was just about to update padlock-aes to handle non-aligned input (i.e. >> no copy-to-tmp required) on VIA C7. It still requires aligned key, IV >> and control word though. Is that possible? Or will I have to unset >> alignmask and align CTX myself? > > Feel free to add a new field for CTX alignment only.
How about aligmmaskmask = ALIGN_CTX | ALIGN_IV | ALIGN_DATA | ALIGN_KEY It is possible that some engines may require different alignment for these things but it shouldn't harm if to eventually align them all to the strictest mask. OK? Michal - 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
