Home
last modified time | relevance | path

Searched refs:peerChallenge (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2MethodStateMachine.java267 byte[] peerChallenge = new byte[PEER_CHALLENGE_SIZE]; in process()
268 mSecureRandom.nextBytes(peerChallenge); in process()
275 peerChallenge, in process()
287 + " Peer-Challenge=" + LOG.pii(peerChallenge) in process()
294 peerChallenge, in process()
300 challengeRequest.challenge, peerChallenge, ntResponse)); in process()
319 byte[] authenticatorChallenge, byte[] peerChallenge, byte[] ntResponse) { in ValidateAuthenticatorState() argument
321 this.mPeerChallenge = peerChallenge; in ValidateAuthenticatorState()
516 byte[] authenticatorChallenge, byte[] peerChallenge, String username, String password) in generateNtResponse() argument
518 byte[] challenge = challengeHash(peerChallenge, authenticatorChallenge, username); in generateNtResponse()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2TypeData.java157 public final byte[] peerChallenge = new byte[PEER_CHALLENGE_SIZE]; field in EapMsChapV2TypeData.EapMsChapV2ChallengeResponse
163 int msChapV2Id, byte[] peerChallenge, byte[] ntResponse, int flags, byte[] name) in EapMsChapV2ChallengeResponse() argument
170 if (peerChallenge.length != PEER_CHALLENGE_SIZE) { in EapMsChapV2ChallengeResponse()
178 System.arraycopy(peerChallenge, 0, this.peerChallenge, 0, PEER_CHALLENGE_SIZE); in EapMsChapV2ChallengeResponse()
191 buffer.put(peerChallenge); in encode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2ChallengeResponseTest.java49 assertArrayEquals(PEER_CHALLENGE_BYTES, challengeResponse.peerChallenge); in testConstructor()