]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CRYPTO] authenc: Use or instead of max on alignment masks
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Nov 2007 14:46:40 +0000 (22:46 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:28 +0000 (08:16 +1100)
commite29bc6ad0e84e3157e0f49130a15b278cb232c72
tree90fb10371a7b86264a11287f450d6fd7198311e5
parent9aa6ad3e87af58b4fc87bd4beef1d4c6d9a4c5b7
[CRYPTO] authenc: Use or instead of max on alignment masks

Since alignment masks are always one less than a power of two, we can
use binary or to find their maximum.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/authenc.c