CHG: 'emv roca' - added selftest and textual layouts'

DEL: removed unused old emv files
This commit is contained in:
Chris 2019-01-01 10:53:41 +01:00
commit 75d0b0b06f
6 changed files with 22 additions and 422 deletions

View file

@ -91,14 +91,15 @@ int ExecuteCryptoTests(bool verbose) {
res = exec_crypto_test(verbose);
if (res) TestFail = true;
res = roca_self_test(verbose);
res = roca_self_test();
if (res) TestFail = true;
PrintAndLog("\n--------------------------");
if (TestFail)
PrintAndLog("Test(s) [ERROR].");
PrintAndLogEx(FAILED, "\tTest(s) [ %s ]", _RED_(FAIL) );
else
PrintAndLog("Tests [OK].");
PrintAndLogEx(SUCCESS, "\tTest(s) [ %s ]", _GREEN_(OK) );
return TestFail;
}