透過您的圖書館登入
IP:18.218.254.122
  • 學位論文

有效的長整數乘法

Efficient Multiplication for Long Integers

指導教授 : 黃仁俊

摘要


本篇論文呈現一種分割的方法,用來加速乘法的運算速度。此種方法是基植於所謂分割然後擊破的觀念並且相當適合於現今微處理器的運算架構。首先,我們呈現的是如何去找到可以分割的最小長度,只要比這個長度還大的運算元,使用分割的方法會比只單純使用典型乘法的效能還要好;另一方面,比這個最小長度還小的運算元,當我們在實現多精確乘法時,只能使用典型乘法來實現,因為此時典型乘法會比分割的方法要有較佳的效能。這個最小的長度為14字元,並且我們稱它為臨界長度。其次,假若運算元的長度很長時,我們發現將運算元一直重覆切割成相等的兩部份,直到發現切割的長度比臨界長度小時就停止切割,此時再使用典型乘法實現該部份的多精確乘法,而後往前完成整個多精確乘法。該種分割方法不僅可以改善乘法的效能,且具有實現容易的優點,有助於實現對於模乘法與模指數運算此種須要大量乘法運算的架構,因而對於提升現今傳統公開金鑰密碼系統的效能有重要的幫助。

關鍵字

典型乘法 RSA演算法

並列摘要


This thesis presents a split method to accelerate the performance of multiprecision multiplication, which is based on the concept of divide-and-conquer and can be operated on word boundary in order to fit with the architecture of modern microprocessors. First, we demonstrate the minimal operand’s length which can be split such that using the split way has better performance than the classical multiplication (no split). This length is 14 and we call it the threshold length. Second, if the operand’s length is greater than or equal to the threshold length, the split way we proposed will have the better performance among all different kinds of split ways and we call it recursive (balanced) 2-way split. This method not only accelerates the performance of the multiprecision multiplication, but also reduces the computational timing of modular multiplication and modular exponentiation. Therefore it can be used to speeds up the public-key cryptographic system on microprocessors such as RSA or Diffie-Hellman key exchange.

參考文獻


[2] W. Diffie and M.E. Hellman, “New directions in cryptography,” IEEE Trans. On Information Theory, vol.IT-22, no.6, pp.638-654, Nov. 1976.
[4] R. Rivest, A. Shamir, and L. Adleman, “A method for obtaining digital signatures and public-key cryptosystems,” Communication on ACM, vol.21, pp.120-126, 1978.
[5] D.E. Knuth, The Art of Computer Programming, Vol 2, Addison-Wesley, 1969, 3rd edition, 1998.
[6] D. Hankerson, A. Menezes, and S. Vanstone, Guide to Elliptic Curve Cryptography, Springer, 2004.
[8]MapleSoft, Available: http://www.maplesoft.com, 2006/6/2

延伸閱讀


國際替代計量