diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-15 19:35:07 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-06-15 19:35:07 +0200 |
commit | f5e80759f23c602ddfca9af906f082499d49cb36 (patch) | |
tree | b8769d03337027d74db371e4a36afe9fa4f2adda | |
parent | 2dbc1750eabb3781ec8181b5a73b54f6b8d64ef6 (diff) |
curve: fix crypto_box_beforenmbytes length
This seems to have been corrupted. Must be crypto_box_beforenmbytes.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rw-r--r-- | curve.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ struct curve25519_proto { unsigned char enonce[crypto_box_noncebytes] __aligned_16; unsigned char dnonce[crypto_box_noncebytes] __aligned_16; - unsigned char key[crypto_box_noncebytes] __aligned_16; + unsigned char key[crypto_box_beforenmbytes] __aligned_16; }; struct curve25519_struct { |