diff options
author | jsing <> | 2023-03-07 06:19:44 +0000 |
---|---|---|
committer | jsing <> | 2023-03-07 06:19:44 +0000 |
commit | 4320ee92fb55c991eec4cdc78f60c762533babb7 (patch) | |
tree | 6a167a9b374a6e5a6fc9fb06d04f4cff22727f76 /src/lib/libcrypto/ecdsa/ecs_lib.c | |
parent | 9d27b98c03802e34828891a1a14e03f9ff09e110 (diff) | |
download | openbsd-4320ee92fb55c991eec4cdc78f60c762533babb7.tar.gz openbsd-4320ee92fb55c991eec4cdc78f60c762533babb7.tar.bz2 openbsd-4320ee92fb55c991eec4cdc78f60c762533babb7.zip |
Implement bn_montgomery_multiply()
Provide a constant-time-style Montgomery multiplication implementation.
Use this in place of the assembly bn_mul_mont() on platforms that either
do not have an assembly implementation or have not compiled it in.
Also use this as the fallback version for bn_mul_mont(), rather than
falling back to a non-constant time implementation.
ok beck@ tb@
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecs_lib.c')
0 files changed, 0 insertions, 0 deletions