diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-25 21:34:55 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-25 21:34:55 +0200 |
commit | 707f55b34377fd9f33ccbdd0b5ab61cb484396f0 (patch) | |
tree | f5e1c228cf5dac43187451645f5e72011f6b7528 /ncr.c | |
parent | a9970bd8d7b690f03e770a16d8471924ea3ad126 (diff) | |
download | kernel-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |