Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtKdfInputTest.java30 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtKdfInput;
51 AtKdfInput atKdfInput = (AtKdfInput) result; in testDecode()
63 AtKdfInput atKdfInput = (AtKdfInput) result; in testDecodeEmptyNetworkName()
71 AtKdfInput atKdfInput = new AtKdfInput(AT_KDF_INPUT.length, NETWORK_NAME_BYTES); in testEncode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapAkaPrimeChallengeStateTest.java57 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtKdfInput;
174 AtKdfInput atKdfInput = new AtKdfInput(0, SERVER_NETWORK_NAME); in testProcessMissingAtKdf()
217 AtKdfInput atKdfInput = new AtKdfInput(0, SERVER_NETWORK_NAME); in testProcessUnsupportedKdf()
240 AtKdfInput atKdfInput = new AtKdfInput(0, INCORRECT_SERVER_NETWORK_NAME); in testProcessIncorrectNetworkName()
271 AtKdfInput atKdfInput = new AtKdfInput(0, INCORRECT_SERVER_NETWORK_NAME); in testProcessIncorrectNetworkNameIsIgnored()
304 AtKdfInput atKdfInput = in testDeriveCkIkPrime()
305 new AtKdfInput(0, PEER_NETWORK_NAME.getBytes(StandardCharsets.UTF_8)); in testDeriveCkIkPrime()
326 AtKdfInput atKdfInput = in testGenerateAndPersistEapAkaKeys()
327 new AtKdfInput(0, PEER_NETWORK_NAME.getBytes(StandardCharsets.UTF_8)); in testGenerateAndPersistEapAkaKeys()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapAkaPrimeMethodStateMachine.java44 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdfInput;
203 AtKdfInput atKdfInput = (AtKdfInput) attrs.get(EAP_AT_KDF_INPUT); in isValidChallengeAttributes()
255 AtKdfInput atKdfInput = in generateAndPersistEapAkaKeys()
256 (AtKdfInput) eapAkaTypeData.attributeMap.get(EAP_AT_KDF_INPUT); in generateAndPersistEapAkaKeys()
308 RandChallengeResult randChallengeResult, AtKdfInput atKdfInput, AtAutn atAutn) in deriveCkIkPrime()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapAkaPrimeAttributeFactory.java26 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdfInput;
70 return new AtKdfInput(lengthInBytes, byteBuffer); in getAttribute()
DEapSimAkaAttribute.java1097 public static class AtKdfInput extends EapSimAkaAttribute { class in EapSimAkaAttribute
1100 public AtKdfInput(int lengthInBytes, ByteBuffer byteBuffer) in AtKdfInput() method in EapSimAkaAttribute.AtKdfInput
1113 public AtKdfInput(int lengthInbytes, byte[] networkName) in AtKdfInput() method in EapSimAkaAttribute.AtKdfInput
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
DEapAkaPrimeTypeDataTest.java40 import com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.AtKdfInput;
117 assertArrayEquals(NETWORK_NAME_BYTES, ((AtKdfInput) entry.getValue()).networkName); in testDecode()
153 attributes.put(EAP_AT_KDF_INPUT, new AtKdfInput(AT_KDF_INPUT.length, NETWORK_NAME_BYTES)); in testEncode()