完整後設資料紀錄
DC 欄位 | 值 | 語言 |
---|---|---|
dc.contributor.author | 張家維 | |
dc.contributor.author | 楊勝吉 | |
dc.contributor.author | 蕭詣懋 | |
dc.date | 92學年度 | |
dc.date | 第一學期 | |
dc.date.accessioned | 2009-08-23T05:52:24Z | |
dc.date.accessioned | 2020-07-05T07:06:08Z | - |
dc.date.available | 2009-08-23T05:52:24Z | |
dc.date.available | 2020-07-05T07:06:08Z | - |
dc.date.issued | 2007-11-06T01:59:11Z | |
dc.identifier.uri | http://dspace.fcu.edu.tw/handle/2376/2022 | - |
dc.description.tableofcontents | 第一章 前言........................................................................................................ 1 1.1 動機........................................................................................................ 1 1.2 目的.......................................................................................................... 1 1.3 工作分配.................................................................................................. 2 第二章 RSA 簡介................................................................................................. 3 2.1 Introduction ........................................................................................ 3 2.2 RSA 在網路上之應用............................................................................... 4 第三章 工具程式:InterNios .......................................................................... 6 3.1 程式寫作需求: .................................................................................... 6 3.2 程式基本原理........................................................................................ 7 3.2.1 基本做法................................................................................ 7 3.2.2 Java Communications API .................................................. 7 3.2.3 SREC 檔介紹........................................................................... 7 3.3 安裝流程................................................................................................ 8 3.4 程式設計.............................................................................................. 10 3.4.1 主程式UML 模型.................................................................. 10 3.4.2 UartFrame 物件UML 模型................................................... 11 3.4.3 RSA 程式執行流程............................................................... 12 3.4.4 資料I/O 流程...................................................................... 13 3.4.5 RsaKey 產生流程................................................................. 15 3.5 程式執行畫面: .................................................................................... 16 3.5.1 功能說明.............................................................................. 16 3.6 RSA 執行流程....................................................................................... 18 3.7 程式功能RAM I/O 使用...................................................................... 21 3.8 程式問題解決...................................................................................... 22 3.8.1 SREC 的checksum ............................................................... 22 3.8.2 Uart 傳輸不穩定的問題..................................................... 22 3.8.2.1 1K 限制......................................................................... 22 3.8.2.2 250K 限制..................................................................... 23 3.8.2.3 Nios Build 無法內嵌到Java 程式內....................... 23 第四章 架構一:使用RSA.C ........................................................................... 24 4.1 Introduction ...................................................................................... 24 4.2 RSA C CODE 做法................................................................................. 24 4.2.1 資料結構...................................................................................... 24 4.2.2 比較大小(compare) ................................................................ 25 4.2.3 移位運算(shift) .................................................................... 26 4.2.3.1 左移................................................................................ 26 4.2.3.1 右移................................................................................ 26 4.2.4 加法............................................................................................ 27 4.2.4 減法............................................................................................ 28 4.2.5 MOD .............................................................................................. 29 4.2.6 模乘法運算................................................................................ 30 4.2.7 模指數運算................................................................................ 31 4.3 System Design Framework of RSA.C .............................................. 32 4.3.1 RSA.C 簡介........................................................................... 33 4.4 架構一的內部比較.............................................................................. 34 第五章 使用Custom Instruction 增加執行效率(架構二) .................... 38 5.1 Introduction ...................................................................................... 38 5.1.1 Altera Nios Embedded Processor VS. Custom Instruction ................................................................................................ 38 5.1.2 Interface of hardware .................................................... 40 5.1.3 Interface of software .................................................... 42 5.2 Percent of Time Spent 分析........................................................... 43 5.3 MOD 的做法........................................................................................... 44 5.3.1 利用長除法求C = A mod B ............................................... 44 5.3.1.1 原理.............................................................................. 44 5.3.1.2 模擬結果........................................................................ 45 5.3.1.3 Leonardo Spectrum 預估RSA-WRAPPER 資料........... 46 5.3.1.4 優缺點.......................................................................... 46 5.3.2 利用加速長除法求C = A mod B。................................... 46 5.3.2.1 原理.............................................................................. 46 5.3.2.2 模擬結果...................................................................... 48 5.3.2.3 Leonardo Spectrum 預估........................................... 49 5.3.2.4 優缺點.......................................................................... 49 5.3.3 利用超級加速長除法求C = A mod B ............................... 49 5.3.3.1 原理.............................................................................. 49 5.3.3.2 模擬結果...................................................................... 51 5.3.3.3 Leonardo Spectrum 預估........................................... 52 5.3.3.4 優點.............................................................................. 52 5.3.4 利用暴力法求C = A mod B ............................................... 52 5.3.4.1 原理.............................................................................. 52 5.3.4.2 模擬結果...................................................................... 55 5.3.4.3 Leonardo Spectrum 預估........................................... 55 5.3.4.4 優缺點.......................................................................... 55 5.3.5 討論...................................................................................... 56 5.4 System Design Framework of CI .................................................... 58 5.4.1 RSA.C 簡介........................................................................... 59 5.5 架構二比較.......................................................................................... 60 5.5-1 使用CUSTOM INSTRUCTION 的MOD 與 MUL ....................... 60 5.5-2 使用CUSTOM INSTRUCTION 的MOD 與 C 的MUL ............... 60 5.5-3 使用C 的MOD 與CUSTOM INSTRUCTION 的MUL ............... 60 5.5-4 使用C 的MOD 與 MUL ......................................................... 60 第六章 以硬體元件實現RSA 系統架構(架構3) ......................................... 61 6.1 Introduction ...................................................................................... 61 6.1.1 Polling & Interrupt 簡介............................................... 61 6.1.2 Interrupt Service Routines(ISRs) and IRQ .......... 62 6.1.3 Exception Handling 流程................................................. 62 6.2 System Design Framework 3 ............................................................ 64 6.2.1 RSA-WRAPPER Framework .................................................... 65 6.2.2 RSA-WRITE framework ........................................................ 67 6.2.3 RSA-READ Framework .......................................................... 69 6.3 RUN.C 簡介........................................................................................... 71 6.3.1 Polling C 簡介................................................................... 71 6.3.2 Interrupt C 簡介............................................................... 73 6.4 Leonardo Spectrum 預估RSA-WRAPPER 資料................................... 74 6.5 Interrupt 與Polling 速度比較....................................................... 74 第七章 架構比較.............................................................................................. 75 第八章 心得...................................................................................................... 77 | |
dc.format.extent | 93 | |
dc.format.extent | 2365812 bytes | |
dc.format.extent | 1832 bytes | |
dc.format.mimetype | application/pdf | |
dc.format.mimetype | text/plain | |
dc.language | 中文 | |
dc.language.iso | zh_TW | |
dc.relation.isbasedon | 1. 近代密碼學及其應用. ISBN 957-22-1953-7. 賴溪松, 韓亮,張真誠. 松崗電腦. 1995.1. 12. 2. 現代密碼學入門與程式設計. ISBN 957-21-1274-0. 楊吳泉.全華圖書. 1996. 1.13 3. Java 2 Black Book 徹底研究. ISBN 957-527-440-7.Steven Holzner著 張裕益、劉春成譯. 博碩文化 4. JavaTM 2 SDK, Standard Edition Documentation 5. Altera Nios Tutorial & Nios Documentation | |
dc.rights | 開放檢索瀏覽下載 | |
dc.title | Performance analysis of RSA IPs for SOC design | |
dc.type | 大學生專題報告 | |
dc.contributor.department | 資訊工程學系,資訊電機學院 | |
dc.description.instructor | 王益文 | |
dc.description.programme | 資訊電機學院 | |
dc.description.programme | 資訊工程學系 | |
分類: | 資電092學年度 |
文件中的檔案:
檔案 | 描述 | 大小 | 格式 | |
---|---|---|---|---|
IECS_92052.pdf | 2.31 MB | Adobe PDF | 檢視/開啟 |
在 DSpace 系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。