summaryrefslogtreecommitdiffstats
path: root/sntrup761.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* upstream: remove whitespace at EOL from code extracted from SUPERCOPdjm@openbsd.org2023-01-111-1/+2
| | | | OpenBSD-Commit-ID: 1ec524ff2fbb9387d731601437c82008f35a60f4
* upstream: spelling fixes; from paul tagliamonte amendments to hisjmc@openbsd.org2023-01-031-2/+2
| | | | | | diff are noted on tech OpenBSD-Commit-ID: d776dd03d0b882ca9c83b84f6b384f6f9bd7de4a
* upstream: Update the sntrup761 creation script and generated code:dtucker@openbsd.org2021-01-081-17/+35
| | | | | | | | | | | | - remove unneeded header files and typedefs and rely on crypto_api.h - add defines to map types used to the crypto_api ones instead of typedefs. This prevents typedef name collisions in -portable. - remove CRYPTO_NAMESPACE entirely instead of making it a no-op - delete unused functions and make the remaining ones that aren't exported static. ok djm@ OpenBSD-Commit-ID: 7b9d0cf3acd5a3c1091da8afe00c904d38cf5783
* upstream: estructure sntrup761.sh to process all files in a singledtucker@openbsd.org2021-01-081-19/+20
| | | | | | | list, which will make it easier to reorder. Re-inline int32_MINMAX. ok tobhe@ OpenBSD-Commit-ID: d145c6c19b08bb93c9e14bfaa7af589d90f144c0
* upstream: Prevent redefinition of `crypto_int32' error with gcc3.tobhe@openbsd.org2021-01-081-2/+3
| | | | | | | | | Fixes compilation on luna88k. Feedback millert@ Found by and ok aoyama@ OpenBSD-Commit-ID: f305ddfe575a26cc53431af3fde3f4aeebed9ba6
* fix: missing pieces of previous commitDamien Miller2020-12-311-2/+2
|
* upstream: Update/replace the experimental post-quantim hybrid keydjm@openbsd.org2020-12-291-0/+65
exchange method based on Streamlined NTRU Prime (coupled with X25519). The previous sntrup4591761x25519-sha512@tinyssh.org method is replaced with sntrup761x25519-sha512@openssh.com. Per the authors, sntrup4591761 was replaced almost two years ago by sntrup761. The sntrup761 implementaion, like sntrup4591761 before it, is public domain code extracted from the SUPERCOP cryptography benchmark suite (https://bench.cr.yp.to/supercop.html). Thanks for Daniel J Bernstein for guidance on algorithm selection. Patch from Tobias Heider; feedback & ok markus@ and myself (note this both the updated method and the one that it replaced are disabled by default) OpenBSD-Commit-ID: 2bf582b772d81ee24e911bb6f4b2aecfd39338ae