From a2db09cfd0a284492304ef1aa7e9d60f20eabaa4 Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine Date: Thu, 1 Jun 2017 11:21:33 +0200 Subject: [PATCH] OpenPGP card v3.3 : adjust default KDF-DO value --- 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 6c99cfb..97022f0 100644 --- a/src/fr/anssi/smartpgp/Constants.java +++ b/src/fr/anssi/smartpgp/Constants.java @@ -35,7 +35,7 @@ public final class Constants { protected static final short KEY_DERIVATION_FUNCTION_MIN_LENGTH = 2; protected static final short KEY_DERIVATION_FUNCTION_MAX_LENGTH = 160; protected static final byte[] KEY_DERIVATION_FUNCTION_DEFAULT = { - (byte)0xF9, (byte)0x00 + (byte)0xF9, (byte)0x03, (byte)0x81, (byte)0x01, (byte)0x00 }; protected static final byte USER_PIN_RETRY_COUNT = 3;