计算机工程与科学
計算機工程與科學
계산궤공정여과학
COMPUTER ENGINEERING & SCIENCE
2009年
7期
98-101
,共4页
对称密码%S盒代换%查找表%指令扩展
對稱密碼%S盒代換%查找錶%指令擴展
대칭밀마%S합대환%사조표%지령확전
S盒代换是大多数对称密码算法的核心操作,加快S盒代换是提高密码编码处理速度的关键.本文采用专用指令扩展的方法支持快速S盒代换,构造了一种灵活的并行S盒单元,设计了S盒代换指令.并行S盒单元由多路查找表和一个后处理模块组成,它作为功能部件集成到Leon2处理器片上.在Virtex-Ⅱ XC2V3000 FPGA上的综合结果表明,扩展后的处理器中并行S盒单元仅使用了1KB的存储和少量的逻辑资源.依据Amdahl定律评估了S盒代抉指令的效率,对AES算法可以取得两倍以上的总体加速,对使用S盒操作的其他对称密码预计也能得到显著加速.
S盒代換是大多數對稱密碼算法的覈心操作,加快S盒代換是提高密碼編碼處理速度的關鍵.本文採用專用指令擴展的方法支持快速S盒代換,構造瞭一種靈活的併行S盒單元,設計瞭S盒代換指令.併行S盒單元由多路查找錶和一箇後處理模塊組成,它作為功能部件集成到Leon2處理器片上.在Virtex-Ⅱ XC2V3000 FPGA上的綜閤結果錶明,擴展後的處理器中併行S盒單元僅使用瞭1KB的存儲和少量的邏輯資源.依據Amdahl定律評估瞭S盒代抉指令的效率,對AES算法可以取得兩倍以上的總體加速,對使用S盒操作的其他對稱密碼預計也能得到顯著加速.
S합대환시대다수대칭밀마산법적핵심조작,가쾌S합대환시제고밀마편마처리속도적관건.본문채용전용지령확전적방법지지쾌속S합대환,구조료일충령활적병행S합단원,설계료S합대환지령.병행S합단원유다로사조표화일개후처리모괴조성,타작위공능부건집성도Leon2처리기편상.재Virtex-Ⅱ XC2V3000 FPGA상적종합결과표명,확전후적처리기중병행S합단원부사용료1KB적존저화소량적라집자원.의거Amdahl정률평고료S합대결지령적효솔,대AES산법가이취득량배이상적총체가속,대사용S합조작적기타대칭밀마예계야능득도현저가속.