diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-25 17:45:44 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-25 17:45:44 +0200 |
commit | 68c4e5ec42e1151591aee19ba36a4dbe22715a91 (patch) | |
tree | 075c2d8811ba79dd6b33924ef5649dff5dbedf07 /ncr.h | |
parent | 61950862971ef6630930e9889921959405f3f76e (diff) | |
download | cryptodev-linux-68c4e5ec42e1151591aee19ba36a4dbe22715a91.tar.gz cryptodev-linux-68c4e5ec42e1151591aee19ba36a4dbe22715a91.tar.xz cryptodev-linux-68c4e5ec42e1151591aee19ba36a4dbe22715a91.zip |
The RFC5649 wrapping algorithm now includes a DER encoding of the data to distinguish between keys of different types. This prevents keys being unwrapped in a wrong type.
Diffstat (limited to 'ncr.h')
-rw-r--r-- | ncr.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -212,10 +212,6 @@ struct ncr_key_data_st { struct ncr_key_wrap_st { ncr_wrap_algorithm_t algorithm; - /* when unwrapping the algorithm of the wrapped key. - * For symmetric ciphers AES would do. - */ - ncr_algorithm_t wrapped_key_algorithm; unsigned int wrapped_key_flags; /* flags for the newly unwrapped key */ ncr_key_t keytowrap; |