diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-12 21:51:20 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-24 22:59:21 +0200 |
commit | 7c70b1f992d02daa3c5d435355ac7875a6b1b95b (patch) | |
tree | 2a668303bcc6d2d724385206d15dfede4ba9af91 /utils.c | |
parent | d6e4385206d32171d63abe33ee11a349dc9d6e3a (diff) | |
download | kernel-crypto-7c70b1f992d02daa3c5d435355ac7875a6b1b95b.tar.gz kernel-crypto-7c70b1f992d02daa3c5d435355ac7875a6b1b95b.tar.xz kernel-crypto-7c70b1f992d02daa3c5d435355ac7875a6b1b95b.zip |
Convert *_KEY_GET_INFO
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -32,6 +32,7 @@ static const struct nla_policy ncr_attr_policy[NCR_ATTR_MAX + 1] = { [NCR_ATTR_ALGORITHM] = { NLA_U32, 0 }, [NCR_ATTR_DERIVATION_ALGORITHM] = { NLA_U32, 0 }, [NCR_ATTR_KEY_FLAGS] = { NLA_U32, 0 }, + [NCR_ATTR_KEY_TYPE] = { 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 }, @@ -40,6 +41,7 @@ static const struct nla_policy ncr_attr_policy[NCR_ATTR_MAX + 1] = { [NCR_ATTR_DH_PRIME] = { NLA_BINARY, 0 }, [NCR_ATTR_DH_BASE] = { NLA_BINARY, 0 }, [NCR_ATTR_DH_PUBLIC] = { NLA_BINARY, 0 }, + [NCR_ATTR_WANTED_ATTRS] = { NLA_BINARY, 0 }, }; void *__ncr_get_input_args(void *fixed, struct nlattr *tb[], size_t fixed_size, |