summaryrefslogtreecommitdiff
path: root/digest.h
diff options
context:
space:
mode:
Diffstat (limited to 'digest.h')
-rw-r--r--digest.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/digest.h b/digest.h
index 3fe073468..274574d0e 100644
--- a/digest.h
+++ b/digest.h
@@ -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
33struct sshbuf; 32struct sshbuf;
34struct ssh_digest_ctx; 33struct ssh_digest_ctx;