OpenPGP card v3.3 : adjust default KDF-DO value

This commit is contained in:
Arnaud Fontaine 2017-06-01 11:21:33 +02:00
parent 706bfb182b
commit a2db09cfd0

View File

@ -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_MIN_LENGTH = 2;
protected static final short KEY_DERIVATION_FUNCTION_MAX_LENGTH = 160; protected static final short KEY_DERIVATION_FUNCTION_MAX_LENGTH = 160;
protected static final byte[] KEY_DERIVATION_FUNCTION_DEFAULT = { 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; protected static final byte USER_PIN_RETRY_COUNT = 3;