Skip to content
Commit d067ba3b authored by Andy Polyakov's avatar Andy Polyakov
Browse files

bn/asm/*-mont.pl: harmonize with BN_from_montgomery_word.



Montgomery multiplication post-conditions in some of code paths were
formally non-constant time. Cache access pattern was result-neutral,
but a little bit asymmetric, which might have produced a signal [if
processor reordered load and stores at run-time].

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6163)

(cherry picked from commit 774ff8fe)

Resolved conflicts in ppc-mont.pl and x86_64-mont.pl.
parent 2c2d9dcd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment