summaryrefslogtreecommitdiff
path: root/sshkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'sshkey.h')
-rw-r--r--sshkey.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshkey.h b/sshkey.h
index 4e89049f1..0cbdcfd74 100644
--- a/sshkey.h
+++ b/sshkey.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshkey.h,v 1.24 2018/02/23 15:58:38 markus Exp $ */ 1/* $OpenBSD: sshkey.h,v 1.26 2018/07/03 13:20:25 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -192,11 +192,12 @@ int sshkey_puts_opts(const struct sshkey *, struct sshbuf *,
192int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *); 192int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *);
193int sshkey_putb_plain(const struct sshkey *, struct sshbuf *); 193int sshkey_putb_plain(const struct sshkey *, struct sshbuf *);
194 194
195int sshkey_sigtype(const u_char *, size_t, char **);
196int sshkey_sign(const struct sshkey *, u_char **, size_t *, 195int sshkey_sign(const struct sshkey *, u_char **, size_t *,
197 const u_char *, size_t, const char *, u_int); 196 const u_char *, size_t, const char *, u_int);
198int sshkey_verify(const struct sshkey *, const u_char *, size_t, 197int sshkey_verify(const struct sshkey *, const u_char *, size_t,
199 const u_char *, size_t, const char *, u_int); 198 const u_char *, size_t, const char *, u_int);
199int sshkey_check_sigtype(const u_char *, size_t, const char *);
200const char *sshkey_sigalg_by_name(const char *);
200 201
201/* for debug */ 202/* for debug */
202void sshkey_dump_ec_point(const EC_GROUP *, const EC_POINT *); 203void sshkey_dump_ec_point(const EC_GROUP *, const EC_POINT *);