diff options
author | Colin Watson <cjwatson@debian.org> | 2018-04-03 08:20:28 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2018-04-03 08:20:28 +0100 |
commit | ed6ae9c1a014a08ff5db3d768f01f2e427eeb476 (patch) | |
tree | 601025e307745d351946c01ab13f419ddb6dae29 /crypto_api.h | |
parent | 62f54f20bf351468e0124f63cc2902ee40d9b0e9 (diff) | |
parent | a0349a1cc4a18967ad1dbff5389bcdf9da098814 (diff) |
Import openssh_7.7p1.orig.tar.gz
Diffstat (limited to 'crypto_api.h')
-rw-r--r-- | crypto_api.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/crypto_api.h b/crypto_api.h index 5820ce8fa..7f45bbd69 100644 --- a/crypto_api.h +++ b/crypto_api.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: crypto_api.h,v 1.3 2013/12/17 10:36:38 markus Exp $ */ | 1 | /* $OpenBSD: crypto_api.h,v 1.4 2017/12/14 21:07:39 naddy Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Assembled from generated headers and source files by Markus Friedl. | 4 | * Assembled from generated headers and source files by Markus Friedl. |
@@ -8,6 +8,8 @@ | |||
8 | #ifndef crypto_api_h | 8 | #ifndef crypto_api_h |
9 | #define crypto_api_h | 9 | #define crypto_api_h |
10 | 10 | ||
11 | #include "includes.h" | ||
12 | |||
11 | #ifdef HAVE_STDINT_H | 13 | #ifdef HAVE_STDINT_H |
12 | # include <stdint.h> | 14 | # include <stdint.h> |
13 | #endif | 15 | #endif |
@@ -18,12 +20,6 @@ typedef uint32_t crypto_uint32; | |||
18 | 20 | ||
19 | #define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len)) | 21 | #define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len)) |
20 | 22 | ||
21 | #define crypto_hashblocks_sha512_STATEBYTES 64U | ||
22 | #define crypto_hashblocks_sha512_BLOCKBYTES 128U | ||
23 | |||
24 | int crypto_hashblocks_sha512(unsigned char *, const unsigned char *, | ||
25 | unsigned long long); | ||
26 | |||
27 | #define crypto_hash_sha512_BYTES 64U | 23 | #define crypto_hash_sha512_BYTES 64U |
28 | 24 | ||
29 | int crypto_hash_sha512(unsigned char *, const unsigned char *, | 25 | int crypto_hash_sha512(unsigned char *, const unsigned char *, |