ACM Home Page
Please provide us with feedback. Feedback
Computing A*B (mod N) efficiently in ANSI C
Full text PdfPdf (320 KB)
Source ACM SIGPLAN Notices archive
Volume 27 ,  Issue 1  (January 1992) table of contents
Pages: 95 - 98  
Year of Publication: 1992
ISSN:0362-1340
Author
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 48,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/130722.130735
What is a DOI?

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