summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2018-07-11 13:57:54 +0000
committerkn <kn@cvs.openbsd.org>2018-07-11 13:57:54 +0000
commit72606b62ad048c356437a67e64b617f4f7506046 (patch)
tree5df218e4dd80c43dd45abbc36d6afee72f3c6e4f /lib
parent086fb89ddce69eda23ca9772b51da5a824e164ba (diff)
Sync comment
Makes it a tad easier to read through and compare with BN_swap_ct(). OK tb
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/bn/bn_lib.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libcrypto/bn/bn_lib.c b/lib/libcrypto/bn/bn_lib.c
index 3be9eaae5d0..d3ec00413f3 100644
--- a/lib/libcrypto/bn/bn_lib.c
+++ b/lib/libcrypto/bn/bn_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bn_lib.c,v 1.42 2018/07/11 07:38:00 tb Exp $ */
+/* $OpenBSD: bn_lib.c,v 1.43 2018/07/11 13:57:53 kn Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -837,8 +837,10 @@ bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b, int cl, int dl)
/*
* Constant-time conditional swap of a and b.
- * a and b are swapped if condition is not 0. The code assumes that at most one bit of condition is set.
- * nwords is the number of words to swap. The code assumes that at least nwords are allocated in both a and b,
+ * a and b are swapped if condition is not 0.
+ * The code assumes that at most one bit of condition is set.
+ * nwords is the number of words to swap.
+ * The code assumes that at least nwords are allocated in both a and b,
* and that no more than nwords are used by either a or b.
* a and b cannot be the same number
*/