summaryrefslogtreecommitdiffstats
path: root/ncr.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-08-25 17:45:44 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-08-25 17:45:44 +0200
commit68c4e5ec42e1151591aee19ba36a4dbe22715a91 (patch)
tree075c2d8811ba79dd6b33924ef5649dff5dbedf07 /ncr.h
parent61950862971ef6630930e9889921959405f3f76e (diff)
downloadcryptodev-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.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/ncr.h b/ncr.h
index af4c279..c3850e4 100644
--- a/ncr.h
+++ b/ncr.h
@@ -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;