diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-18 05:51:32 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-24 23:59:46 +0200 |
commit | f9fa90899a4691ce01244593e2902111fe9bf2c6 (patch) | |
tree | 39d1ba8c29b4df7323016dc171692225cc1f847f /ncr.h | |
parent | eef7de54be0cd38abb689de7b0a749154b04c694 (diff) | |
download | kernel-crypto-f9fa90899a4691ce01244593e2902111fe9bf2c6.tar.gz kernel-crypto-f9fa90899a4691ce01244593e2902111fe9bf2c6.tar.xz kernel-crypto-f9fa90899a4691ce01244593e2902111fe9bf2c6.zip |
Replace ncr_derive_t by NLA_NUL_STRING
Diffstat (limited to 'ncr.h')
-rw-r--r-- | ncr.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -31,7 +31,7 @@ enum { NCR_ATTR_UNSPEC, /* 0 is special in lib/nlattr.c. */ NCR_ATTR_ALGORITHM, /* NLA_NUL_STRING */ - NCR_ATTR_DERIVATION_ALGORITHM, /* NLA_U32 - ncr_algorithm_t */ + NCR_ATTR_DERIVATION_ALGORITHM, /* NLA_NUL_STRING - NCR_DERIVE_* */ NCR_ATTR_SIGNATURE_HASH_ALGORITHM, /* NLA_NUL_STRING */ NCR_ATTR_WRAPPING_ALGORITHM, /* NLA_U32 - ncr_wrap_algorithm_t */ NCR_ATTR_UPDATE_INPUT_DATA, /* NLA_BINARY - ncr_session_input_data */ @@ -120,9 +120,7 @@ typedef enum { RSA_PKCS1_PSS, /* for signatures only */ } ncr_rsa_type_t; -typedef enum { - NCR_DERIVE_DH=1, -} ncr_derive_t; +#define NCR_DERIVE_DH "dh" struct ncr_key_derive { |