Searched refs:secretKey (Results 1 – 7 of 7) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | Utils.java | 82 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/ |
D | AuthBoundKeyAppTest.java | 76 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/ |
D | Utils.java | 234 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/ |
D | FingerprintBoundKeysTest.java | 219 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in encryptInternal() local 228 mCipher.init(Cipher.ENCRYPT_MODE, secretKey); in encryptInternal()
|
D | UnlockedDeviceRequiredTest.java | 204 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/ |
D | UserAuthTest.java | 148 SecretKey secretKey = ((KeyStore.SecretKeyEntry) entry).getSecretKey(); in checkAuthBoundKey() local 151 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in checkAuthBoundKey()
|
D | Util.java | 1049 SecretKey secretKey = new SecretKeySpec(derivedKey, ""); in calcEMacKeyForReader() local 1050 return secretKey; in calcEMacKeyForReader()
|