=== source code for crypto_SUITE:hmac/1
=== Test case started with:
crypto_SUITE:hmac([{hash,{sha512,[<<"abc">>,
<<"abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu">>,
#Fun],
[<<221,175,53,161,147,97,122,186,204,65,115,
73,174,32,65,49,18,230,250,78,137,169,126,
162,10,158,238,230,75,85,211,154,33,146,
153,42,39,79,193,168,54,186,60,35,163,254,
235,189,69,77,68,35,100,60,232,14,42,154,
201,79,165,76,164,159>>,
<<142,149,155,117,218,227,19,218,140,244,247,
40,20,252,20,63,143,119,121,198,235,159,
127,161,114,153,174,173,182,136,144,24,80,
29,40,158,73,0,247,228,51,27,153,222,196,
181,67,58,199,211,41,238,182,221,38,84,94,
150,229,91,135,75,233,9>>,
<<231,24,72,61,12,231,105,100,78,46,66,
199,188,21,180,99,142,31,152,177,59,32,
68,40,86,50,168,3,175,169,115,235,222,
15,242,68,135,126,166,10,76,176,67,44,
229,119,195,27,235,0,156,92,44,73,170,
46,78,173,178,23,173,140,192,155>>]}},
{hmac,{sha512,[<<"\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v">>,
<<"Jefe">>,<<"ªªªªªªªªªªªªªªªªªªªª">>,
<<1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,
18,19,20,21,22,23,24,25>>,
<<"\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f">>,
<<"ªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªª">>,
<<"ªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªª">>,
<<0,17,34,51,68,85,102,119,136,153,170,187,
204,221,238,255,1,35,69,103,137,171,205,
239,0,17,34,51,68,85,102,119,136,153,170,
187,204,221,238,255,1,35,69,103,137,171,
205,239,0,17,34,51,68,85,102,119,136,153,
170,187,204,221,238,255>>],
[<<"Hi There">>,
<<"what do ya want for nothing?">>,
<<"ÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝ">>,
<<"ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ">>,
<<"Test With Truncation">>,
<<"Test Using Larger Than Block-Size Key - Hash Key First">>,
<<"This is a test using a larger than block-size key and a larger than block-size data. The key needs to be hashed before being used by the HMAC algorithm.">>,
#Fun],
[<<135,170,124,222,165,239,97,157,79,240,180,
36,26,29,108,176,35,121,244,226,206,78,194,
120,122,208,179,5,69,225,124,222,218,168,
51,183,214,184,167,2,3,139,39,78,174,163,
244,228,190,157,145,78,235,97,241,112,46,
105,108,32,58,18,104,84>>,
<<22,75,122,123,252,248,25,226,227,149,251,
231,59,86,224,163,135,189,100,34,46,131,31,
214,16,39,12,215,234,37,5,84,151,88,191,
117,192,90,153,74,109,3,79,101,248,240,230,
253,202,234,177,163,77,74,107,75,99,110,7,
10,56,188,231,55>>,
<<250,115,176,8,157,86,162,132,239,176,240,
117,108,137,11,233,177,181,219,221,142,232,
26,54,85,248,62,51,178,39,157,57,191,62,
132,130,121,167,34,200,6,180,133,164,126,
103,200,7,185,70,163,55,190,232,148,38,116,
39,136,89,225,50,146,251>>,
<<176,186,70,86,55,69,140,105,144,229,168,
197,246,29,74,247,229,118,217,127,249,75,
135,45,231,111,128,80,54,30,227,219,169,28,
165,193,26,162,94,180,214,121,39,92,197,
120,128,99,165,241,151,65,18,12,79,45,226,
173,235,235,16,162,152,221>>,
<<65,95,173,98,113,88,10,83,29,65,121,188,
137,29,135,166>>,
<<128,178,66,99,199,193,163,235,183,20,147,
193,221,123,232,180,155,70,209,244,27,74,
238,193,18,27,1,55,131,248,243,82,107,86,
208,55,224,95,37,152,189,15,210,33,93,106,
30,82,149,230,79,115,246,63,10,236,139,145,
90,152,93,120,101,152>>,
<<227,123,106,119,93,200,125,186,164,223,169,
249,110,94,63,253,222,189,113,248,134,114,
137,134,93,245,163,45,32,205,201,68,182,2,
44,172,60,73,130,177,13,94,235,85,195,228,
222,21,19,70,118,251,109,224,68,96,101,201,
116,64,250,140,106,88>>,
<<209,22,191,71,26,174,18,100,133,79,25,6,
2,94,132,106,97,97,138,150,95,202,48,
182,149,34,14,162,214,229,71,227,243,
181,164,181,78,103,120,146,140,38,213,
211,216,16,73,142,141,248,108,179,204,
30,159,102,160,4,25,177,59,107,12,154>>]}},
{watchdog,<0.311.0>},
{tc_logfile,"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-05_09.08.23/tests.crypto_test.logs/run.2014-01-05_09.08.36/crypto_suite.hmac.912963.459.html"},
{tc_group_properties,[{name,sha512}]},
{tc_group_path,[]},
{data_dir,"/home/pi/R16B03/otp-support/release/tests/crypto_test/crypto_SUITE_data/"},
{priv_dir,"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-05_09.08.23/tests.crypto_test.logs/run.2014-01-05_09.08.36/log_private/"},
{nodenames,[]}])
=== Current directory is "/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-05_09.08.23"
=== Started at 2014-01-05 09:09:23
=== Ended at 2014-01-05 09:09:26
=== successfully completed test case
=== returned value = ok
Test run history
| Top level test index