diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-12 18:44:36 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-24 22:56:23 +0200 |
commit | b327f41fefe390d6db4832fe44f3cf37d86514c0 (patch) | |
tree | 1067f76eaea1d2e903ef84ecfd5ccb5caf626e8d /utils.c | |
parent | 2c51dc1a549816a34cb78230bf656537ecd21961 (diff) | |
download | kernel-crypto-b327f41fefe390d6db4832fe44f3cf37d86514c0.tar.gz kernel-crypto-b327f41fefe390d6db4832fe44f3cf37d86514c0.tar.xz kernel-crypto-b327f41fefe390d6db4832fe44f3cf37d86514c0.zip |
Convert *_KEY_GENERATE_PAIR
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -32,6 +32,12 @@ static const struct nla_policy ncr_attr_policy[NCR_ATTR_MAX + 1] = { [NCR_ATTR_ALGORITHM] = { NLA_U32, 0 }, [NCR_ATTR_KEY_FLAGS] = { NLA_U32, 0 }, [NCR_ATTR_SECRET_KEY_BITS] = { NLA_U32, 0 }, + [NCR_ATTR_RSA_MODULUS_BITS] = { NLA_U32, 0 }, + [NCR_ATTR_RSA_E] = { NLA_BINARY, 0 }, + [NCR_ATTR_DSA_P_BITS] = { NLA_U32, 0 }, + [NCR_ATTR_DSA_Q_BITS] = { NLA_U32, 0 }, + [NCR_ATTR_DH_PRIME] = { NLA_BINARY, 0 }, + [NCR_ATTR_DH_BASE] = { NLA_BINARY, 0 }, }; void *__ncr_get_input_args(void *fixed, struct nlattr *tb[], size_t fixed_size, |