added tests
This commit is contained in:
@@ -31,6 +31,7 @@
|
|||||||
#include "dda_test.h"
|
#include "dda_test.h"
|
||||||
#include "cda_test.h"
|
#include "cda_test.h"
|
||||||
#include "crypto/libpcrypto.h"
|
#include "crypto/libpcrypto.h"
|
||||||
|
#include "emv/emv_roca.h"
|
||||||
|
|
||||||
int ExecuteCryptoTests(bool verbose) {
|
int ExecuteCryptoTests(bool verbose) {
|
||||||
int res;
|
int res;
|
||||||
@@ -90,6 +91,9 @@ int ExecuteCryptoTests(bool verbose) {
|
|||||||
res = exec_crypto_test(verbose);
|
res = exec_crypto_test(verbose);
|
||||||
if (res) TestFail = true;
|
if (res) TestFail = true;
|
||||||
|
|
||||||
|
res = roca_self_test(verbose);
|
||||||
|
if (res) TestFail = true;
|
||||||
|
|
||||||
PrintAndLog("\n--------------------------");
|
PrintAndLog("\n--------------------------");
|
||||||
if (TestFail)
|
if (TestFail)
|
||||||
PrintAndLog("Test(s) [ERROR].");
|
PrintAndLog("Test(s) [ERROR].");
|
||||||
|
|||||||
Reference in New Issue
Block a user