Home
last modified time | relevance | path

Searched refs:MAC_ALGORITHM_STRING (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/
DHmacSha256ByteSigner.java34 private static final String MAC_ALGORITHM_STRING = "HmacSHA256"; field in HmacSha256ByteSigner
49 Mac mac = Mac.getInstance(MAC_ALGORITHM_STRING); in signBytes()
50 mac.init(new SecretKeySpec(keyBytes, MAC_ALGORITHM_STRING)); in signBytes()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapAkaPrimeMethodStateMachine.java92 private static final String MAC_ALGORITHM_STRING = "HmacSHA256"; field in EapAkaPrimeMethodStateMachine
163 return MAC_ALGORITHM_STRING; in getMacAlgorithm()
332 Mac mac = Mac.getInstance(MAC_ALGORITHM_STRING); in deriveCkIkPrime()
333 mac.init(new SecretKeySpec(key.array(), MAC_ALGORITHM_STRING)); in deriveCkIkPrime()
DEapSimAkaMethodStateMachine.java68 public static final String MAC_ALGORITHM_STRING = "HmacSHA1"; field in EapSimAkaMethodStateMachine
131 return MAC_ALGORITHM_STRING; in getMacAlgorithm()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachineTest.java70 …ic com.android.internal.net.eap.test.statemachine.EapSimAkaMethodStateMachine.MAC_ALGORITHM_STRING;
274 Mac macAlgorithm = Mac.getInstance(MAC_ALGORITHM_STRING); in testCreateHmacSha1()
275 macAlgorithm.init(new SecretKeySpec(K_AUT, MAC_ALGORITHM_STRING)); in testCreateHmacSha1()