diff options
author | 2018-07-11 13:57:53 +0000 | |
---|---|---|
committer | 2018-07-11 13:57:53 +0000 | |
commit | 17a017cfe7cf24ceff3360fbaa10600f0b667d4f (patch) | |
tree | 77311c2adfed629bcd935027c09d2fb5320d5423 | |
parent | Add -w option to vmctl stop to wait for completion of VM termination. (diff) | |
download | wireguard-openbsd-17a017cfe7cf24ceff3360fbaa10600f0b667d4f.tar.xz wireguard-openbsd-17a017cfe7cf24ceff3360fbaa10600f0b667d4f.zip |
Sync comment
Makes it a tad easier to read through and compare with BN_swap_ct().
OK tb
-rw-r--r-- | lib/libcrypto/bn/bn_lib.c | 8 |
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 */ |