summaryrefslogtreecommitdiff
path: root/crypto_api.h
Commit message (Collapse)AuthorAgeFilesLines
* upstream: update OpenSSH's Ed25519 code to the last version of SUPERCOPdjm@openbsd.org2023-01-161-3/+1
| | | | | | | | | | (20221122) and change the import approach to the same one we use for Streamlined NTRUPrime: use a shell script to extract the bits we need from SUPERCOP, make some minor adjustments and squish them all into a single file. ok tb@ tobhe@ OpenBSD-Commit-ID: 1bc0fd624cb6af440905b8ba74ac7c03311b8e3b
* upstream: Update the sntrup761 creation script and generated code:dtucker@openbsd.org2021-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@ OpenBSD-Commit-ID: 7b9d0cf3acd5a3c1091da8afe00c904d38cf5783
* upstream: Update/replace the experimental post-quantim hybrid keydjm@openbsd.org2020-12-291-8/+8
| | | | | | | | | | | | | | | | | | | | 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
* upstream: Add support for a PQC KEX/KEM:djm@openbsd.org2019-01-211-1/+17
| | | | | | | | | | | | sntrup4591761x25519-sha512@tinyssh.org 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@ OpenBSD-Commit-ID: d687f76cffd3561dd73eb302d17a1c3bf321d1a7
* crypto_api.h needs includes.hDamien Miller2018-01-241-0/+2
|
* upstream commitnaddy@openbsd.org2017-12-191-7/+1
| | | | | | | | Replace ED25519's private SHA-512 implementation with a call to the regular digest code. This speeds up compilation considerably. ok markus@ OpenBSD-Commit-ID: fcce8c3bcfe7389462a28228f63c823e80ade41c
* - (dtucker) [crypto_api.h] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H.Darren Tucker2014-01-171-1/+3
|
* - markus@cvs.openbsd.org 2013/12/17 10:36:38Damien Miller2013-12-181-2/+5
| | | | | | [crypto_api.h] I've assempled the header file by cut&pasting from generated headers and the source files.
* - markus@cvs.openbsd.org 2013/12/09 11:08:17Damien Miller2013-12-181-5/+1
| | | | | [crypto_api.h] remove unused defines
* - markus@cvs.openbsd.org 2013/12/06 13:39:49Damien Miller2013-12-071-0/+43
[authfd.c authfile.c key.c key.h myproposal.h pathnames.h readconf.c] [servconf.c ssh-agent.c ssh-keygen.c ssh-keyscan.1 ssh-keyscan.c] [ssh-keysign.c ssh.c ssh_config.5 sshd.8 sshd.c verify.c ssh-ed25519.c] [sc25519.h sc25519.c hash.c ge25519_base.data ge25519.h ge25519.c] [fe25519.h fe25519.c ed25519.c crypto_api.h blocks.c] support ed25519 keys (hostkeys and user identities) using the public domain ed25519 reference code from SUPERCOP, see http://ed25519.cr.yp.to/software.html feedback, help & ok djm@