/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaAttributeFactory.java | 19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ; 20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_CLIENT_ERROR_CO… 21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER; 22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER_TOO_SMA… 23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_ID_REQ; 24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IDENTITY; 25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC; 26 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NONCE_S; 27 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NOTIFICATION; 28 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_PADDING; [all …]
|
D | EapAkaAttributeFactory.java | 19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN; 20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTS; 21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_BIDDING; 22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND; 23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RES; 24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.LENGTH_SCALING; 28 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtAutn; 29 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtAuts; 30 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtBidding; 31 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRandAka; [all …]
|
D | EapSimAkaTypeData.java | 20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_ATTRIBUTE_STRING; 28 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode; 29 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EapSimAkaUnsupportedAttribute; 51 public final LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap; 54 int eapSubType, LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap) { in EapSimAkaTypeData() 60 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap, in EapSimAkaTypeData() 75 for (EapSimAkaAttribute attribute : attributeMap.values()) { in encode() 85 for (EapSimAkaAttribute attribute : attributeMap.values()) { in encode() 136 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap = new LinkedHashMap<>(); in decode() 138 EapSimAkaAttribute attribute = mAttributeFactory.getAttribute(byteBuffer); in decode() [all …]
|
D | EapSimAttributeFactory.java | 19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NONCE_MT; 20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND; 21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_SELECTED_VERSIO… 22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_VERSION_LIST; 23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.LENGTH_SCALING; 27 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtNonceMt; 28 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRandSim; 29 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtSelectedVersion; 30 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtVersionList; 65 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) throws in getAttribute()
|
D | EapAkaPrimeAttributeFactory.java | 19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_KDF; 20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_KDF_INPUT; 21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.LENGTH_SCALING; 25 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdf; 26 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdfInput; 61 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) in getAttribute()
|
D | EapSimAkaAttribute.java | 44 public abstract class EapSimAkaAttribute { class 119 protected EapSimAkaAttribute(int attributeType, int lengthInBytes) in EapSimAkaAttribute() method in EapSimAkaAttribute 148 protected abstract static class EapSimAkaReservedBytesAttribute extends EapSimAkaAttribute { 212 public static class EapSimAkaUnsupportedAttribute extends EapSimAkaAttribute { 247 public static class AtVersionList extends EapSimAkaAttribute { 298 public static class AtSelectedVersion extends EapSimAkaAttribute { 451 public static class AtIdentity extends EapSimAkaAttribute { 606 public static class AtPadding extends EapSimAkaAttribute { 698 public static class AtCounter extends EapSimAkaAttribute { 732 public static class AtCounterTooSmall extends EapSimAkaAttribute { [all …]
|
D | EapAkaPrimeTypeData.java | 23 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode; 37 EapAkaPrimeTypeData(int eapSubType, LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap) { in EapAkaPrimeTypeData() 43 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap, in EapAkaPrimeTypeData() 54 public EapAkaPrimeTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in EapAkaPrimeTypeData() 98 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap, in getInstance()
|
D | EapSimTypeData.java | 66 public EapSimTypeData(int eapSubType, LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap) { in EapSimTypeData() 72 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap, in EapSimTypeData() 77 public EapSimTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in EapSimTypeData() 84 for (EapSimAkaAttribute attribute : attributes) { in EapSimTypeData() 128 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap, in getInstance()
|
D | EapAkaTypeData.java | 72 public EapAkaTypeData(int eapSubType, LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap) { in EapAkaTypeData() 78 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap, in EapAkaTypeData() 89 public EapAkaTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in EapAkaTypeData() 96 for (EapSimAkaAttribute attribute : attributes) { in EapAkaTypeData() 140 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap, in getInstance()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapAkaTypeDataTest.java | 26 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ; 27 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN; 28 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_CHECKCODE; 29 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_MAC; 30 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_RAND; 31 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_RES; 42 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtAnyIdReq; 43 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtAutn; 44 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; 45 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtRandAka; [all …]
|
D | EapAkaPrimeTypeDataTest.java | 21 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN; 22 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_KDF; 23 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_KDF_INPUT; 24 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_MAC; 25 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_RAND; 37 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtAutn; 38 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtClientErrorCode; 39 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtKdf; 40 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtKdfInput; 41 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; [all …]
|
D | EapSimTypeDataTest.java | 26 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_… 27 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_VERSION_LI… 37 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtPermanentIdReq; 38 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtVersionList; 72 List<EapSimAkaAttribute> attributes = Arrays.asList( in testConstructor() 79 Iterator<Entry<Integer, EapSimAkaAttribute>> itr = in testConstructor() 81 Entry<Integer, EapSimAkaAttribute> pair = itr.next(); in testConstructor() 158 LinkedHashMap<Integer, EapSimAkaAttribute> attributes = new LinkedHashMap<>(); in testEncode()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/ |
D | AtIdReqTest.java | 19 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ; 20 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_I… 21 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_… 36 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute; 37 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtAnyIdReq; 38 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtFullauthIdReq; 39 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtPermanentIdReq; 60 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtPermanentIdReq() 91 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtAnyIdReq() 122 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtFullauthIdReq()
|
D | AtCounterTest.java | 19 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER; 20 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER_TO… 34 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute; 35 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtCounter; 36 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtCounterTooSmall; 57 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtCounter() 96 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtCounterTooSmall()
|
D | AtKdfInputTest.java | 19 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_KDF_INPUT; 29 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute; 30 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtKdfInput; 48 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecode() 60 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeEmptyNetworkName()
|
D | AtIdentityTest.java | 19 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_IDENTITY; 28 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute; 29 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtIdentity; 49 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecode() 78 EapSimAkaAttribute eapSimAkaAttribute = in testGetAtIdentity()
|
D | AtBiddingTest.java | 19 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_BIDDING; 32 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute; 33 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtBidding; 51 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeServerSupportsAkaPrime() 63 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeDoesNotSupportAkaPrime()
|
D | AtNotificationTest.java | 20 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtNotification.GE… 21 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_NOTIFICATI… 36 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute; 37 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtNotification; 59 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecode()
|
D | AtPaddingTest.java | 19 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_PADDING; 30 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute; 31 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtPadding; 52 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecode()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimMethodStateMachine.java | 23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ; 24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ENCR_DATA; 25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_ID_REQ; 26 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IV; 27 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC; 28 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_ID_RE… 29 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND; 30 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_VERSION_LIST; 54 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute; 55 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode; [all …]
|
D | EapAkaMethodStateMachine.java | 29 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ; 30 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN; 31 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_BIDDING; 32 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ENCR_DATA; 33 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_ID_REQ; 34 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IV; 35 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC; 36 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_ID_RE… 37 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND; 60 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute; [all …]
|
D | EapAkaPrimeMethodStateMachine.java | 23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN; 24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_KDF; 25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_KDF_INPUT; 40 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute; 41 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtAutn; 42 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode; 43 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdf; 44 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdfInput; 190 Map<Integer, EapSimAkaAttribute> attrs = eapAkaPrimeTypeData.attributeMap; in isValidChallengeAttributes() 342 EapAkaPrimeTypeData getEapSimAkaTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in getEapSimAkaTypeData()
|
D | EapSimAkaMethodStateMachine.java | 22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC; 23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NOTIFICATION; 40 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute; 41 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode; 42 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtMac; 43 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtNotification; 157 List<EapSimAkaAttribute> attributes) { in buildResponseMessage() 274 int identifier, int eapSubtype, byte[] extraData, List<EapSimAkaAttribute> attributes) { in buildResponseMessageWithMac() 360 int eapSubtype, List<EapSimAkaAttribute> attributes); in getEapSimAkaTypeData()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimStartStateTest.java | 29 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ; 30 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_ENCR_DATA; 31 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_IV; 32 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_MAC; 33 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_… 34 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_VERSION_LI… 57 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute; 58 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtAnyIdReq; 59 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtIdentity; 60 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtMac; [all …]
|
D | EapSimAkaMethodStateMachineTest.java | 53 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtNotification.GE… 54 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtNotification.GE… 55 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_CHECKCODE; 56 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_ENCR_DATA; 57 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_IV; 58 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_MAC; 103 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute; 104 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtAutn; 105 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtClientErrorCode; 106 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtIdentity; [all …]
|