質數域高基數架構與高性能之橢圓曲線標量乘法實現於FPGA
High Performance FPGA Implement of Elliptic Curve Scale Multiplication based on High-Radix Architecture in GF(p)
摘要
自提出協定以來,已經提出許多用於ECC的硬體加速器和加密解密處理器,這方面的密碼處理器基本能分為兩類別,特殊質數域和一般質數域。美國國家科學技術院(NIST)在特殊質數域上定義了5個EC ( elliptic curve),雖然有較好的速度增益,但犧牲了質數選擇的靈活度。本文改良了傳統的基數2交錯乘法,提出高基數交錯乘法,交錯式模乘技術是由Blakley提出,這是將乘積(a.bi)以迭代的方式加到累加器上,相較於原本的乘法器,只需要原本周期的四分之一即可完成運算。使用高基數乘法器能減少模乘法的運算時間,因此不需要用到四顆模乘法,整體的運算速度也夠快。也不用因為使用四顆模乘法器而降低乘法器的硬體使用率。由於在投影坐標系下,模除法的使用被大幅降低,因此模除法部分透過使用右移二進制反(RS)演算法,使其和模加減法器共用一個硬體資源來增加整體硬體的效能。此種硬體電路架構以Verilog HDL來描述。並使用Virtex6 來模擬驗證,其工作頻率為117MHz,面積是13.43LUT,橢圓標量乘法的運算時間為1.12ms。
Since the protocol was proposed, many hardware accelerators and cryptography processors for ECC have been proposed. The cryptography processors in this area can basically be divided into two categories, general prime number fields and special prime number fields. The National Academy of Science and Technology (NIST) defines 5 elliptic curves on a special prime number field. Although it has a good speed and performance, it sacrifices the flexibility. This work improves the traditional radix-2 interleaved multiplication and proposes high-radix interleaved multiplication. The interleaved modular multiplication algorithm is proposed by Blakley. The modular multiplication adds the product (c•di) to the accumulator in each iteration, compared to the original modular multiplication our only needs a quarter of the original cycle. The use of a high-radix multiplier can reduce the operation time of modular multiplication. There is no need to use four modular multiplications to speed up the calculating time, because the overall operation speed is fast enough. Also, there is no need to reduce the hardware utilization rate of the multiplier because of the use of four modular multipliers. Since the times we use the modular division is greatly reduced when we use the projective coordinate system, the modular division part uses the right-shift binary inverse (RS) algorithm to share the same hardware resource with the modular adder and subtraction to increase the overall hardware effectiveness. This kind of hardware circuit architecture is described in Verilog HDL. Also, we have simulation and verification in Virtex6. The clock frequency is 117MHz, the area is 13.43LUT and the time to calculate elliptic curve scale multiplication is 1.12 ms.
所屬典藏
電控工程研究所引用此條目
Lin, J.-L. (2020). High Performance FPGA Implement of Elliptic Curve Scale Multiplication based on High-Radix Architecture in GF(p). https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76166
引用文字依 APA 第 7 版格式自動產生,使用前請再核對。
分享
永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76166