Adding verifies.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2023-02-04 01:44:44 +01:00
parent d9ed002af2
commit fda29e0e61
4 changed files with 16 additions and 0 deletions

View File

@@ -27,6 +27,10 @@ from constants_for_test import *
import pytest
class Test_Card_Keygen(object):
def test_verify_pw3_0(self, card):
v = card.verify(3, PW3_TEST0)
assert v
def test_keygen_1(self, card):
PK_Crypto = get_PK_Crypto(card)
pk_info = card.cmd_genkey(1)