diff options
| author | jsing <> | 2023-03-07 05:57:01 +0000 |
|---|---|---|
| committer | jsing <> | 2023-03-07 05:57:01 +0000 |
| commit | 3ff8de87d297012e198b74040393e159cdec0992 (patch) | |
| tree | b5f87c344fa5f700da9c546a9ecaee6bad294094 | |
| parent | d92645e4cc1bfb53f3218199eb21c2e876dbd098 (diff) | |
| download | openbsd-3ff8de87d297012e198b74040393e159cdec0992.tar.gz openbsd-3ff8de87d297012e198b74040393e159cdec0992.tar.bz2 openbsd-3ff8de87d297012e198b74040393e159cdec0992.zip | |
Fix comment for bn_mul2_mulw_addtw()
Diffstat (limited to '')
| -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 |
