summaryrefslogtreecommitdiffstats
path: root/ncr-int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-08-21 10:11:38 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-08-21 10:12:56 +0200
commit7b2f60fb851e7fe728ff80e5f9416b34ba47dde1 (patch)
tree07e9c00eb8a1fc1adf56d5602e670e0f908431ca /ncr-int.h
parent5543826bf1a2b550d8ce4fe116288178537ec902 (diff)
downloadcryptodev-linux-7b2f60fb851e7fe728ff80e5f9416b34ba47dde1.tar.gz
cryptodev-linux-7b2f60fb851e7fe728ff80e5f9416b34ba47dde1.tar.xz
cryptodev-linux-7b2f60fb851e7fe728ff80e5f9416b34ba47dde1.zip
export ncr_key_clear(). And disallow key derivation from wrapping keys.
Diffstat (limited to 'ncr-int.h')
-rw-r--r--ncr-int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ncr-int.h b/ncr-int.h
index df53ce3..9f7ee0d 100644
--- a/ncr-int.h
+++ b/ncr-int.h
@@ -110,6 +110,8 @@ int ncr_ioctl(struct ncr_lists*, struct file *filp,
/* key derivation */
int ncr_key_derive(struct ncr_lists *lst, void __user* arg);
+void ncr_key_clear(struct key_item_st* item);
+
/* key handling */
int ncr_key_init(struct ncr_lists *lst, void __user* arg);
int ncr_key_deinit(struct ncr_lists *lst, void __user* arg);