summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-08-21 10:11:38 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-08-31 22:39:43 +0200
commite592413c53d1a2b27323c6014b4d471be26ad54c (patch)
treee20c6e43f0733c80a0d7453ff869206566580425
parent5ec36e6f84f80cc24a17dcbd468bd11d6a3e16cd (diff)
downloadcryptodev-linux-e592413c53d1a2b27323c6014b4d471be26ad54c.tar.gz
cryptodev-linux-e592413c53d1a2b27323c6014b4d471be26ad54c.tar.xz
cryptodev-linux-e592413c53d1a2b27323c6014b4d471be26ad54c.zip
export ncr_key_clear(). And disallow key derivation from wrapping keys.
-rw-r--r--ncr-int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ncr-int.h b/ncr-int.h
index 87964b0..274a314 100644
--- a/ncr-int.h
+++ b/ncr-int.h
@@ -115,6 +115,8 @@ int ncr_key_derive(struct ncr_lists *lst, const struct ncr_key_derive *data,
void ncr_key_clear(struct key_item_st* item);
int ncr_key_update_flags(struct key_item_st *item, const struct nlattr *nla);
+void ncr_key_clear(struct key_item_st* item);
+
/* key handling */
int ncr_key_init(struct ncr_lists *lst);
int ncr_key_deinit(struct ncr_lists *lst, ncr_key_t desc);