summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa/ecs_lib.c
diff options
context:
space:
mode:
authorjsing <>2023-03-07 06:19:44 +0000
committerjsing <>2023-03-07 06:19:44 +0000
commit4320ee92fb55c991eec4cdc78f60c762533babb7 (patch)
tree6a167a9b374a6e5a6fc9fb06d04f4cff22727f76 /src/lib/libcrypto/ecdsa/ecs_lib.c
parent9d27b98c03802e34828891a1a14e03f9ff09e110 (diff)
downloadopenbsd-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