diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2007-05-24 21:36:35 +1000 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2007-05-24 14:20:43 -0700 |
commit | f66e4a9471d067a04d53904890dc1b84208cdda9 (patch) | |
tree | f802cc3197ca09b8e2e9da6dc64cf3b7a34e0b8f /drivers/crypto/geode-aes.h | |
parent | 6b99a1744ab187073bca84a9fd3ccbf091865ca6 (diff) |
[PATCH] GEODE-AES: Allow in-place operations [CVE-2007-2451]
Allow in-place crypto operations. Also remove the coherent user flag
(we use it automagically now), and by default use the user written
key rather then the HW hidden key - this makes crypto just work without
any special considerations, and thats OK, since its our only usage
model.
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'drivers/crypto/geode-aes.h')
-rw-r--r-- | drivers/crypto/geode-aes.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/geode-aes.h b/drivers/crypto/geode-aes.h index 8003a36f3a83..f47968671ae7 100644 --- a/drivers/crypto/geode-aes.h +++ b/drivers/crypto/geode-aes.h @@ -20,8 +20,7 @@ #define AES_DIR_DECRYPT 0 #define AES_DIR_ENCRYPT 1 -#define AES_FLAGS_USRKEY (1 << 0) -#define AES_FLAGS_COHERENT (1 << 1) +#define AES_FLAGS_HIDDENKEY (1 << 0) struct geode_aes_op { |