Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DMacTest.java217 Mac mac = Mac.getInstance(algorithm); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider() local
218 mac.init(key); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()
219 assertSame(provider, mac.getProvider()); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()
234 Mac mac = Mac.getInstance(algorithm, provider); in testMacGeneratedForEmptyMessage() local
235 mac.init(key); in testMacGeneratedForEmptyMessage()
236 byte[] macBytes = mac.doFinal(); in testMacGeneratedForEmptyMessage()
255 Mac mac = Mac.getInstance(algorithm, provider); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() local
256 mac.init(key); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()
258 byte[] macBytes = mac.doFinal(message); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()
277 Mac mac = Mac.getInstance(algorithm, provider); in testMacGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() local
[all …]
DAndroidKeyStoreTest.java2381 Mac mac = Mac.getInstance(key1.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_HMAC() local
2382 mac.init(keystoreKey1); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
2386 mac.doFinal(message)); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
2388 mac = Mac.getInstance(key2.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
2389 mac.init(keystoreKey2); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
2393 mac.doFinal(message)); in testKeyStore_LargeNumberOfKeysSupported_HMAC()
/cts/tests/tests/database/src/android/database/cts/
DAbstractCursor_SelfContentObserverTest.java24 MockAbstractCursor mac = new MockAbstractCursor(); in testConstructor() local
25 mac.getMockSelfContentObserver(); in testConstructor()
29 MockAbstractCursor mac = new MockAbstractCursor(); in testDeliverSelfNotifications() local
30 MockAbstractCursor.MockSelfContentObserver msc = mac.getMockSelfContentObserver(); in testDeliverSelfNotifications()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerService.java167 String mac = result.getDevice().getAddress(); in onScanResult() local
186 } else if (!mOldMac.equals(mac)) { in onScanResult()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex97657 org.bouncycastle.crypto.Mac mac
98233 protected org.bouncycastle.crypto.Mac mac
98256 protected org.bouncycastle.crypto.Mac mac
98286 private byte[] mac
98332 private byte[] mac
98389 private byte[] mac
98511 private byte[] mac