1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

SHA fate test

Originally committed as revision 25013 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2010-08-31 20:07:38 +00:00
parent 6b85316bd2
commit 4b7539f1cd
2 changed files with 25 additions and 0 deletions

View File

@ -202,3 +202,7 @@ fate-mjpegb: CMD = framecrc -idct simple -flags +bitexact -i $(SAMPLES)/mjpegb/m
FATE_TESTS += fate-rv30
fate-rv30: CMD = framecrc -flags +bitexact -dct fastint -idct simple -i $(SAMPLES)/real/rv30.rm -an
FATE_TESTS += fate-sha
fate-sha: libavutil/sha-test$(EXESUF)
fate-sha: CMD = run libavutil/sha-test

21
tests/ref/fate/sha Normal file
View File

@ -0,0 +1,21 @@
Testing SHA-160
A9993E364706816ABA3E25717850C26C9CD0D89D
84983E441C3BD26EBAAE4AA1F95129E5E54670F1
34AA973CD4C4DAA4F61EEB2BDBAD27316534016F
A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D
84983E44 1C3BD26E BAAE4AA1 F95129E5 E54670F1
34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F
Testing SHA-224
23097D223405D8228642A477BDA255B32AADBCE4BDA0B3F7E36C9DA7
75388B16512776CC5DBA5DA1FD890150B0C6455CB4F58B1952522525
20794655980C91D8BBB4C1EA97618A4BF03F42581948B2EE4EE7AD67
23097d22 3405d822 8642a477 bda255b3 2aadbce4 bda0b3f7 e36c9da7
75388b16 512776cc 5dba5da1 fd890150 b0c6455c b4f58b19 52522525
20794655 980c91d8 bbb4c1ea 97618a4b f03f4258 1948b2ee 4ee7ad67
Testing SHA-256
BA7816BF8F01CFEA414140DE5DAE2223B00361A396177A9CB410FF61F20015AD
248D6A61D20638B8E5C026930C3E6039A33CE45964FF2167F6ECEDD419DB06C1
CDC76E5C9914FB9281A1C7E284D73E67F1809A48A497200E046D39CCC7112CD0
ba7816bf 8f01cfea 414140de 5dae2223 b00361a3 96177a9c b410ff61 f20015ad
248d6a61 d20638b8 e5c02693 0c3e6039 a33ce459 64ff2167 f6ecedd4 19db06c1
cdc76e5c 9914fb92 81a1c7e2 84d73e67 f1809a48 a497200e 046d39cc c7112cd0