| 6 |
| the Apache 2.0 license. (See LICENSE file.) |
| 7 |
| 8 | Some files are included directly from the `fiat-c/src` directory of the Fiat |
| 9 | Cryptography repository. Their contents are `#include`d into source files, so |
| 10 | we rename them to `.h`. Implementations that use saturated arithmetic on 64-bit |
| 11 | words are further manually edited to use platform-appropriate incantations for |
| 12 | operations such as addition with carry; these changes are marked with "`NOTE: |
| 13 | edited after generation`". |
| 14 |
| 15 | # CryptOpt |
| 16 |
| 17 | Files in the `asm` directory are compiled from Fiat-Cryptography templates |
| 18 | using [CryptOpt](https://github.com/0xADE1A1DE/CryptOpt). These generated |
| 19 | assembly files have been edited to support call-stack unwinding. The modified |
| 20 | files have been checked for functional correctness using the CryptOpt |
| 21 | translation validator that is included in the Fiat-Cryptography repository. |
| 22 | Correct unwinding and manual assembler-directive changes related to object-file |
| 23 | conventions are validated using unit tests. |
| 24 |