Montgomery multiplication VHDL Implementation

若如初见. 提交于 2019-12-24 10:49:48

问题


I am trying to create a modular arithmetic operation in this case:

x*y mod n

As far as I have read the fastest way to do it is using the Montgomery multiplication, but I cant understand how that is actually done in other to implement it in hardware using VHDL.

Has someone been able to do it or have any library that enables me to use it?


回答1:


A basic shift and add modular multiplication can be found here as a part of this open cores project.

Here's another project that is using the Montgomery multiplication.



来源:https://stackoverflow.com/questions/14983541/montgomery-multiplication-vhdl-implementation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!