summaryrefslogtreecommitdiffstats
path: root/fips
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-16 09:21:50 +0000
committerMatt Caswell <matt@openssl.org>2015-01-22 09:49:06 +0000
commit3e8042c38f3a4be8933b0f773fd1e79f50e12e56 (patch)
treec204d0bf3b232e845103a92f221db1f6ecef66f9 /fips
parent564ccc55d6463e485f885a8c2192121ea8fe6adf (diff)
Additional comment changes for reformat of 0.9.8
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'fips')
-rw-r--r--fips/dh/dh_gen.c3
-rw-r--r--fips/dh/fips_dh_check.c3
-rw-r--r--fips/dh/fips_dh_gen.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/fips/dh/dh_gen.c b/fips/dh/dh_gen.c
index 999e1deb40..7da6de3ee4 100644
--- a/fips/dh/dh_gen.c
+++ b/fips/dh/dh_gen.c
@@ -77,7 +77,8 @@ int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, BN_GENCB *c
return dh_builtin_genparams(ret, prime_len, generator, cb);
}
-/* We generate DH parameters as follows
+/*-
+ * We generate DH parameters as follows
* find a prime q which is prime_len/2 bits long.
* p=(2*q)+1 or (p-1)/2 = q
* For this case, g is a generator if
diff --git a/fips/dh/fips_dh_check.c b/fips/dh/fips_dh_check.c
index 7333f7c80f..a8a7eda6c5 100644
--- a/fips/dh/fips_dh_check.c
+++ b/fips/dh/fips_dh_check.c
@@ -62,7 +62,8 @@
#include <openssl/err.h>
#include <openssl/fips.h>
-/* Check that p is a safe prime and
+/*-
+ * Check that p is a safe prime and
* if g is 2, 3 or 5, check that is is a suitable generator
* where
* for 2, p mod 24 == 11
diff --git a/fips/dh/fips_dh_gen.c b/fips/dh/fips_dh_gen.c
index d115f9d5d2..fe74edbc24 100644
--- a/fips/dh/fips_dh_gen.c
+++ b/fips/dh/fips_dh_gen.c
@@ -78,7 +78,8 @@ int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, BN_GENCB *c
return dh_builtin_genparams(ret, prime_len, generator, cb);
}
-/* We generate DH parameters as follows
+/*-
+ * We generate DH parameters as follows
* find a prime q which is prime_len/2 bits long.
* p=(2*q)+1 or (p-1)/2 = q
* For this case, g is a generator if