diff options
Diffstat (limited to 'crypto/bn/stuff/mont.doc')
-rw-r--r-- | crypto/bn/stuff/mont.doc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/crypto/bn/stuff/mont.doc b/crypto/bn/stuff/mont.doc deleted file mode 100644 index 55d1d79312..0000000000 --- a/crypto/bn/stuff/mont.doc +++ /dev/null @@ -1,17 +0,0 @@ -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 |