From 553bd793b91cc6edfa1b978014b886a576d4f11a Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Sun, 27 Feb 2022 20:58:04 +0100 Subject: [PATCH] RP 2040 does not have PIN support (i.e., pin pad support). Thus, we disable it to enable openssl pkcs11 engine interaction. Signed-off-by: Pol Henarejos --- ccid.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ccid.h b/ccid.h index fa6781b..2feade2 100644 --- a/ccid.h +++ b/ccid.h @@ -38,10 +38,13 @@ static const class_desc_ccid_t desc_ccid = { .wLcdLayout = ( 0xFF00| // Number of lines for the LCD display 0x00FF), // Number of characters per line - .bPINSupport = 0x1| // PIN Verification supported + .bPINSupport = 0x0, + /* + 0x1| // PIN Verification supported 0x2| // PIN Modification supported 0x10| // PIN PACE Capabilities supported 0x20, // PIN PACE Verification supported + */ .bMaxCCIDBusySlots = 0x01, };