Home
last modified time | relevance | path

Searched refs:EapSimAkaAttribute (Results 1 – 25 of 55) sorted by relevance

123

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttributeFactory.java19 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 …]
DEapAkaAttributeFactory.java19 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 …]
DEapSimAkaTypeData.java20 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 …]
DEapSimAttributeFactory.java19 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()
DEapAkaPrimeAttributeFactory.java19 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()
DEapSimAkaAttribute.java44 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 …]
DEapAkaPrimeTypeData.java23 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()
DEapSimTypeData.java66 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()
DEapAkaTypeData.java72 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/
DEapAkaTypeDataTest.java26 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 …]
DEapAkaPrimeTypeDataTest.java21 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 …]
DEapSimTypeDataTest.java26 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/
DAtIdReqTest.java19 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()
DAtCounterTest.java19 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()
DAtKdfInputTest.java19 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()
DAtIdentityTest.java19 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()
DAtBiddingTest.java19 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()
DAtNotificationTest.java20 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()
DAtPaddingTest.java19 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/
DEapSimMethodStateMachine.java23 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 …]
DEapAkaMethodStateMachine.java29 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 …]
DEapAkaPrimeMethodStateMachine.java23 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()
DEapSimAkaMethodStateMachine.java22 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/
DEapSimStartStateTest.java29 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 …]
DEapSimAkaMethodStateMachineTest.java53 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 …]

123