diff options
author | 2014-06-10 21:46:11 +0000 | |
---|---|---|
committer | 2014-06-10 21:46:11 +0000 | |
commit | 6b35e8241a48c74185179bc608d22eafb9380958 (patch) | |
tree | 4041199d853d198c52e4a5ce75b8c6dda60bac7f /usr.bin/ssh/sshbuf.h | |
parent | KNF (diff) | |
download | wireguard-openbsd-6b35e8241a48c74185179bc608d22eafb9380958.tar.xz wireguard-openbsd-6b35e8241a48c74185179bc608d22eafb9380958.zip |
Group ECC functions together to make things a little easier in -portable.
"doesn't bother me" deraadt@
Diffstat (limited to 'usr.bin/ssh/sshbuf.h')
-rw-r--r-- | usr.bin/ssh/sshbuf.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/sshbuf.h b/usr.bin/ssh/sshbuf.h index 1d7da31c744..a3ebce3ec3f 100644 --- a/usr.bin/ssh/sshbuf.h +++ b/usr.bin/ssh/sshbuf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sshbuf.h,v 1.1 2014/04/30 05:29:56 djm Exp $ */ +/* $OpenBSD: sshbuf.h,v 1.2 2014/06/10 21:46:11 dtucker Exp $ */ /* * Copyright (c) 2011 Damien Miller * @@ -206,13 +206,13 @@ int sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp, */ int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v); int sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v); -int sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g); -int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v); int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v); int sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v); +int sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len); +int sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g); +int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v); int sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g); int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v); -int sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len); /* Dump the contents of the buffer to stderr in a human-readable format */ void sshbuf_dump(struct sshbuf *buf, FILE *f); |