Sign in
flutter
/
third_party
/
openssl
/
121bd68d1c62b0b6f73839c47f529afc1db32f2b
/
.
/
crypto
/
bn
/
stuff
/
mont.doc
blob: 55d1d7931220d48dfadcf8be4174e36d1a807123 [
file
] [
log
] [
blame
]
All
numbers
(
a
)
are stored aR mod N
(
except
abRR
)
RR
=
REDC
(
R
*
R
)
/* RR mod N */
convert a
->
aR
convert b
->
bR
{
abRR
=
aR
*
bR
abR
=
REDC
(
abRR
);
/* mod N */
}
ab
=
REDC
(
abR
);
/* mod N */
REDC strips off a multiplicaion
by
R mod N