diff options
Diffstat (limited to 'digest.h')
-rw-r--r-- | digest.h | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: digest.h,v 1.7 2014/12/21 22:27:56 djm Exp $ */ | 1 | /* $OpenBSD: digest.h,v 1.8 2017/05/08 22:57:38 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2013 Damien Miller <djm@mindrot.org> | 3 | * Copyright (c) 2013 Damien Miller <djm@mindrot.org> |
4 | * | 4 | * |
@@ -23,12 +23,11 @@ | |||
23 | 23 | ||
24 | /* Digest algorithms */ | 24 | /* Digest algorithms */ |
25 | #define SSH_DIGEST_MD5 0 | 25 | #define SSH_DIGEST_MD5 0 |
26 | #define SSH_DIGEST_RIPEMD160 1 | 26 | #define SSH_DIGEST_SHA1 1 |
27 | #define SSH_DIGEST_SHA1 2 | 27 | #define SSH_DIGEST_SHA256 2 |
28 | #define SSH_DIGEST_SHA256 3 | 28 | #define SSH_DIGEST_SHA384 3 |
29 | #define SSH_DIGEST_SHA384 4 | 29 | #define SSH_DIGEST_SHA512 4 |
30 | #define SSH_DIGEST_SHA512 5 | 30 | #define SSH_DIGEST_MAX 5 |
31 | #define SSH_DIGEST_MAX 6 | ||
32 | 31 | ||
33 | struct sshbuf; | 32 | struct sshbuf; |
34 | struct ssh_digest_ctx; | 33 | struct ssh_digest_ctx; |