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.java91 private static final String MAC_ALGORITHM_STRING = "HmacSHA256"; field in EapAkaPrimeMethodStateMachine
162 return MAC_ALGORITHM_STRING; in getMacAlgorithm()
331 Mac mac = Mac.getInstance(MAC_ALGORITHM_STRING); in deriveCkIkPrime()
332 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.java63 … static com.android.internal.net.eap.statemachine.EapSimAkaMethodStateMachine.MAC_ALGORITHM_STRING;
240 Mac macAlgorithm = Mac.getInstance(MAC_ALGORITHM_STRING); in testCreateHmacSha1()
241 macAlgorithm.init(new SecretKeySpec(K_AUT, MAC_ALGORITHM_STRING)); in testCreateHmacSha1()