Home
last modified time | relevance | path

Searched refs:isValidMac (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachine.java213 boolean isValidMac(String tag, EapMessage message, EapSimAkaTypeData typeData, byte[] extraData) in isValidMac() method in EapSimAkaMethodStateMachine
225 boolean isValidMac = Arrays.equals(mac, atMac.mac); in isValidMac()
226 if (!isValidMac) { in isValidMac()
235 return isValidMac; in isValidMac()
DEapSimMethodStateMachine.java444 if (!isValidMac(mTAG, message, eapSimTypeData, mNonce)) { in process()
DEapAkaMethodStateMachine.java411 if (!isValidMac(mTAG, message, eapAkaTypeData, new byte[0])) { in handleChallengeAuthentication()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapAkaPrimeMethodStateMachineTest.java72 assertTrue(mStateMachine.isValidMac(TAG, eapMessage, eapAkaPrimeTypeData, new byte[0])); in testIsValidMacUsesHmacSha256()
DEapSimAkaMethodStateMachineTest.java336 assertTrue(mStateMachine.isValidMac(TAG, message, eapSimTypeData, NONCE_MT)); in testReceivedValidMac()
342 assertFalse(mStateMachine.isValidMac(TAG, message, eapSimTypeData, NONCE_MT)); in testReceivedValidMac()