diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-21 10:11:38 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-31 22:39:43 +0200 |
commit | e592413c53d1a2b27323c6014b4d471be26ad54c (patch) | |
tree | e20c6e43f0733c80a0d7453ff869206566580425 | |
parent | 5ec36e6f84f80cc24a17dcbd468bd11d6a3e16cd (diff) | |
download | cryptodev-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |