=== Test case: crypto_SUITE:compute/1 (click for source code)

=== Config value:

    [{compute,[{ecdh,<<4,66,234,109,217,150,157,210,166,31,234,26,172,127,142,
                       152,237,204,137,108,110,85,133,124,192,223,190,93,124,
                       97,250,200,139,17,129,27,222,50,142,138,13,18,191,1,169,
                       210,4,181,35>>,
                     <<241,125,63,234,54,123,116,211,64,133,28,164,39,13,203,
                       36,194,113,244,69,190,217,213,39>>,
                     secp192r1,
                     <<128,61,138,178,229,182,230,252,167,21,115,124,58,130,
                       247,206,60,120,49,36,246,213,28,208>>},
               {ecdh,<<4,222,181,113,47,160,39,172,141,47,34,196,85,204,183,58,
                       145,225,123,101,18,181,224,48,231,126,38,144,160,44,201,
                       178,135,8,67,26,41,251,84,184,123,31,12,20,224,17,172,
                       33,37>>,
                     <<86,232,83,52,157,150,254,76,68,36,72,218,203,124,249,43,
                       183,169,93,207,87,74,155,213>>,
                     secp192r1,
                     <<194,8,132,117,104,185,136,53,215,49,44,239,31,151,247,
                       170,41,130,131,21,35,19,194,157>>},
               {ecdh,<<4,175,51,205,6,41,188,126,153,99,32,163,244,3,104,247,
                       77,232,112,79,163,123,143,171,105,171,170,226,128,136,
                       32,146,204,187,167,147,15,65,154,138,79,155,177,105,120,
                       187,195,131,135,41,153,37,89,166,242,226,215>>,
                     <<131,70,166,15,198,242,147,202,90,13,42,246,139,167,29,
                       29,211,137,229,228,8,55,148,45,243,228,60,189>>,
                     secp224r1,
                     <<125,150,249,163,189,60,5,207,92,195,127,235,139,157,82,
                       9,213,194,89,116,100,222,195,233,152,55,67,232>>},
               {ecdh,<<4,19,191,205,79,142,148,66,57,60,171,143,180,107,159,5,
                       102,194,38,178,43,55,7,105,118,240,97,122,70,238,178,66,
                       117,41,178,136,198,60,47,137,99,193,228,115,223,47,202,
                       108,170,144,213,46,47,141,181,109,212>>,
                     <<4,60,178,22,244,183,44,223,118,41,214,55,32,165,74,238,
                       12,153,235,50,215,68,119,218,192,194,247,61>>,
                     secp224r1,
                     <<238,147,206,6,184,159,247,32,9,232,88,198,142,183,8,
                       231,188,121,238,3,0,247,59,237,105,187,202,9>>},
               {ecdh,<<4,112,12,72,247,127,86,88,76,92,198,50,202,101,100,13,
                       185,27,107,172,206,58,77,246,180,44,231,204,131,136,51,
                       210,135,219,113,229,9,227,253,155,6,13,219,32,186,92,81,
                       220,197,148,141,70,251,246,64,223,224,68,23,130,202,184,
                       95,164,172>>,
                     <<125,125,197,247,30,178,157,218,248,13,98,20,99,46,234,
                       224,61,144,88,175,31,182,210,46,216,11,173,182,43,193,
                       165,52>>,
                     secp256r1,
                     <<70,252,98,16,100,32,255,1,46,84,164,52,251,221,45,37,
                       204,197,133,32,96,86,30,104,4,13,215,119,137,151,189,
                       123>>},
               {ecdh,<<4,128,159,4,40,156,100,52,140,1,81,94,176,61,92,231,172,
                       26,140,185,73,143,92,170,80,25,126,88,212,58,134,167,
                       174,178,157,132,232,17,25,127,37,235,168,245,25,64,146,
                       203,111,244,64,226,109,68,33,1,19,114,70,31,87,146,113,
                       205,163>>,
                     <<56,246,93,109,206,71,103,96,68,213,140,229,19,149,130,
                       213,104,246,75,177,96,152,209,121,219,171,7,116,29,213,
                       202,245>>,
                     secp256r1,
                     <<5,125,99,96,150,203,128,182,122,140,3,140,137,14,136,
                       125,26,223,164,25,94,155,60,226,65,200,167,120,197,156,
                       218,103>>},
               {ecdh,<<4,167,199,107,151,12,59,95,232,176,93,40,56,174,4,171,
                       71,105,123,158,175,82,231,100,89,46,253,162,127,231,81,
                       50,114,115,68,102,180,0,9,26,219,242,214,140,88,224,197,
                       0,102,172,104,241,159,46,28,184,121,174,212,58,153,105,
                       185,26,8,57,196,195,138,73,116,155,102,30,254,223,36,52,
                       81,145,94,208,144,90,50,176,96,153,43,70,140,100,118,
                       111,200,67,122>>,
                     <<60,195,18,42,104,240,217,80,39,173,56,192,103,145,107,
                       160,235,140,56,137,77,34,225,177,86,24,182,129,138,102,
                       23,116,173,70,59,32,93,168,140,246,153,171,77,67,201,
                       207,152,161>>,
                     secp384r1,
                     <<95,157,41,220,94,49,161,99,6,3,86,33,54,105,200,206,19,
                       46,34,245,124,154,4,244,11,167,252,234,212,147,180,87,
                       229,98,30,118,108,64,162,227,212,214,160,75,37,229,51,
                       241>>},
               {ecdh,<<4,48,244,63,207,43,107,0,222,83,246,36,241,84,48,144,
                       104,24,57,113,125,83,199,201,85,209,214,158,250,240,52,
                       155,115,99,172,180,71,36,1,1,203,179,175,102,65,206,75,
                       136,224,37,228,108,12,84,240,22,42,119,239,204,39,182,
                       234,121,32,2,174,43,168,39,20,41,156,134,8,87,166,129,
                       83,171,98,229,37,236,5,48,216,27,90,161,88,151,152,30,
                       133,135,87>>,
                     <<146,134,12,33,189,224,97,101,248,233,0,198,135,248,239,
                       10,5,209,79,41,11,63,7,216,179,168,204,100,4,54,110,93,
                       81,25,205,109,3,251,18,220,88,232,159,19,223,156,215,131>>,
                     secp384r1,
                     <<162,55,66,162,194,103,215,66,95,218,148,185,63,147,187,
                       204,36,121,26,197,28,216,253,80,26,35,141,64,129,47,76,
                       191,197,154,172,149,32,215,88,207,120,156,118,48,12,
                       105,210,255>>},
               {ecdh,<<4,0,104,90,72,232,108,121,240,240,135,95,123,193,141,37,
                       235,95,200,192,176,126,93,164,244,55,15,58,148,144,52,8,
                       84,51,75,30,27,135,250,57,84,100,198,6,38,18,74,78,112,
                       208,247,133,96,29,55,192,152,112,235,241,118,102,104,
                       119,162,4,109,1,186,82,197,111,200,119,109,158,143,93,
                       180,240,204,39,99,109,11,116,27,190,5,64,6,151,148,46,
                       128,183,57,136,74,131,189,233,158,15,103,22,147,158,99,
                       43,200,152,111,161,141,204,212,67,163,72,182,195,229,34,
                       73,121,85,164,243,195,2,246,118>>,
                     <<1,126,236,192,122,180,179,41,6,143,186,101,229,106,31,
                       136,144,170,147,94,87,19,74,224,255,204,232,2,115,81,81,
                       244,234,198,86,79,110,233,151,76,94,104,135,161,254,254,
                       229,116,58,226,36,27,254,185,93,92,227,29,220,182,249,
                       237,180,214,252,71>>,
                     secp521r1,
                     <<0,95,199,4,119,195,230,59,195,149,75,208,223,62,160,
                       209,244,30,226,23,70,237,149,252,94,31,223,144,147,13,
                       94,19,102,114,215,44,199,112,116,45,23,17,195,195,164,
                       195,52,160,173,151,89,67,106,77,60,91,246,231,75,149,
                       120,250,193,72,200,49>>},
               {ecdh,<<4,1,223,39,124,21,33,8,52,155,195,77,83,158,224,207,6,
                       178,79,93,53,0,103,123,68,69,69,60,204,33,64,148,83,170,
                       251,138,114,160,190,158,190,84,209,34,112,170,81,179,
                       171,127,49,106,165,231,74,149,28,94,83,247,76,217,95,
                       194,154,238,122,1,61,82,243,58,159,60,20,56,77,21,135,
                       250,138,190,122,237,116,188,51,116,154,217,197,112,180,
                       113,119,100,34,199,212,80,93,155,10,150,179,191,172,4,
                       30,76,106,105,144,174,127,112,14,91,74,102,64,34,145,18,
                       222,175,160,205,139,176,208,137,176>>,
                     <<0,129,111,25,193,251,16,239,148,212,161,216,28,21,110,
                       195,209,222,8,182,103,97,240,63,6,238,75,185,220,235,
                       187,254,30,170,30,212,154,106,153,8,56,216,237,49,140,
                       20,215,76,200,114,249,93,5,208,122,213,15,98,28,235,98,
                       12,217,5,207,184>>,
                     secp521r1,
                     <<0,11,57,32,172,131,10,222,129,44,143,150,128,93,162,35,
                       110,0,42,203,191,19,89,106,154,178,84,212,77,14,145,
                       182,37,94,191,18,41,243,102,251,90,5,197,136,78,244,96,
                       50,194,109,66,24,146,115,202,78,250,76,61,182,189,18,
                       166,133,55,89>>},
               {ecdh,<<4,169,194,26,86,151,89,218,149,224,56,112,65,24,66,97,
                       68,3,39,175,227,49,65,202,4,184,45,201,46,152,160,247,
                       95,187,246,29,142,88,174,85,17,178,188,219,232,229,73,
                       179,30,55,6,154,40,37,245,144,193>>,
                     <<96,96,85,35,3,137,158,33,64,113,88,22,196,91,87,217,180,
                       34,4,251,106,91,245,190,172,16,219,0>>,
                     brainpoolP224r1,
                     <<26,75,254,112,84,69,18,12,142,62,2,102,153,5,65,4,81,
                       13,17,151,87,183,77,95,226,70,44,102>>},
               {ecdh,<<4,3,74,86,197,80,255,136,5,97,68,230,221,86,7,15,84,176,
                       19,89,118,181,191,119,130,115,19,243,107,117,22,90,217,
                       147,71,220,134,202,171,28,187,87,158,25,142,175,136,220,
                       53,249,39,179,88,170,104,54,129>>,
                     <<57,241,85,72,60,238,25,31,190,207,233,200,29,138,177,
                       160,60,218,103,144,231,24,74,206,68,188,161,97>>,
                     brainpoolP224r1,
                     <<26,75,254,112,84,69,18,12,142,62,2,102,153,5,65,4,81,
                       13,17,151,87,183,77,95,226,70,44,102>>},
               {ecdh,<<4,68,16,110,145,63,146,188,2,161,112,93,153,83,168,65,
                       77,185,94,26,170,73,232,29,158,133,249,41,168,227,16,11,
                       229,138,180,132,111,17,202,204,183,60,228,156,189,209,
                       32,245,169,0,166,159,211,44,39,34,35,247,137,239,16,235,
                       8,155,220>>,
                     <<85,228,11,196,30,55,227,226,173,37,195,198,101,69,17,
                       255,168,71,74,145,160,3,32,135,89,56,82,211,231,215,107,
                       211>>,
                     brainpoolP256r1,
                     <<137,175,195,157,65,211,179,39,129,75,128,148,11,4,37,
                       144,249,101,86,236,145,230,174,121,57,188,227,31,58,24,
                       191,43>>},
               {ecdh,<<4,141,45,104,140,108,249,62,17,96,173,4,204,68,41,17,
                       125,194,196,24,37,225,233,252,160,173,221,52,230,241,
                       179,159,123,153,12,87,82,8,18,190,81,38,65,228,112,52,
                       131,33,6,188,125,62,141,208,228,199,241,19,109,112,6,84,
                       124,236,106>>,
                     <<129,219,30,225,0,21,15,242,234,51,141,112,130,113,190,
                       56,48,12,181,66,65,215,153,80,247,123,6,48,57,128,79,29>>,
                     brainpoolP256r1,
                     <<137,175,195,157,65,211,179,39,129,75,128,148,11,4,37,
                       144,249,101,86,236,145,230,174,121,57,188,227,31,58,24,
                       191,43>>},
               {ecdh,<<4,104,182,101,221,145,193,149,128,6,80,205,211,99,198,
                       37,244,231,66,232,19,70,103,183,103,177,180,118,121,53,
                       136,248,133,171,105,140,133,45,74,110,119,162,82,214,56,
                       15,202,240,104,85,188,145,163,156,158,192,29,238,54,1,
                       123,125,103,58,147,18,54,210,241,245,200,57,66,208,73,
                       227,250,32,96,116,147,224,208,56,255,47,211,12,42,182,
                       125,21,200,95,127,170,89>>,
                     <<3,38,64,188,96,3,197,146,96,247,37,12,61,181,140,230,71,
                       249,142,18,96,172,206,74,205,163,221,134,159,116,224,31,
                       139,165,224,50,67,9,219,106,152,49,73,122,186,201,102,
                       112>>,
                     brainpoolP384r1,
                     <<11,217,211,167,234,11,61,81,157,9,216,228,141,7,133,
                       251,116,74,107,53,94,99,4,188,81,194,41,251,188,226,57,
                       187,173,246,64,55,21,195,93,79,178,165,68,79,87,93,79,
                       66>>},
               {ecdh,<<4,77,68,50,111,38,154,89,122,91,88,187,165,101,218,85,
                       86,237,127,217,168,169,235,118,194,95,70,219,105,209,
                       157,200,206,106,209,142,64,75,21,115,139,32,134,223,55,
                       231,29,30,180,98,214,146,19,109,229,108,190,147,191,95,
                       163,24,142,245,139,200,163,160,236,108,30,21,26,33,3,
                       138,66,233,24,83,41,181,178,117,144,61,25,47,141,78,31,
                       50,254,156,199,140,72>>,
                     <<30,32,245,224,72,165,136,111,31,21,124,116,233,27,222,
                       43,152,200,181,45,88,229,0,61,87,5,63,196,176,189,101,
                       214,241,94,181,209,238,22,16,223,135,7,149,20,54,39,208,
                       66>>,
                     brainpoolP384r1,
                     <<11,217,211,167,234,11,61,81,157,9,216,228,141,7,133,
                       251,116,74,107,53,94,99,4,188,81,194,41,251,188,226,57,
                       187,173,246,64,55,21,195,93,79,178,165,68,79,87,93,79,
                       66>>},
               {ecdh,<<4,10,66,5,23,228,6,170,192,172,220,233,15,205,113,72,
                       119,24,211,185,83,239,215,251,236,95,127,39,226,140,97,
                       73,153,147,151,233,30,2,158,6,69,125,178,211,230,64,102,
                       139,57,44,42,126,115,122,127,11,240,68,54,209,22,64,253,
                       9,253,114,230,136,46,141,178,138,173,54,35,124,210,93,
                       88,13,178,55,131,150,28,141,197,45,250,46,193,56,173,71,
                       42,15,206,243,136,124,246,43,98,59,42,135,222,92,88,131,
                       1,234,62,95,194,105,179,115,182,7,36,245,232,42,106,209,
                       71,253,231>>,
                     <<35,14,24,225,188,200,138,54,47,165,78,78,163,144,32,9,
                       41,47,127,128,51,98,79,212,113,181,216,172,228,157,18,
                       207,171,188,25,150,61,171,142,47,30,186,0,191,251,41,
                       228,215,45,19,242,34,69,98,244,5,203,128,80,54,102,178,
                       84,41>>,
                     brainpoolP512r1,
                     <<167,146,112,152,101,95,31,153,118,250,80,169,213,102,
                       134,93,197,48,51,24,70,56,28,135,37,107,175,50,38,36,
                       75,118,211,100,3,192,36,215,187,240,170,8,3,234,255,64,
                       93,61,36,241,26,155,92,11,239,103,159,225,69,75,33,196,
                       205,31>>},
               {ecdh,<<4,157,69,246,109,229,214,126,46,109,182,233,58,89,206,
                       11,180,129,6,9,127,247,138,8,29,231,129,205,179,31,206,
                       140,203,170,234,141,212,50,12,65,25,241,233,205,67,122,
                       46,171,55,49,250,150,104,171,38,141,135,29,237,165,90,
                       84,115,25,159,47,220,49,48,149,188,221,95,179,169,22,54,
                       240,122,149,156,142,134,181,99,106,30,147,14,131,150,4,
                       156,180,129,150,29,54,92,193,20,83,160,108,113,152,53,
                       71,91,18,203,82,252,60,56,59,206,53,226,126,241,148,81,
                       43,113,135,98,133,250>>,
                     <<22,48,47,240,219,187,90,141,115,61,171,113,65,193,180,
                       90,203,200,113,89,57,103,127,106,86,133,10,56,189,135,
                       189,89,176,158,128,39,150,9,255,51,62,185,212,192,97,35,
                       31,178,111,146,238,176,73,130,165,241,209,118,76,173,87,
                       102,84,34>>,
                     brainpoolP512r1,
                     <<167,146,112,152,101,95,31,153,118,250,80,169,213,102,
                       134,93,197,48,51,24,70,56,28,135,37,107,175,50,38,36,
                       75,118,211,100,3,192,36,215,187,240,170,8,3,234,255,
                       64,93,61,36,241,26,155,92,11,239,103,159,225,69,75,
                       33,196,205,31>>}]},
     {generate,[{ecdh,secp192r1,1,
                      <<4,24,141,168,14,176,48,144,246,124,191,32,235,67,161,
                        136,0,244,255,10,253,130,255,16,18,7,25,43,149,255,
                        200,218,120,99,16,17,237,107,36,205,213,115,249,119,
                        161,30,121,72,17>>},
                {ecdh,secp192r1,2,
                      <<4,218,254,191,88,40,120,63,42,211,85,52,99,21,136,163,
                        246,41,167,15,177,105,130,168,136,221,107,218,13,153,
                        61,160,250,70,178,123,188,20,27,134,143,89,51,26,250,
                        92,126,147,171>>},
                {ecdh,secp192r1,3,
                      <<4,118,227,42,37,87,89,158,110,220,210,131,32,31,178,
                        185,170,223,208,211,89,203,178,99,218,120,44,55,227,
                        114,186,69,32,170,98,224,254,209,33,212,158,243,181,
                        67,102,12,253,5,253>>},
                {ecdh,secp192r1,4,
                      <<4,53,67,57,7,41,124,195,120,176,1,87,3,55,71,41,215,
                        164,254,70,100,112,132,228,186,162,100,153,132,242,
                        19,92,48,30,163,172,176,119,108,212,241,37,56,155,
                        49,29,179,190,50>>}]},
     {watchdog,<0.339.0>},
     {tc_logfile,"/root/rpmbuild/BUILD/otp-OTP-19.2.3/release/tests/test_server/ct_run.test_server@dorado-vm1.2017-03-01_21.34.20/tests.crypto_test.logs/run.2017-03-01_21.34.22/crypto_suite.compute.html"},
     {tc_group_properties,[{name,ecdh}]},
     {tc_group_path,[]},
     {data_dir,"/root/rpmbuild/BUILD/otp-OTP-19.2.3/release/tests/crypto_test/crypto_SUITE_data/"},
     {priv_dir,"/root/rpmbuild/BUILD/otp-OTP-19.2.3/release/tests/test_server/ct_run.test_server@dorado-vm1.2017-03-01_21.34.20/tests.crypto_test.logs/run.2017-03-01_21.34.22/log_private/"},
     {nodenames,[]}]

=== Current directory is "/root/rpmbuild/BUILD/otp-OTP-19.2.3/release/tests/test_server/ct_run.test_server@dorado-vm1.2017-03-01_21.34.20"

=== Started at 2017-03-01 21:34:27


*** CT Error Notification 2017-03-01 21:34:27.531 ***
crypto:ecdh_compute_key_nif failed
Reason: badarg

Full error description and stacktrace



=== Ended at 2017-03-01 21:34:27
=== Location: [{crypto,ecdh_compute_key_nif},
 {crypto_SUITE,do_compute,532},
 {lists,foreach,1338},
 {test_server,ts_tc,1529},
 {test_server,run_test_case_eval1,1045},
 {test_server,run_test_case_eval,977}]
=== Reason: bad argument
  in function  crypto:ecdh_compute_key_nif/3
     called as crypto:ecdh_compute_key_nif(<<4,66,234,109,217,150,157,210,166,
                                             31,234,26,172,127,142,152,237,204,
                                             137,108,110,85,133,124,192,223,
                                             190,93,124,97,250,200,139,17,129,
                                             27,222,50,142,138,13,18,191,1,169,
                                             210,4,181,35>>,
                                           {{prime_field,
                                             <<"ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþÿÿÿÿÿÿÿÿ">>},
                                            {<<"ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþÿÿÿÿÿÿÿü">>,
                                             <<100,33,5,25,229,156,128,231,15,
                                               167,233,171,114,36,48,73,254,
                                               184,222,236,193,70,185,177>>,
                                             <<48,69,174,111,200,66,47,100,
                                               237,87,149,40,211,129,32,234,
                                               225,33,150,213>>},
                                            <<4,24,141,168,14,176,48,144,246,
                                              124,191,32,235,67,161,136,0,244,
                                              255,10,253,130,255,16,18,7,25,43,
                                              149,255,200,218,120,99,16,17,237,
                                              107,36,205,213,115,249,119,161,
                                              30,121,72,17>>,
                                            <<255,255,255,255,255,255,255,255,
                                              255,255,255,255,153,222,248,54,
                                              20,107,201,177,180,210,40,49>>,
                                            <<1>>},
                                           <<241,125,63,234,54,123,116,211,64,
                                             133,28,164,39,13,203,36,194,113,
                                             244,69,190,217,213,39>>)
  in call from crypto_SUITE:do_compute/1 (crypto_SUITE.erl, line 532)
  in call from lists:foreach/2 (lists.erl, line 1338)
  in call from test_server:ts_tc/3 (test_server.erl, line 1529)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1045)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 977)


Test run history | Top level test index