summaryrefslogtreecommitdiff
path: root/sshbuf.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2014-06-11 07:58:35 +1000
committerDarren Tucker <dtucker@zip.com.au>2014-06-11 07:58:35 +1000
commita54a040f66944c6e8913df8635a01a2327219be9 (patch)
tree2a7422465757770133338ba7f2317a7a729154ac /sshbuf.h
parent9f92c53bad04a89067756be8198d4ec2d8a08875 (diff)
- dtucker@cvs.openbsd.org 2014/06/10 21:46:11
[sshbuf.h] Group ECC functions together to make things a little easier in -portable. "doesn't bother me" deraadt@
Diffstat (limited to 'sshbuf.h')
-rw-r--r--sshbuf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sshbuf.h b/sshbuf.h
index 1d7da31c7..a3ebce3ec 100644
--- a/sshbuf.h
+++ b/sshbuf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshbuf.h,v 1.1 2014/04/30 05:29:56 djm Exp $ */ 1/* $OpenBSD: sshbuf.h,v 1.2 2014/06/10 21:46:11 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2011 Damien Miller 3 * Copyright (c) 2011 Damien Miller
4 * 4 *
@@ -206,13 +206,13 @@ int sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp,
206 */ 206 */
207int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v); 207int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v);
208int sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v); 208int sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v);
209int sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g);
210int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v);
211int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v); 209int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
212int sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v); 210int sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v);
211int sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len);
212int sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g);
213int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v);
213int sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g); 214int sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g);
214int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v); 215int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v);
215int sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len);
216 216
217/* Dump the contents of the buffer to stderr in a human-readable format */ 217/* Dump the contents of the buffer to stderr in a human-readable format */
218void sshbuf_dump(struct sshbuf *buf, FILE *f); 218void sshbuf_dump(struct sshbuf *buf, FILE *f);