|
ABSTRACT
The modular product computation A*B (mod N) is a bottleneck for some public-key encryption algorithms, as well as many exact computations implemented using the Chinese Remainder Theorem. We show how to compute A*B (mod N) efficiently, for single-precision A, B, and N, on a modern RISC architecture (Intel 80860) in ANSI C. On this architecture, our method computes A*B (mod N) faster than ANSI C computes A%N, for unsigned longs A and N.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
ANSI C. Draft Proposed American National Standard Programming Language C. ANSI, NY, 1988.
|
| |
2
|
Blakeley, G.R. "A Computer Algorithm for Calculating the Product AB modulo M". IEEE Trans. Comps. C-32, 5 (May 1983), 497-500.
|
| |
3
|
DoD. Reference Manual for the Ada® Programming Language. ANSI/MIL-STD-1815A-1983, USGPO, 1983.
|
| |
4
|
|
| |
5
|
|
| |
6
|
Intel Corp. i860¿ 64-bit Microprocessor Programmer's Reference Manual. #240329-002, 1989.
|
| |
7
|
|
| |
8
|
|
 |
9
|
|
 |
10
|
|
| |
11
|
|
| |
12
|
Wang, P. "MACSYMA--A Symbolic Manipulation System". Proc. Int'l. Comp. Symp. (1975), Vol. I, 103-109.
|
| |
13
|
|
|