Tk Library Source Code

Artifact [bfa2b91d32]
Login

Artifact bfa2b91d3229adac3bea40ff5104d87d18e64493:

Attachment "sha1.test" to ticket [446997ffff] added by dgp 2001-09-20 23:42:40.
tcllib tests
Tests running in working dir:  /local/src/tcllib
Only sourcing test files that match:  *.test
Tests began at Thu Sep 20 12:41:24 EDT 2001
Module:	sha1
modules/sha1/sha1.test
sha1 1.0 (pure Tcl)

==== sha1-2.1 sha1 FAILED
==== Contents of test case:

	::sha1::sha1 $msg
    
---- Result was:
d5b4f54ca9993e36e86031f24706816aa1834873ba3e2571281e6df67850c26c98fdf6ae9cd0d89d
---- Result should have been:
a9993e364706816aba3e25717850c26c9cd0d89d
==== sha1-2.1 FAILED


==== sha1-2.2 sha1 FAILED
==== Contents of test case:

	::sha1::sha1 $msg
    
---- Result was:
a6b14ada84983e449153c7871c3bd26ee1f36da4baae4aa1e91ed56ff95129e561738f02e54670f1
---- Result should have been:
84983e441c3bd26ebaae4aa1f95129e5e54670f1
==== sha1-2.2 FAILED


==== sha1-3.1 hmac FAILED
==== Contents of test case:

	::sha1::hmac $key $text
    
---- Result was:
dd0aac2fe7ad10bdc4ddbc4482b71c3c6f12b75887cd945543829e3113b4f2a6e2f1ad0526c48ef3
---- Result should have been:
fbdb1d1b18aa6c08324b7d64b71fb76370690e1d
==== sha1-3.1 FAILED


==== sha1-3.2 hmac FAILED
==== Contents of test case:

	::sha1::hmac $key $text
    
---- Result was:
5a17b268d0e2fa7f2dac78a9561a86c0bf542b56d80f08539e0dc83f2e401cb464e53e7768b82066
---- Result should have been:
4c883e9bc42763641bba04185d492de00de7ce2c
==== sha1-3.2 FAILED


==== sha1-3.3 hmac FAILED
==== Contents of test case:

	::sha1::hmac $key $text
    
---- Result was:
ea0fbc027c29d69390261ca758438a1c2f8ed3364849b033fa9a35cdcacc8a423c2dec038000cdf2
---- Result should have been:
a905e79f51faa446cb5a3888b577e34577ef7fce
==== sha1-3.3 FAILED


==== sha1-3.4 hmac FAILED
==== Contents of test case:

	::sha1::hmac $key $text
    
---- Result was:
cc3ff427d2fbf753a1628cb921ab822b6b6bd9e34426b6e0f56f5309c5a1a77fab50fb292f23dd17
---- Result should have been:
369e2959eb49450338b212748f77d8ded74847bb
==== sha1-3.4 FAILED


==== sha1-3.5 hmac FAILED
==== Contents of test case:

	::sha1::hmac $key $text
    
---- Result was:
1d2da43db1f9a7df97a8aba8f0bb6ccd9559b9da2e1496d7f77aa4e787acf95c47d5421a8ba82409
---- Result should have been:
2660aeeccf432596e56f8f8260de971322e8935b
==== sha1-3.5 FAILED


==== sha1-3.6 hmac FAILED
==== Contents of test case:

	::sha1::hmac $key $text
    
---- Result was:
94a6b3c391128572ab943424d5c29d4ca1b9844afa746148dfc1bd81e2e704ddba1093e1f73eb2c
---- Result should have been:
170523fd610da92dd4b4fb948a01a8365d66511a
==== sha1-3.6 FAILED


==== sha1-3.7 hmac FAILED
==== Contents of test case:

	::sha1::hmac $key $text
    
---- Result was:
6622b6be347a00eca598a3ba0ed2e4dd5e865a18b7413715b88aac85bbaff3d587886185c4b6807
---- Result should have been:
5154473317173f66212fc59365233ffd9cbaab94
==== sha1-3.7 FAILED


==== sha1-3.8 hmac FAILED
==== Contents of test case:

	::sha1::hmac $key $text
    
---- Result was:
f10225d437a408968c2974b33bc2592c9b3b22a533f5ffa2f8defaa449114f19e7a418edab76fadc
---- Result should have been:
9e08393f6ac829c4385930ea38567dad582d958f
==== sha1-3.8 FAILED


==== sha1-3.9 hmac FAILED
==== Contents of test case:

	::sha1::hmac $key $text
    
---- Result was:
45e5a8199154232cdacc219d0f5bdf14929d2b0e1e4afad1a0ee7246a413b9965a408dca976eacb
---- Result should have been:
6541c34492618a052c12cb9f88fb795d97595b34
==== sha1-3.9 FAILED



Tests ended at Thu Sep 20 12:41:24 EDT 2001
all.tcl:	Total	14	Passed	3	Skipped	0	Failed	11
Sourced 1 Test Files.
Files with failing tests: sha1/sha1.test