summaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-12 18:44:36 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-24 22:56:23 +0200
commitb327f41fefe390d6db4832fe44f3cf37d86514c0 (patch)
tree1067f76eaea1d2e903ef84ecfd5ccb5caf626e8d /utils.c
parent2c51dc1a549816a34cb78230bf656537ecd21961 (diff)
downloadkernel-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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils.c b/utils.c
index 45ca86f64ab..acb72386f1b 100644
--- a/utils.c
+++ b/utils.c
@@ -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,