summaryrefslogtreecommitdiff
path: root/lib/cryptohash/test/sha256.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-11-24 16:28:24 -0800
committerOri Bernstein <ori@eigenstate.org>2016-11-24 16:44:21 -0800
commit6c434100fac87e19234389aba2329165827d0711 (patch)
treec76963ca6d2dd9ba8d65da1f64117945b472e978 /lib/cryptohash/test/sha256.myr
parent49f27bf2a929c681f40752da7329e377030198a3 (diff)
downloadmc-6c434100fac87e19234389aba2329165827d0711.tar.gz
Rename 'libcryptohash' to 'libcrypto'
The ciphers are coming. Hold on to your hats. The ciphers are coming.
Diffstat (limited to 'lib/cryptohash/test/sha256.myr')
-rw-r--r--lib/cryptohash/test/sha256.myr29
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/cryptohash/test/sha256.myr b/lib/cryptohash/test/sha256.myr
deleted file mode 100644
index addc9db..0000000
--- a/lib/cryptohash/test/sha256.myr
+++ /dev/null
@@ -1,29 +0,0 @@
-use std
-use cryptohash
-
-use "test/util"
-
-const main = {
- hasheq(cryptohash.sha224("")[:], \
- "d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f")
- hasheq(cryptohash.sha224("h")[:], \
- "e0ccaeadfef916630c35576679e4cd4b438e7fc95a60b7361705f708")
- /* 64 byte block */
- hasheq(cryptohash.sha224("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")[:], \
- "a88cd5cde6d6fe9136a4e58b49167461ea95d388ca2bdb7afdc3cbf4")
- /* tail spanning */
- hasheq(cryptohash.sha224("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbb")[:], \
- "4a5859b7efa22c3b25710520fc97b0a901f5cdba3e4f0becfeea725e")
-
- hasheq(cryptohash.sha256("")[:], \
- "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855")
- hasheq(cryptohash.sha256("h")[:], \
- "aaa9402664f1a41f40ebbc52c9993eb66aeb366602958fdfaa283b71e64db123")
- /* 64 byte block */
- hasheq(cryptohash.sha256("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")[:], \
- "ffe054fe7ae0cb6dc65c3af9b61d5209f439851db43d0ba5997337df154668eb")
- /* tail spanning */
- hasheq(cryptohash.sha256("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbb")[:], \
- "bac8bf0f9794a520a5bf0ec64d3206edd1b9f2ef5ea118c9cad5365d84578de4")
-}
-