summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/geode-aes.h
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2007-05-24 13:23:24 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2007-05-24 13:23:24 +0200
commit761e784673d79c8ea9befdad31e30c65e0d20b82 (patch)
tree88576a4ce275d7f73ff2b4d6b6c69180e45865d7 /drivers/crypto/geode-aes.h
parentMerge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne... (diff)
downloadlinux-761e784673d79c8ea9befdad31e30c65e0d20b82.tar.xz
linux-761e784673d79c8ea9befdad31e30c65e0d20b82.zip
[CRYPTO] geode: Fix in-place operations and set key
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>
Diffstat (limited to 'drivers/crypto/geode-aes.h')
-rw-r--r--drivers/crypto/geode-aes.h3
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 {