Home
last modified time | relevance | path

Searched refs:challengeResponse (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2ChallengeResponseTest.java43 EapMsChapV2ChallengeResponse challengeResponse = in testConstructor() local
46 assertEquals(EAP_MSCHAP_V2_RESPONSE, challengeResponse.opCode); in testConstructor()
47 assertEquals(ID_INT, challengeResponse.msChapV2Id); in testConstructor()
48 assertEquals(EAP_MSCHAP_V2_CHALLENGE_RESPONSE.length, challengeResponse.msLength); in testConstructor()
49 assertArrayEquals(PEER_CHALLENGE_BYTES, challengeResponse.peerChallenge); in testConstructor()
50 assertArrayEquals(NT_RESPONSE_BYTES, challengeResponse.ntResponse); in testConstructor()
51 assertEquals(FLAGS, challengeResponse.flags); in testConstructor()
52 assertArrayEquals(PEER_NAME_BYTES, challengeResponse.name); in testConstructor()
58 EapMsChapV2ChallengeResponse challengeResponse = in testConstructorInvalidChallenge() local
73 EapMsChapV2ChallengeResponse challengeResponse = in testConstructorInvalidNtResponse() local
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/
DRequestFactory.java92 public JSONArray createGetImsiPseudonymRequest(String akaToken, String challengeResponse) in createGetImsiPseudonymRequest() argument
96 requests.put(makeAuthenticationRequest(akaToken, challengeResponse)); in createGetImsiPseudonymRequest()
125 private JSONObject makeAuthenticationRequest(String akaToken, String challengeResponse) in makeAuthenticationRequest() argument
142 if (!TextUtils.isEmpty(challengeResponse)) { in makeAuthenticationRequest()
143 request.put(JSON_KEY_AKA_CHALLENGE_RSP, challengeResponse); in makeAuthenticationRequest()
DCarrierSpecificServiceEntitlement.java239 ChallengeResponse challengeResponse = new ChallengeResponse(httpResponse.body()); in getAuthenticationChallenge() local
240 int authResponseCode = challengeResponse.getAuthResponseCode(); in getAuthenticationChallenge()
262 return challengeResponse.getEapAkaChallenge(); in getAuthenticationChallenge()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2MethodStateMachineTest.java123 byte[] challengeResponse = in testChallengeResponse()
124 EapMsChapV2MethodStateMachine.challengeResponse( in testChallengeResponse()
126 assertArrayEquals(MSCHAP_V2_NT_RESPONSE, challengeResponse); in testChallengeResponse()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2MethodStateMachine.java291 EapMsChapV2ChallengeResponse challengeResponse = in process() local
302 return buildEapMessageResponse(mTAG, message.eapIdentifier, challengeResponse); in process()
520 return challengeResponse(challenge, passwordHash); in generateNtResponse()
560 static byte[] challengeResponse(byte[] challenge, byte[] passwordHash) in challengeResponse() method in EapMsChapV2MethodStateMachine
DEapSimMethodStateMachine.java527 RandChallengeResult getRandChallengeResultFromResponse(byte[] challengeResponse) in getRandChallengeResultFromResponse() argument
529 ByteBuffer buffer = ByteBuffer.wrap(challengeResponse); in getRandChallengeResultFromResponse()
DEapAkaMethodStateMachine.java610 byte[] challengeResponse = in getRandChallengeResult()
615 ByteBuffer buffer = ByteBuffer.wrap(challengeResponse); in getRandChallengeResult()