title: Montgomery multiplication VHDL Implementation
body: <p>I am trying to create a modular arithmetic operation in this case: </p>
  
  <pre><code>x*y mod n
  </code></pre>
  
  <p>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.</p>
  
  <p>Has someone been able to do it or have any library that enables me to use it?</p>