/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/ |
D | AtMacTest.java | 33 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; 57 AtMac atMac = new AtMac(); in testConstructor() 65 AtMac atMac = new AtMac(MAC_BYTES); in testParameterizedConstructor() 74 AtMac atMac = new AtMac(INVALID_MAC); in testParameterizedConstructorInvalidMac() 86 assertTrue(result instanceof AtMac); in testDecode() 87 AtMac atMac = (AtMac) result; in testDecode() 105 AtMac atMac = new AtMac(MAC_BYTES); in testEncode() 114 AtMac original = new AtMac(RESERVED_BYTES, MAC_BYTES); in testGetAtMacWithMacCleared() 116 AtMac clearedMac = original.getAtMacWithMacCleared(); in testGetAtMacWithMacCleared()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapAkaPrimeChallengeStateTest.java | 58 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; 173 AtMac atMac = new AtMac(MAC_BYTES); in testProcessMissingAtKdf() 195 AtMac atMac = new AtMac(MAC_BYTES); in testProcessMissingAtKdfInput() 216 AtMac atMac = new AtMac(MAC_BYTES); in testProcessUnsupportedKdf() 239 AtMac atMac = new AtMac(MAC_BYTES); in testProcessIncorrectNetworkName() 270 AtMac atMac = new AtMac(MAC_BYTES); in testProcessIncorrectNetworkNameIsIgnored() 325 AtMac atMac = new AtMac(MAC_BYTES); in testGenerateAndPersistEapAkaKeys()
|
D | EapAkaChallengeStateTest.java | 70 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; 172 AtMac atMac = new AtMac(REQUEST_MAC_BYTES); in testProcessMissingAtRand() 192 AtMac atMac = new AtMac(REQUEST_MAC_BYTES); in testProcessMissingAtAutn() 273 AtMac atMac = new AtMac(REQUEST_MAC_BYTES); in testProcessIccAuthenticationNullResponse() 307 AtMac atMac = new AtMac(REQUEST_MAC_BYTES); in testProcessIccAuthenticationInvalidTag() 341 AtMac atMac = new AtMac(REQUEST_MAC_BYTES); in testProcessIccAuthenticationSynchronizeTag() 375 AtMac atMac = new AtMac(REQUEST_MAC_BYTES); in testProcessValidChallenge() 408 AtMac atMac = new AtMac(BIDDING_DOWN_MAC); in testProcessBiddingDownAttack()
|
D | EapSimAkaMethodStateMachineTest.java | 107 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; 330 AtMac atMac = new AtMac(ORIGINAL_MAC); in testGetMac() 341 AtMac postCalculationAtMac = (AtMac) eapSimTypeData.attributeMap.get(EAP_AT_MAC); in testGetMac() 359 AtMac atMac = new AtMac(ORIGINAL_MAC); in testReceivedValidMac() 450 new AtNotification(GENERAL_FAILURE_PRE_CHALLENGE), new AtMac())); in testHandleEapSimNotificationInvalidAtMac() 467 new AtMac(ORIGINAL_MAC))); in testHandleEapSimNotificationPostChallenge() 532 AtMac atMac = in testIsValidMac() 533 new AtMac( in testIsValidMac()
|
D | EapAkaPrimeMethodStateMachineTest.java | 36 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; 71 new EapAkaPrimeTypeData(EAP_AKA_CHALLENGE, Arrays.asList(new AtMac(MAC))); in testIsValidMacUsesHmacSha256()
|
D | EapSimStartStateTest.java | 60 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; 156 mAttributes.put(EAP_AT_MAC, new AtMac()); in testIsValidStartAttributesInvalidAttributes()
|
D | EapSimChallengeStateTest.java | 71 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; 339 Arrays.asList(atRandSim, new AtMac()))); in testProcessUiccAuthenticationNullResponse()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimAkaMethodStateMachine.java | 42 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtMac; 221 AtMac atMac = (AtMac) typeData.attributeMap.get(EAP_AT_MAC); in isValidMac() 245 AtMac originalMac = (AtMac) typeData.attributeMap.get(EAP_AT_MAC); in getMac() 263 return Arrays.copyOfRange(mac, 0, AtMac.MAC_LENGTH); in getMac() 277 attributes.add(new AtMac()); in buildResponseMessageWithMac() 282 eapSimAkaTypeData.attributeMap.put(EAP_AT_MAC, new AtMac(mac)); in buildResponseMessageWithMac() 343 AtMac atMac = (AtMac) eapSimAkaTypeData.attributeMap.get(EAP_AT_MAC); in handleEapSimAkaNotification()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaAttribute.java | 638 public static class AtMac extends EapSimAkaReservedBytesAttribute { class in EapSimAkaAttribute 645 public AtMac(int lengthInBytes, ByteBuffer byteBuffer) in AtMac() method in EapSimAkaAttribute.AtMac 659 public AtMac() throws EapSimAkaInvalidAttributeException { in AtMac() method in EapSimAkaAttribute.AtMac 663 public AtMac(byte[] mac) throws EapSimAkaInvalidAttributeException { in AtMac() method in EapSimAkaAttribute.AtMac 668 public AtMac(byte[] reservedBytes, byte[] mac) throws EapSimAkaInvalidAttributeException { in AtMac() method in EapSimAkaAttribute.AtMac 690 public AtMac getAtMacWithMacCleared() throws EapSimAkaInvalidAttributeException { in getAtMacWithMacCleared() 691 return new AtMac(reservedBytes, new byte[MAC_LENGTH]); in getAtMacWithMacCleared()
|
D | EapSimAkaAttributeFactory.java | 42 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtMac; 92 return new AtMac(lengthInBytes, byteBuffer); in getAttribute()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapAkaPrimeTypeDataTest.java | 41 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; 125 assertArrayEquals(MAC_BYTES, ((AtMac) entry.getValue()).mac); in testDecode() 155 attributes.put(EAP_AT_MAC, new AtMac(MAC_BYTES)); in testEncode()
|
D | EapAkaTypeDataTest.java | 44 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; 103 assertArrayEquals(EAP_AKA_CHALLENGE_RESPONSE_MAC_BYTES, ((AtMac) entry.getValue()).mac); in testDecode() 141 assertArrayEquals(MAC_BYTES, ((AtMac) entry.getValue()).mac); in testDecodeWithOptionalAttributes()
|