diff options
author | Darren Tucker <dtucker@zip.com.au> | 2014-06-11 07:58:35 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2014-06-11 07:58:35 +1000 |
commit | a54a040f66944c6e8913df8635a01a2327219be9 (patch) | |
tree | 2a7422465757770133338ba7f2317a7a729154ac /sshbuf.h | |
parent | 9f92c53bad04a89067756be8198d4ec2d8a08875 (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.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 | */ |
207 | int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v); | 207 | int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v); |
208 | int sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v); | 208 | int sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v); |
209 | int sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g); | ||
210 | int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v); | ||
211 | int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v); | 209 | int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v); |
212 | int sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v); | 210 | int sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v); |
211 | int sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len); | ||
212 | int sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g); | ||
213 | int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v); | ||
213 | int sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g); | 214 | int sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g); |
214 | int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v); | 215 | int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v); |
215 | int 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 */ |
218 | void sshbuf_dump(struct sshbuf *buf, FILE *f); | 218 | void sshbuf_dump(struct sshbuf *buf, FILE *f); |