mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
added tests
This commit is contained in:
parent
7401d51ebf
commit
376ead028a
1 changed files with 4 additions and 0 deletions
|
@ -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].");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue