Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DUtils.java81 SecretKey secretKey = (SecretKey) keyStore.getKey(keyName, null); in initCipher() local
86 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in initCipher()
93 SecretKey secretKey = (SecretKey) keyStore.getKey(keyName, null); in initAeadCipher() local
98 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in initAeadCipher()
122 SecretKey secretKey = (SecretKey) keyStore.getKey(keyName, null); in initMac() local
125 mac.init(secretKey); in initMac()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DLskfBoundKeysTest.java146 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in tryEncrypt() local
153 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in tryEncrypt()
DUnlockedDeviceRequiredKeysTest.java204 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in tryEncrypt() local
210 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in tryEncrypt()
DFingerprintBoundKeysTest.java249 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in encryptInternal() local
258 mCipher.init(Cipher.ENCRYPT_MODE, secretKey); in encryptInternal()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/
DUtils.java268 final SecretKey secretKey = (SecretKey) keystore.getKey( in initializeCryptoObject() local
273 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in initializeCryptoObject()