summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2015-03-17 10:00:06 -0400
committerJesse Luehrs <doy@tozt.net>2015-03-17 10:01:16 -0400
commit1fd0d2d94a27dac7337cd21c3386a4949f977708 (patch)
tree64e63fdab2f7d4609da8a7baf6dda76d4ace6218 /tests
parent07b711c7736dcf0a7f25ec7a59ae4bffa2c3df9d (diff)
downloadmatasano-1fd0d2d94a27dac7337cd21c3386a4949f977708.tar.gz
matasano-1fd0d2d94a27dac7337cd21c3386a4949f977708.zip
allow these functions to work on arbitrary block sizes
Diffstat (limited to 'tests')
-rw-r--r--tests/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib.rs b/tests/lib.rs
index d1bc806..bb495b3 100644
--- a/tests/lib.rs
+++ b/tests/lib.rs
@@ -180,7 +180,7 @@ fn problem_11 () {
}
for _ in 0..100 {
- let got = matasano::detect_ecb_cbc(random_encrypter);
+ let got = matasano::detect_ecb_cbc(random_encrypter, 16);
let expected = unsafe { &last_mode };
assert_eq!(&got, expected);
}