TSEC Firmware: Difference between revisions

Vale (talk | contribs)
No edit summary
Vale (talk | contribs)
No edit summary
Line 735: Line 735:


===== crypto_load =====
===== crypto_load =====
This method takes '''reg''' (a crypto register) and '''buf''' (a 16 bytes buffer) as arguments and loads the supplied buffer into the crypto register.
This method takes '''reg''' (a crypto register) and '''buf''' (a 16 bytes buffer) as arguments and loads the contents of the supplied register into the supplied buffer.
<pre>
<pre>
     // The next two xfer instructions will be overridden
     // The next two xfer instructions will be overridden