diff options
author | jsing <> | 2023-02-17 05:13:34 +0000 |
---|---|---|
committer | jsing <> | 2023-02-17 05:13:34 +0000 |
commit | b7f1c098b1a50519f08f8112820c6dcf50a9f2f0 (patch) | |
tree | b83e94b45b8911aac35bd66431cc5c5c9cd89015 /src/regress/lib/libssl/unit/ssl_methods.c | |
parent | 78b6c67232479df5c8a2d1b39ea628f0341a4202 (diff) | |
download | openbsd-b7f1c098b1a50519f08f8112820c6dcf50a9f2f0.tar.gz openbsd-b7f1c098b1a50519f08f8112820c6dcf50a9f2f0.tar.bz2 openbsd-b7f1c098b1a50519f08f8112820c6dcf50a9f2f0.zip |
Reimplement bn_sqr_comba{4,8}().
Use bignum primitives rather than the current mess of macros.The sqr_add_c
macro gets replaced with bn_mulw_addtw(), while the sqr_add_c2 macro gets
replaced with bn_mul2_mulw_addtw().
The variables in the comba functions have also been reordered, so that the
patterns are easier to understand - the compiler can take care of
optimising the inputs and outputs to avoid register moves.
ok tb@
Diffstat (limited to 'src/regress/lib/libssl/unit/ssl_methods.c')
0 files changed, 0 insertions, 0 deletions