diff options
| author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-07 19:33:33 +0200 |
|---|---|---|
| committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-07 19:33:33 +0200 |
| commit | b673efed4a10dc31567b1c29b140b7910daeaf95 (patch) | |
| tree | 9dbd383a19543719bf6f3e25b7c3259aa1f461f6 /ncr.c | |
| parent | 4334f22638344873c4361f663be9d3dcad2b6bc4 (diff) | |
| download | cryptodev-linux-b673efed4a10dc31567b1c29b140b7910daeaf95.tar.gz cryptodev-linux-b673efed4a10dc31567b1c29b140b7910daeaf95.tar.xz cryptodev-linux-b673efed4a10dc31567b1c29b140b7910daeaf95.zip | |
Public and private keys are being generated in a new workqueue. Some other fixes and optimizations.
Diffstat (limited to 'ncr.c')
| -rw-r--r-- | ncr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,6 +31,7 @@ #include <linux/capability.h> #include "ncr.h" #include "ncr_int.h" +#include <linux/workqueue.h> /* This is the master wrapping key for storage of keys */ @@ -163,9 +164,9 @@ ncr_ioctl(struct ncr_lists* lst, struct file *filp, return ncr_session_once(lst, (void*)arg); case NCRIO_MASTER_KEY_SET: return ncr_master_key_set((void*)arg); -#if 0 case NCRIO_KEY_GENERATE_PAIR: return ncr_key_generate_pair(&lst->key, (void*)arg); +#if 0 case NCRIO_KEY_DERIVE: return ncr_key_derive(&lst->key, (void*)arg); case NCRIO_KEY_GET_PUBLIC: |
