summaryrefslogtreecommitdiff
path: root/lib/nettle/gost/gostdsa-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nettle/gost/gostdsa-keygen.c')
-rw-r--r--lib/nettle/gost/gostdsa-keygen.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/nettle/gost/gostdsa-keygen.c b/lib/nettle/gost/gostdsa-keygen.c
index 823908b98e..1e9339c24a 100644
--- a/lib/nettle/gost/gostdsa-keygen.c
+++ b/lib/nettle/gost/gostdsa-keygen.c
@@ -32,7 +32,7 @@
/* Development of Nettle's ECC support was funded by the .SE Internet Fund. */
#if HAVE_CONFIG_H
-# include "config.h"
+#include "config.h"
#endif
#include <assert.h>
@@ -43,10 +43,8 @@
#include "ecc-gost-curve.h"
#include "nettle-alloca.h"
-void
-gostdsa_generate_keypair(struct ecc_point *pub,
- struct ecc_scalar *key,
- void *random_ctx, nettle_random_func * random)
+void gostdsa_generate_keypair(struct ecc_point *pub, struct ecc_scalar *key,
+ void *random_ctx, nettle_random_func *random)
{
TMP_DECL(p, mp_limb_t, 3 * ECC_MAX_SIZE + ECC_MUL_G_ITCH(ECC_MAX_SIZE));
const struct ecc_curve *ecc = pub->ecc;