summaryrefslogtreecommitdiffstats
path: root/ncr.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-25 21:34:55 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-25 21:34:55 +0200
commit707f55b34377fd9f33ccbdd0b5ab61cb484396f0 (patch)
treef5e1c228cf5dac43187451645f5e72011f6b7528 /ncr.c
parenta9970bd8d7b690f03e770a16d8471924ea3ad126 (diff)
downloadkernel-crypto-707f55b34377fd9f33ccbdd0b5ab61cb484396f0.tar.gz
kernel-crypto-707f55b34377fd9f33ccbdd0b5ab61cb484396f0.tar.xz
kernel-crypto-707f55b34377fd9f33ccbdd0b5ab61cb484396f0.zip
Key wrapping operates directly to userspace data. No need to involve the data_t structures.
Diffstat (limited to 'ncr.c')
-rw-r--r--ncr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ncr.c b/ncr.c
index 4cc7ef35217..928bf3ed212 100644
--- a/ncr.c
+++ b/ncr.c
@@ -146,13 +146,13 @@ ncr_ioctl(struct ncr_lists* lst, struct file *filp,
case NCRIO_KEY_GET_INFO:
return ncr_key_info(&lst->key, arg);
case NCRIO_KEY_WRAP:
- return ncr_key_wrap(&lst->key, &lst->data, arg);
+ return ncr_key_wrap(&lst->key, arg);
case NCRIO_KEY_UNWRAP:
- return ncr_key_unwrap(&lst->key, &lst->data, arg);
+ return ncr_key_unwrap(&lst->key, arg);
case NCRIO_KEY_STORAGE_WRAP:
- return ncr_key_storage_wrap(&lst->key, &lst->data, arg);
+ return ncr_key_storage_wrap(&lst->key, arg);
case NCRIO_KEY_STORAGE_UNWRAP:
- return ncr_key_storage_unwrap(&lst->key, &lst->data, arg);
+ return ncr_key_storage_unwrap(&lst->key, arg);
case NCRIO_SESSION_INIT:
return ncr_session_init(lst, arg);
case NCRIO_SESSION_UPDATE: