diff options
author | jsing <> | 2023-03-07 05:57:01 +0000 |
---|---|---|
committer | jsing <> | 2023-03-07 05:57:01 +0000 |
commit | f2642d6b6ffbb6ef77d17e65b47479f89e7d5dce (patch) | |
tree | b5f87c344fa5f700da9c546a9ecaee6bad294094 /src/lib | |
parent | 7633d4ba32d9a14f42b878e9febb3381cc589594 (diff) | |
download | openbsd-f2642d6b6ffbb6ef77d17e65b47479f89e7d5dce.tar.gz openbsd-f2642d6b6ffbb6ef77d17e65b47479f89e7d5dce.tar.bz2 openbsd-f2642d6b6ffbb6ef77d17e65b47479f89e7d5dce.zip |
Fix comment for bn_mul2_mulw_addtw()
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/bn/bn_internal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/bn/bn_internal.h b/src/lib/libcrypto/bn/bn_internal.h index 859f00d05d..4f4d1c31f5 100644 --- a/src/lib/libcrypto/bn/bn_internal.h +++ b/src/lib/libcrypto/bn/bn_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_internal.h,v 1.9 2023/02/17 05:13:34 jsing Exp $ */ | 1 | /* $OpenBSD: bn_internal.h,v 1.10 2023/03/07 05:57:01 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -362,10 +362,10 @@ bn_mulw_addtw(BN_ULONG a, BN_ULONG b, BN_ULONG c2, BN_ULONG c1, BN_ULONG c0, | |||
362 | #endif | 362 | #endif |
363 | 363 | ||
364 | /* | 364 | /* |
365 | * bn_mulw_addtw() computes (r2:r1:r0) = 2 * a * b + (c2:c1:c0), where a and b | 365 | * bn_mul2_mulw_addtw() computes (r2:r1:r0) = 2 * a * b + (c2:c1:c0), where a |
366 | * are single words and (c2:c1:c0) is a triple word, producing a triple word | 366 | * and b are single words and (c2:c1:c0) is a triple word, producing a triple |
367 | * result. The caller must ensure that the inputs provided do not result in c2 | 367 | * word result. The caller must ensure that the inputs provided do not result |
368 | * overflowing. | 368 | * in c2 overflowing. |
369 | */ | 369 | */ |
370 | #ifndef HAVE_BN_MUL2_MULW_ADDTW | 370 | #ifndef HAVE_BN_MUL2_MULW_ADDTW |
371 | static inline void | 371 | static inline void |