Modular exponentiation with partitioned and scattered storage of Montgomery Multiplication results
Abstract
Embodiments of techniques and systems for side-channel-protected modular exponentiation are described. In embodiments, during a modular exponentiation calculation, Montgomery Multiplication (“MM”) results are produced. These MM results are scattered through a table for storage, such that storage of the values may not lead to discovery of a secret exponent value by a spy process through a side-channel attack. The scattering may be performed in order to reduce a number of per-result memory operations performed during each MM result storage or retrieval. In embodiments, a window size of 4 may be used in the modular exponentiation, along with partitioning of the MM result into 32-bit partition values which are scattered with offsets of 64-bytes. In embodiments, while use of a window size of 4 may result in additional MM calculations during modular exponentiation than other window sizes, the reduction in memory operations may provide a positive performance offset.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: initializing a table, by a computing device, in a memory of the computing device, the table having a size; performing, by the computing device, a first plurality of Montgomery Multiplications; storing, by the computing device, results of the first plurality of Montgomery Multiplications into the table, the storing of each result into the table including: partitioning the particular result into multiple partition values; and storing the partition values of the particular result scattered across the table; and performing, by the computing device, a secon
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (2)
- International Search Report and Written Opinion mailed Feb. 19, 2013 for International Application No. PCT/US2012/054503, 9 pages.
- Montgomery, Peter L. "Modular Multiplication Without Trial Division", Mathematics of Computation, vol. 44, No. 170, pp. 519-521, Apr. 1985.