diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-16 17:18:10 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-24 23:46:27 +0200 |
commit | e536df1a394cf653ecc5964ece0551b0259abeb4 (patch) | |
tree | 3cad0c282d08b0616f34eb01199b3d3277d06621 /ncr.h | |
parent | 2039b544b32e37bb4aea4ed06ac9ef905f656326 (diff) | |
download | cryptodev-linux-e536df1a394cf653ecc5964ece0551b0259abeb4.tar.gz cryptodev-linux-e536df1a394cf653ecc5964ece0551b0259abeb4.tar.xz cryptodev-linux-e536df1a394cf653ecc5964ece0551b0259abeb4.zip |
Convert *_KEY_STORAGE_UNWRAP
Diffstat (limited to 'ncr.h')
-rw-r--r-- | ncr.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -259,16 +259,16 @@ struct ncr_key_storage_wrap { __NL_ATTRIBUTES; }; -struct ncr_key_storage_wrap_st { - ncr_key_t keytowrap; - - void __user * io; /* encrypted keytowrap */ - /* this will be updated by the actual size on wrap */ - __kernel_size_t io_size; +struct ncr_key_storage_unwrap { + __u32 input_size, output_size; + ncr_key_t key; + const void __user *data; + __u32 data_size; + __NL_ATTRIBUTES; }; #define NCRIO_KEY_STORAGE_WRAP _IOWR('c', 261, struct ncr_key_storage_wrap) -#define NCRIO_KEY_STORAGE_UNWRAP _IOR ('c', 262, struct ncr_key_storage_wrap_st) +#define NCRIO_KEY_STORAGE_UNWRAP _IOWR('c', 262, struct ncr_key_storage_wrap) /* Crypto Operations ioctls */ |