Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/6163
標題: ARM 處理器上準梅森質數體的快速運算程式碼產生器
Code Generation for Fast Pseudo-Mersenne Prime Field Arithmetic on ARM Processors
作者: Shang-Yi Yang
楊上逸
指導教授: 鄭振牟
關鍵字: 多精度乘法,模乘法,準梅森質數,快速密碼學,ARM11,
multi-precision multiplication,modular multiplication,pseudo-Mersenne primes,high-speed cryptography,ARM11,convolved multiplication,
出版年 : 2013
學位: 碩士
摘要: 近期高速密碼學研究中,往往透過電腦指令的排列組合來提升運算效率,但如果少了自動化工具,則需要耗費相當大的人力。
使用我們提出的工具,只需要準梅森質數作為輸入,就能透過窮舉找出在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
全文授權: 同意授權(全球公開)
顯示於系所單位:電機工程學系

文件中的檔案:
檔案 大小格式 
ntu-102-1.pdf1.07 MBAdobe PDF檢視/開啟
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
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