diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-19 18:20:26 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-19 18:20:26 +0200 |
commit | 5507ea6f51bd227ce4af661d550ad4d4de80674b (patch) | |
tree | 324958e4792047c42f9cc41041c5e0c7c0843103 /ncr-int.h | |
parent | a7befd9b8fba6f6d777f7d8436154dc62f1fa652 (diff) | |
download | cryptodev-linux-5507ea6f51bd227ce4af661d550ad4d4de80674b.tar.gz cryptodev-linux-5507ea6f51bd227ce4af661d550ad4d4de80674b.tar.xz cryptodev-linux-5507ea6f51bd227ce4af661d550ad4d4de80674b.zip |
Added KEY_WRAPPING flag that allows a key to be used for wrapping other keys.
Only superuser can enable this flag. Prevent short keys to wrap longer ones. Added initial stuff
for supporting wrapping of private and public keys.
Diffstat (limited to 'ncr-int.h')
-rw-r--r-- | ncr-int.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -169,5 +169,6 @@ int key_to_storage_data( uint8_t** data, size_t * data_size, const struct key_it const struct algo_properties_st *_ncr_algo_to_properties(ncr_algorithm_t algo); const struct algo_properties_st *ncr_key_params_get_sign_hash(const struct algo_properties_st *algo, struct ncr_key_params_st * params); +int _ncr_key_get_sec_level(struct key_item_st* item); #endif |