summaryrefslogtreecommitdiffstats
path: root/include/linux/ncr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ncr.h')
-rw-r--r--include/linux/ncr.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/ncr.h b/include/linux/ncr.h
index 01fd4131187..53c77be865f 100644
--- a/include/linux/ncr.h
+++ b/include/linux/ncr.h
@@ -7,7 +7,6 @@
#endif
#define NCR_CIPHER_MAX_BLOCK_LEN 32
-#define NCR_CIPHER_MAX_KEY_LEN 512
#define NCR_HASH_MAX_OUTPUT_SIZE 64
typedef enum {
@@ -221,7 +220,7 @@ struct ncr_key_wrap_st {
/* Internal ops */
struct ncr_master_key_st {
- uint8_t key[NCR_CIPHER_MAX_KEY_LEN];
+ uint8_t __user * key;
uint16_t key_size;
};