Searched refs:atMac (Results 1 – 5 of 5) sorted by relevance
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/ |
D | AtMacTest.java | 56 AtMac atMac = new AtMac(); in testConstructor() local 57 assertEquals(EAP_AT_MAC, atMac.attributeType); in testConstructor() 58 assertEquals(EXPECTED_LENGTH, atMac.lengthInBytes); in testConstructor() 59 assertArrayEquals(new byte[MAC_LENGTH], atMac.mac); in testConstructor() 64 AtMac atMac = new AtMac(MAC_BYTES); in testParameterizedConstructor() local 65 assertEquals(EAP_AT_MAC, atMac.attributeType); in testParameterizedConstructor() 66 assertEquals(EXPECTED_LENGTH, atMac.lengthInBytes); in testParameterizedConstructor() 67 assertArrayEquals(MAC_BYTES, atMac.mac); in testParameterizedConstructor() 73 AtMac atMac = new AtMac(INVALID_MAC); in testParameterizedConstructorInvalidMac() local 86 AtMac atMac = (AtMac) result; in testDecode() local [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapAkaChallengeStateTest.java | 170 AtMac atMac = new AtMac(REQUEST_MAC_BYTES); in testProcessMissingAtRand() local 174 new EapAkaTypeData(EAP_AKA_CHALLENGE, Arrays.asList(atAutn, atMac))); in testProcessMissingAtRand() 190 AtMac atMac = new AtMac(REQUEST_MAC_BYTES); in testProcessMissingAtAutn() local 194 new EapAkaTypeData(EAP_AKA_CHALLENGE, Arrays.asList(atRandAka, atMac))); in testProcessMissingAtAutn() 271 AtMac atMac = new AtMac(REQUEST_MAC_BYTES); in testProcessIccAuthenticationNullResponse() local 277 Arrays.asList(atRandAka, atAutn, atMac))); in testProcessIccAuthenticationNullResponse() 305 AtMac atMac = new AtMac(REQUEST_MAC_BYTES); in testProcessIccAuthenticationInvalidTag() local 311 Arrays.asList(atRandAka, atAutn, atMac))); in testProcessIccAuthenticationInvalidTag() 339 AtMac atMac = new AtMac(REQUEST_MAC_BYTES); in testProcessIccAuthenticationSynchronizeTag() local 345 Arrays.asList(atRandAka, atAutn, atMac))); in testProcessIccAuthenticationSynchronizeTag() [all …]
|
D | EapAkaPrimeChallengeStateTest.java | 172 AtMac atMac = new AtMac(MAC_BYTES); in testProcessMissingAtKdf() local 179 Arrays.asList(atRandAka, atAutn, atMac, atKdfInput))); in testProcessMissingAtKdf() 194 AtMac atMac = new AtMac(MAC_BYTES); in testProcessMissingAtKdfInput() local 200 EAP_AKA_CHALLENGE, Arrays.asList(atRandAka, atAutn, atMac, atKdf))); in testProcessMissingAtKdfInput() 215 AtMac atMac = new AtMac(MAC_BYTES); in testProcessUnsupportedKdf() local 223 Arrays.asList(atRandAka, atAutn, atMac, atKdfInput, atKdf))); in testProcessUnsupportedKdf() 238 AtMac atMac = new AtMac(MAC_BYTES); in testProcessIncorrectNetworkName() local 246 Arrays.asList(atRandAka, atAutn, atMac, atKdfInput, atKdf))); in testProcessIncorrectNetworkName() 269 AtMac atMac = new AtMac(MAC_BYTES); in testProcessIncorrectNetworkNameIsIgnored() local 276 Arrays.asList(atRandAka, atAutn, atMac, atKdfInput, atKdf)); in testProcessIncorrectNetworkNameIsIgnored() [all …]
|
D | EapSimAkaMethodStateMachineTest.java | 296 AtMac atMac = new AtMac(ORIGINAL_MAC); in testGetMac() local 299 new EapSimTypeData(EAP_SIM_CHALLENGE, Arrays.asList(atRandSim, atMac)); in testGetMac() 325 AtMac atMac = new AtMac(ORIGINAL_MAC); in testReceivedValidMac() local 328 new EapSimTypeData(EAP_SIM_CHALLENGE, Arrays.asList(atRandSim, atMac)); in testReceivedValidMac()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimAkaMethodStateMachine.java | 223 AtMac atMac = (AtMac) typeData.attributeMap.get(EAP_AT_MAC); in isValidMac() local 225 boolean isValidMac = Arrays.equals(mac, atMac.mac); in isValidMac() 231 + " received=" + Log.byteArrayToHexString(atMac.mac) in isValidMac() 345 AtMac atMac = (AtMac) eapSimAkaTypeData.attributeMap.get(EAP_AT_MAC); in handleEapSimAkaNotification() local 346 if (!Arrays.equals(mac, atMac.mac)) { in handleEapSimAkaNotification()
|