summaryrefslogtreecommitdiff
path: root/lib/crypto/test/chacha20.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/test/chacha20.myr')
-rw-r--r--lib/crypto/test/chacha20.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto/test/chacha20.myr b/lib/crypto/test/chacha20.myr
index 7ca349f..8fece64 100644
--- a/lib/crypto/test/chacha20.myr
+++ b/lib/crypto/test/chacha20.myr
@@ -853,9 +853,9 @@ const check = {chk
;;
crypto.chacha20encrypt(&st, data[:], result[:])
- std.assert(std.sleq(result[:], chk.stream0), "mismatched stream0")
+ std.assert(std.eq(result[:], chk.stream0), "mismatched stream0")
crypto.chacha20encrypt(&st, data[:], result[:])
- std.assert(std.sleq(result[:], chk.stream1), "mismatched stream1")
+ std.assert(std.eq(result[:], chk.stream1), "mismatched stream1")
}