From: Herbert Xu Date: Wed, 6 Jul 2005 20:52:27 +0000 (-0700) Subject: [PADLOCK] Move fast path work into aes_set_key and upper layer X-Git-Tag: v2.6.13-rc3~312^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6789b2dc455b90efc9c88886c9366adc9abb7347;p=pandora-kernel.git [PADLOCK] Move fast path work into aes_set_key and upper layer Most of the work done aes_padlock can be done in aes_set_key. This means that we only have to do it once when the key changes rather than every time we perform an encryption or decryption. This patch also sets cra_alignmask to let the upper layer ensure that the buffers fed to us are aligned correctly. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed