summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 e74c95d3231..9b96a038ff5 100644
--- a/include/linux/ncr.h
+++ b/include/linux/ncr.h
@@ -4,7 +4,6 @@
#include <linux/types.h>
#define NCR_CIPHER_MAX_BLOCK_LEN 32
-#define NCR_CIPHER_MAX_KEY_LEN 512
#define NCR_HASH_MAX_OUTPUT_SIZE 64
typedef enum {
@@ -218,7 +217,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;
};