summaryrefslogtreecommitdiffstats
path: root/ncr.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-18 03:28:31 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-24 22:58:02 +0200
commitd6e4385206d32171d63abe33ee11a349dc9d6e3a (patch)
tree279ce2bdb969803cc815c5d11470003497d3f220 /ncr.c
parentb327f41fefe390d6db4832fe44f3cf37d86514c0 (diff)
downloadkernel-crypto-d6e4385206d32171d63abe33ee11a349dc9d6e3a.tar.gz
kernel-crypto-d6e4385206d32171d63abe33ee11a349dc9d6e3a.tar.xz
kernel-crypto-d6e4385206d32171d63abe33ee11a349dc9d6e3a.zip
Convert *_KEY_DERIVE
Diffstat (limited to 'ncr.c')
-rw-r--r--ncr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ncr.c b/ncr.c
index 4cff5090146..7f905f20063 100644
--- a/ncr.c
+++ b/ncr.c
@@ -147,6 +147,7 @@ ncr_ioctl(struct ncr_lists *lst, unsigned int cmd, unsigned long arg_)
CASE_NO_OUTPUT(NCRIO_KEY_GENERATE, ncr_key_generate, ncr_key_generate);
CASE_NO_OUTPUT(NCRIO_KEY_GENERATE_PAIR, ncr_key_generate_pair,
ncr_key_generate_pair);
+ CASE_NO_OUTPUT(NCRIO_KEY_DERIVE, ncr_key_derive, ncr_key_derive);
case NCRIO_KEY_DEINIT:
return ncr_key_deinit(lst, arg);
case NCRIO_KEY_EXPORT:
@@ -174,8 +175,6 @@ ncr_ioctl(struct ncr_lists *lst, unsigned int cmd, unsigned long arg_)
case NCRIO_MASTER_KEY_SET:
return ncr_master_key_set(arg);
- case NCRIO_KEY_DERIVE:
- return ncr_key_derive(lst, arg);
default:
return -EINVAL;
#undef CASE_NO_OUTPUT
@@ -195,6 +194,7 @@ ncr_compat_ioctl(struct ncr_lists *lst, unsigned int cmd, unsigned long arg_)
case NCRIO_KEY_INIT:
case NCRIO_KEY_GENERATE:
case NCRIO_KEY_GENERATE_PAIR:
+ case NCRIO_KEY_DERIVE:
return ncr_ioctl(lst, cmd, arg_);
default:
return -EINVAL;