Re: [PATCH] crypto: gmac - Add RFC4543 wrapper for GCM

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Herbert Xu
Date: Wednesday, December 2, 2009 - 8:50 pm

On Tue, Dec 01, 2009 at 05:49:28PM +0100, Tobias Brunner wrote:

This field needs to be aligned to whatever alignment needed by
the underlying cipher algorithm (currently the biggest is padlock
which needs 16-byte alignment).

See for example how rfc4543/gcm handles it.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
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 netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] crypto: gmac - Add RFC4543 wrapper for GCM, Tobias Brunner, (Tue Dec 1, 9:49 am)
Re: [PATCH] crypto: gmac - Add RFC4543 wrapper for GCM, David Miller, (Tue Dec 1, 4:51 pm)
Re: [PATCH] crypto: gmac - Add RFC4543 wrapper for GCM, Herbert Xu, (Wed Dec 2, 8:50 pm)
Re: [PATCH] crypto: gmac - Add RFC4543 wrapper for GCM, Tobias Brunner, (Fri Dec 4, 9:31 am)