Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DUtils.java82 SecretKey secretKey = (SecretKey) keyStore.getKey(keyName, null); in initCipher() local
87 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in initCipher()
111 SecretKey secretKey = (SecretKey) keyStore.getKey(keyName, null); in initMac() local
114 mac.init(secretKey); in initMac()
/cts/hostsidetests/appsecurity/test-apps/AuthBoundKeyApp/src/com/android/cts/authboundkey/
DAuthBoundKeyAppTest.java76 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in testUseKey() local
82 if (secretKey == null) return; in testUseKey()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DUtils.java234 final SecretKey secretKey = (SecretKey) keystore.getKey( in initializeCryptoObject() local
239 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in initializeCryptoObject()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DFingerprintBoundKeysTest.java219 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in encryptInternal() local
228 mCipher.init(Cipher.ENCRYPT_MODE, secretKey); in encryptInternal()
DUnlockedDeviceRequiredTest.java204 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in tryEncrypt() local
210 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in tryEncrypt()
/cts/tests/tests/identity/src/android/security/identity/cts/
DUserAuthTest.java148 SecretKey secretKey = ((KeyStore.SecretKeyEntry) entry).getSecretKey(); in checkAuthBoundKey() local
151 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in checkAuthBoundKey()
DUtil.java1049 SecretKey secretKey = new SecretKeySpec(derivedKey, ""); in calcEMacKeyForReader() local
1050 return secretKey; in calcEMacKeyForReader()