mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 05:43:23 -07:00
Add ROCA vulnerability test (RRG repository PR 76 by @merlokk) (#762)
This commit is contained in:
parent
d3c606574f
commit
1511ea28a8
8 changed files with 491 additions and 49 deletions
|
@ -31,6 +31,7 @@
|
|||
#include "dda_test.h"
|
||||
#include "cda_test.h"
|
||||
#include "crypto/libpcrypto.h"
|
||||
#include "emv/emv_roca.h"
|
||||
|
||||
int ExecuteCryptoTests(bool verbose) {
|
||||
int res;
|
||||
|
@ -90,6 +91,9 @@ int ExecuteCryptoTests(bool verbose) {
|
|||
res = exec_crypto_test(verbose);
|
||||
if (res) TestFail = true;
|
||||
|
||||
res = roca_self_test(verbose);
|
||||
if (res) TestFail = true;
|
||||
|
||||
PrintAndLog("\n--------------------------");
|
||||
if (TestFail)
|
||||
PrintAndLog("Test(s) [ERROR].");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue