Home
last modified time | relevance | path

Searched refs:atAutn (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapAkaPrimeChallengeStateTest.java172 AtAutn atAutn = new AtAutn(AUTN_BYTES); in testProcessMissingAtKdf() local
180 Arrays.asList(atRandAka, atAutn, atMac, atKdfInput))); in testProcessMissingAtKdf()
194 AtAutn atAutn = new AtAutn(AUTN_BYTES); in testProcessMissingAtKdfInput() local
201 EAP_AKA_CHALLENGE, Arrays.asList(atRandAka, atAutn, atMac, atKdf))); in testProcessMissingAtKdfInput()
215 AtAutn atAutn = new AtAutn(AUTN_BYTES); in testProcessUnsupportedKdf() local
224 Arrays.asList(atRandAka, atAutn, atMac, atKdfInput, atKdf))); in testProcessUnsupportedKdf()
238 AtAutn atAutn = new AtAutn(AUTN_BYTES); in testProcessIncorrectNetworkName() local
247 Arrays.asList(atRandAka, atAutn, atMac, atKdfInput, atKdf))); in testProcessIncorrectNetworkName()
269 AtAutn atAutn = new AtAutn(AUTN_BYTES); in testProcessIncorrectNetworkNameIsIgnored() local
277 Arrays.asList(atRandAka, atAutn, atMac, atKdfInput, atKdf)); in testProcessIncorrectNetworkNameIsIgnored()
[all …]
DEapAkaChallengeStateTest.java171 AtAutn atAutn = new AtAutn(AUTN_BYTES); in testProcessMissingAtRand() local
176 new EapAkaTypeData(EAP_AKA_CHALLENGE, Arrays.asList(atAutn, atMac))); in testProcessMissingAtRand()
212 AtAutn atAutn = new AtAutn(AUTN_BYTES); in testProcessMissingAtMac() local
216 new EapAkaTypeData(EAP_AKA_CHALLENGE, Arrays.asList(atRandAka, atAutn))); in testProcessMissingAtMac()
272 AtAutn atAutn = new AtAutn(AUTN_BYTES); in testProcessIccAuthenticationNullResponse() local
279 Arrays.asList(atRandAka, atAutn, atMac))); in testProcessIccAuthenticationNullResponse()
306 AtAutn atAutn = new AtAutn(AUTN_BYTES); in testProcessIccAuthenticationInvalidTag() local
313 Arrays.asList(atRandAka, atAutn, atMac))); in testProcessIccAuthenticationInvalidTag()
340 AtAutn atAutn = new AtAutn(AUTN_BYTES); in testProcessIccAuthenticationSynchronizeTag() local
347 Arrays.asList(atRandAka, atAutn, atMac))); in testProcessIccAuthenticationSynchronizeTag()
[all …]
DEapSimAkaMethodStateMachineTest.java520 AtAutn atAutn = new AtAutn(hexStringToByteArray(AUTN)); in testIsValidMac() local
539 Arrays.asList(atRand, atAutn, atCheckcode, atIv, atEncrData, atMac)); in testIsValidMac()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtAutnTest.java53 AtAutn atAutn = (AtAutn) result; in testDecode() local
54 assertEquals(EAP_AT_AUTN, atAutn.attributeType); in testDecode()
55 assertEquals(AT_AUTN.length, atAutn.lengthInBytes); in testDecode()
56 assertArrayEquals(AUTN_BYTES, atAutn.autn); in testDecode()
71 AtAutn atAutn = new AtAutn(AUTN_BYTES); in testEncode() local
74 atAutn.encode(result); in testEncode()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapAkaPrimeMethodStateMachine.java257 AtAutn atAutn = (AtAutn) eapAkaTypeData.attributeMap.get(EAP_AT_AUTN); in generateAndPersistEapAkaKeys() local
260 byte[] ckIkPrime = deriveCkIkPrime(result, atKdfInput, atAutn); in generateAndPersistEapAkaKeys()
308 RandChallengeResult randChallengeResult, AtKdfInput atKdfInput, AtAutn atAutn) in deriveCkIkPrime() argument
314 byte[] sqnXorAk = Arrays.copyOf(atAutn.autn, SQN_XOR_AK_LEN); in deriveCkIkPrime()
DEapAkaMethodStateMachine.java504 AtAutn atAutn = (AtAutn) eapAkaTypeData.attributeMap.get(EAP_AT_AUTN); in getRandChallengeResult() local
508 int autnLen = atAutn.autn.length; in getRandChallengeResult()
513 formattedChallenge.put(atAutn.autn); in getRandChallengeResult()
538 + " AUTN=" + LOG.pii(atAutn.autn) in getRandChallengeResult()
557 LOG.d(mTAG, "AUTN=" + LOG.pii(atAutn.autn)); in getRandChallengeResult()