summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2023-03-07 05:57:02 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2023-03-07 05:57:02 +0000
commitff90bfe88f5842b44ddffe6e72d5d891e4418503 (patch)
treed2b0d58ea71aacac34a7676a264a247e592db234
parentb1cd8422853449a0e33b9e9480afd1690f50220f (diff)
Fix comment for bn_mul2_mulw_addtw()
-rw-r--r--lib/libcrypto/bn/bn_internal.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libcrypto/bn/bn_internal.h b/lib/libcrypto/bn/bn_internal.h
index 859f00d05d8..4f4d1c31f5e 100644
--- a/lib/libcrypto/bn/bn_internal.h
+++ b/lib/libcrypto/bn/bn_internal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bn_internal.h,v 1.9 2023/02/17 05:13:34 jsing Exp $ */
+/* $OpenBSD: bn_internal.h,v 1.10 2023/03/07 05:57:01 jsing Exp $ */
/*
* Copyright (c) 2023 Joel Sing <jsing@openbsd.org>
*
@@ -362,10 +362,10 @@ bn_mulw_addtw(BN_ULONG a, BN_ULONG b, BN_ULONG c2, BN_ULONG c1, BN_ULONG c0,
#endif
/*
- * bn_mulw_addtw() computes (r2:r1:r0) = 2 * a * b + (c2:c1:c0), where a and b
- * are single words and (c2:c1:c0) is a triple word, producing a triple word
- * result. The caller must ensure that the inputs provided do not result in c2
- * overflowing.
+ * bn_mul2_mulw_addtw() computes (r2:r1:r0) = 2 * a * b + (c2:c1:c0), where a
+ * and b are single words and (c2:c1:c0) is a triple word, producing a triple
+ * word result. The caller must ensure that the inputs provided do not result
+ * in c2 overflowing.
*/
#ifndef HAVE_BN_MUL2_MULW_ADDTW
static inline void