Searched refs:secretKey (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | UtilUnitTests.java | 321 SecretKey secretKey = new SecretKeySpec(new byte[32], ""); in coseMac0() local 324 byte[] mac = Util.coseMac0(secretKey, data, detachedContent); in coseMac0() 337 SecretKey secretKey = new SecretKeySpec(new byte[32], ""); in coseMac0DetachedContent() local 340 byte[] mac = Util.coseMac0(secretKey, data, detachedContent); in coseMac0DetachedContent()
|
D | UserAuthTest.java | 136 SecretKey secretKey = ((KeyStore.SecretKeyEntry) entry).getSecretKey(); in checkAuthBoundKey() local 139 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in checkAuthBoundKey()
|
D | Util.java | 1014 SecretKey secretKey = new SecretKeySpec(derivedKey, ""); in calcEMacKeyForReader() local 1015 return secretKey; in calcEMacKeyForReader()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ScreenLockBoundKeysTest.java | 146 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in tryEncrypt() local 153 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in tryEncrypt()
|
D | FingerprintBoundKeysTest.java | 223 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in encryptInternal() local 232 mCipher.init(Cipher.ENCRYPT_MODE, secretKey); in encryptInternal()
|
/cts/hostsidetests/appsecurity/test-apps/AuthBoundKeyApp/src/com/android/cts/authboundkey/ |
D | AuthBoundKeyAppTest.java | 64 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in testUseKey() local
|