tree: 3af5a09f86130248c68a761123cdf4641d11904e [path history] [tgz]
  1. LICENSE.dcrypto
  2. loop.S
  3. modexp.S
  4. mul256.S
  5. mul384.S
  6. pseudo-ops.S
  7. README.md
sw/otbn/code-snippets/README.md

OTBN code snippet collection

This directory contains some code snippets that give examples of how to do various tasks in OTBN code.

  • modexp.S: An example of how to do modular exponentiation.
  • pseudo-ops.S: An example of the pseudo-operations supported by the OTBN ISA.
  • mul256.S: An example of a 256x256 bit multiply using the MULQACC instruction.
  • mul384.S: An example of a 384x384 bit multiply using the MULQACC instruction.