summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/crypto_api.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update the sntrup761 creation script and generated code:dtucker2021-01-081-1/+3
| | | | | | | | | | - 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@
* Update/replace the experimental post-quantim hybrid key exchangedjm2020-12-291-8/+8
| | | | | | | | | | | | | | | | | | 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)
* Add support for a PQC KEX/KEM: sntrup4591761x25519-sha512@tinyssh.orgdjm2019-01-211-1/+17
| | | | | | | | | using the Streamlined NTRU Prime 4591^761 implementation from SUPERCOP coupled with X25519 as a stop-loss. Not enabled by default. introduce KEM API; a simplified framework for DH-ish KEX methods. from markus@ feedback & ok djm@
* Replace ED25519's private SHA-512 implementation with a call to thenaddy2017-12-141-7/+1
| | | | | regular digest code. This speeds up compilation considerably. ok markus@
* I've assempled the header file by cut&pasting from generated headersmarkus2013-12-171-2/+5
| | | | and the source files.
* remove unused definesmarkus2013-12-091-5/+1
|
* support ed25519 keys (hostkeys and user identities) using the public domainmarkus2013-12-061-0/+43
ed25519 reference code from SUPERCOP, see http://ed25519.cr.yp.to/software.html feedback, help & ok djm@