Skip navigation

DSpace JSPUI

DSpace preserves and enables easy and open access to all types of digital content including text, images, moving images, mpegs and data sets

Learn More
DSpace logo
English
中文
  • Browse
    • Communities
      & Collections
    • Publication Year
    • Author
    • Title
    • Subject
    • Advisor
  • Search TDR
  • Rights Q&A
    • My Page
    • Receive email
      updates
    • Edit Profile
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
Please use this identifier to cite or link to this item: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/6163
Title: ARM 處理器上準梅森質數體的快速運算程式碼產生器
Code Generation for Fast Pseudo-Mersenne Prime Field Arithmetic on ARM Processors
Authors: Shang-Yi Yang
楊上逸
Advisor: 鄭振牟
Keyword: 多精度乘法,模乘法,準梅森質數,快速密碼學,ARM11,
multi-precision multiplication,modular multiplication,pseudo-Mersenne primes,high-speed cryptography,ARM11,convolved multiplication,
Publication Year : 2013
Degree: 碩士
Abstract: 近期高速密碼學研究中,往往透過電腦指令的排列組合來提升運算效率,但如果少了自動化工具,則需要耗費相當大的人力。
使用我們提出的工具,只需要準梅森質數作為輸入,就能透過窮舉找出在ARM11上最高效率的模乘法程式。窮舉的參數包含大數的表示方示及程式碼產生器參數,而提出的模乘法演算法則混合了乘法與模餘兩部份,特別適合提升準梅森質數體上的計算效率。
使用提出的演算法,自動產生出的高質量程式碼運行時間較GCC編譯器的結果快16.4%,且為GMP模乘法的4至8倍。
Recent research on high-speed cryptography has been striving for performance by twiddling with instructions, but without an automated tool, writing fast software takes much precious labor effort.
We present a tool with a simple interface for crypto developers to generate fast modular multiplication routines in a few keystrokes: you provide the prime as the modulus and it produces several candidate results or enumerates them all for benchmark.
Specifically, we automatized the choice of number representation and the code generation for multiplication modulo a pseudo-Mesenne prime on ARM11, using the proposed convolved multiplication method, which interleaves multiplication and modular reduction.
The high-quality code generated runs up to 16.4% faster than the convolved multiplication compiled by defacto-standard compilers such as gcc, and is 4 to 8 times faster than the GMP modular multiplication.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/6163
Fulltext Rights: 同意授權(全球公開)
Appears in Collections:電機工程學系

Files in This Item:
File SizeFormat 
ntu-102-1.pdf1.07 MBAdobe PDFView/Open
Show full item record


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved