From: kn Date: Wed, 11 Jul 2018 13:57:53 +0000 (+0000) Subject: Sync comment X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=17a017cfe7cf24ceff3360fbaa10600f0b667d4f;p=openbsd Sync comment Makes it a tad easier to read through and compare with BN_swap_ct(). OK tb --- 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 */