summaryrefslogtreecommitdiff
path: root/curve.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-15 17:41:42 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-15 17:41:42 +0200
commitb7609f8d52cc2dbd1b3b2c08e95e7529368a951c (patch)
tree34fc41a3865ee92c232001b19f05f291654ac079 /curve.h
parentc0a4ab36757c590b09b2a9cab8d48235c303d14b (diff)
curve: rename encode/decode buffers
No need to prefix them with _buf, this just makes the names longer and therefore less readable. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'curve.h')
-rw-r--r--curve.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/curve.h b/curve.h
index a79f992..a754c9b 100644
--- a/curve.h
+++ b/curve.h
@@ -15,8 +15,8 @@ struct curve25519_proto {
};
struct curve25519_struct {
- unsigned char *enc_buf, *dec_buf;
- size_t enc_buf_size, dec_buf_size;
+ unsigned char *enc, *dec;
+ size_t enc_size, dec_size;
struct spinlock enc_lock, dec_lock;
};