projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide Dummy routing and channel message handlers for users
[rust-lightning]
/
lightning
/
src
/
util
/
chacha20.rs
diff --git
a/lightning/src/util/chacha20.rs
b/lightning/src/util/chacha20.rs
index 77329cba458753ddb53b1152c64dc73ba7c814a3..c23856b60c8d69fb412e04f2eb3934b8ac29ff35 100644
(file)
--- a/
lightning/src/util/chacha20.rs
+++ b/
lightning/src/util/chacha20.rs
@@
-328,7
+328,7
@@
mod test {
key: [u8; 32],
nonce: [u8; 8],
keystream: Vec<u8>,
key: [u8; 32],
nonce: [u8; 8],
keystream: Vec<u8>,
- }
;
+ }
// taken from http://tools.ietf.org/html/draft-agl-tls-chacha20poly1305-04
let test_vectors = vec!(
TestVector{
// taken from http://tools.ietf.org/html/draft-agl-tls-chacha20poly1305-04
let test_vectors = vec!(
TestVector{
@@
-463,7
+463,7
@@
mod test {
key: [u8; 32],
nonce: [u8; 12],
keystream: Vec<u8>,
key: [u8; 32],
nonce: [u8; 12],
keystream: Vec<u8>,
- }
;
+ }
// taken from http://tools.ietf.org/html/draft-agl-tls-chacha20poly1305-04
let test_vectors = vec!(
TestVector{
// taken from http://tools.ietf.org/html/draft-agl-tls-chacha20poly1305-04
let test_vectors = vec!(
TestVector{