Home
last modified time | relevance | path

Searched refs:VALUE_SIZE (Results 1 – 2 of 2) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2TypeData.java105 public static final int VALUE_SIZE = 16; field in EapMsChapV2TypeData.EapMsChapV2ChallengeRequest
108 public final byte[] challenge = new byte[VALUE_SIZE];
118 if (valueSize != VALUE_SIZE) { in EapMsChapV2ChallengeRequest()
123 int nameLenBytes = msLength - VALUE_SIZE - TYPE_DATA_HEADER_SIZE; in EapMsChapV2ChallengeRequest()
138 if (challenge.length != VALUE_SIZE) { in EapMsChapV2ChallengeRequest()
142 System.arraycopy(challenge, 0, this.challenge, 0, VALUE_SIZE); in EapMsChapV2ChallengeRequest()
151 public static final int VALUE_SIZE = 49; field in EapMsChapV2TypeData.EapMsChapV2ChallengeResponse
168 TYPE_DATA_HEADER_SIZE + VALUE_SIZE + name.length); in EapMsChapV2ChallengeResponse()
190 buffer.put((byte) VALUE_SIZE); in encode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2ChallengeStateTest.java29 ….internal.net.eap.test.message.mschapv2.EapMsChapV2TypeData.EapMsChapV2ChallengeRequest.VALUE_SIZE;
70 TYPE_DATA_HEADER_SIZE + VALUE_SIZE + SERVER_NAME_BYTES.length, in testProcessChallenge()