From c60c4d7c320a19c9c64144e6a10cf99f35f7879a Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine Date: Thu, 8 Feb 2018 19:13:25 +0100 Subject: [PATCH] Fix incorrect KDF DO --- src/fr/anssi/smartpgp/Constants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/anssi/smartpgp/Constants.java b/src/fr/anssi/smartpgp/Constants.java index 63e536a..00bc76c 100644 --- a/src/fr/anssi/smartpgp/Constants.java +++ b/src/fr/anssi/smartpgp/Constants.java @@ -33,7 +33,7 @@ public final class Constants { protected static final short APDU_MAX_LENGTH = (short)256; protected static final byte[] KEY_DERIVATION_FUNCTION_DEFAULT = { - (byte)0xF9, (byte)0x03, (byte)0x81, (byte)0x01, (byte)0x00 + (byte)0x81, (byte)0x01, (byte)0x00 }; protected static final byte USER_PIN_RETRY_COUNT = 3;