diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2021-01-08 03:33:13 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-01-08 03:49:49 +0100 |
commit | 599df78f3008cf78af21f8977be3e1dd085f8e2e (patch) | |
tree | bae023aa5b3201832a04e1829c1823ffc64e14e0 /crypto_api.h | |
parent | upstream: mention that DisableForwarding is valid in a sshd_config (diff) | |
download | openssh-599df78f3008cf78af21f8977be3e1dd085f8e2e.tar.xz openssh-599df78f3008cf78af21f8977be3e1dd085f8e2e.zip |
upstream: Update the sntrup761 creation script and generated code:
- 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
Diffstat (limited to 'crypto_api.h')
-rw-r--r-- | crypto_api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto_api.h b/crypto_api.h index 1827003e0..5c3d97eaa 100644 --- a/crypto_api.h +++ b/crypto_api.h @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto_api.h,v 1.6 2020/12/29 00:59:15 djm Exp $ */ +/* $OpenBSD: crypto_api.h,v 1.7 2021/01/08 02:33:13 dtucker Exp $ */ /* * Assembled from generated headers and source files by Markus Friedl. @@ -21,6 +21,8 @@ typedef int16_t crypto_int16; typedef uint16_t crypto_uint16; typedef int32_t crypto_int32; typedef uint32_t crypto_uint32; +typedef int64_t crypto_int64; +typedef uint64_t crypto_uint64; #define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len)) #define small_random32() arc4random() |