summaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-12 21:51:20 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-24 22:59:21 +0200
commit7c70b1f992d02daa3c5d435355ac7875a6b1b95b (patch)
tree2a668303bcc6d2d724385206d15dfede4ba9af91 /utils.c
parentd6e4385206d32171d63abe33ee11a349dc9d6e3a (diff)
downloadkernel-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.c b/utils.c
index e96c72ca91d..655dc825b27 100644
--- a/utils.c
+++ b/utils.c
@@ -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,