summaryrefslogtreecommitdiff
path: root/curve.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-15 19:40:44 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-15 19:40:44 +0200
commitf03b8d19313323bf66c48cb9c75c0394705686b6 (patch)
tree4a1ab87e2a264aaf2989deee0c2e4bf0a9152894 /curve.h
parentf5e80759f23c602ddfca9af906f082499d49cb36 (diff)
curve: minor: fix up formatting
Just some minor whitespacing arrangements. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'curve.h')
-rw-r--r--curve.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/curve.h b/curve.h
index 1fccd27..aa159e8 100644
--- a/curve.h
+++ b/curve.h
@@ -23,13 +23,19 @@ struct curve25519_struct {
extern void curve25519_selftest(void);
extern void curve25519_alloc_or_maybe_die(struct curve25519_struct *curve);
extern void curve25519_free(void *curve);
-extern void curve25519_proto_init(struct curve25519_proto *proto, unsigned char *pubkey_remote, size_t len);
-extern int curve25519_pubkey_hexparse_32(unsigned char *bin, size_t blen, const char *ascii, size_t alen);
+extern void curve25519_proto_init(struct curve25519_proto *proto,
+ unsigned char *pubkey_remote, size_t len);
+extern int curve25519_pubkey_hexparse_32(unsigned char *bin, size_t blen,
+ const char *ascii, size_t alen);
-extern ssize_t curve25519_encode(struct curve25519_struct *curve, struct curve25519_proto *proto,
- unsigned char *plaintext, size_t size, unsigned char **chipertext);
-extern ssize_t curve25519_decode(struct curve25519_struct *curve, struct curve25519_proto *proto,
- unsigned char *chipertext, size_t size, unsigned char **plaintext,
+extern ssize_t curve25519_encode(struct curve25519_struct *curve,
+ struct curve25519_proto *proto,
+ unsigned char *plaintext, size_t size,
+ unsigned char **chipertext);
+extern ssize_t curve25519_decode(struct curve25519_struct *curve,
+ struct curve25519_proto *proto,
+ unsigned char *chipertext, size_t size,
+ unsigned char **plaintext,
struct taia *arrival_taia);
#endif /* CURVE_H */