Home
last modified time | relevance | path

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

/cts/tests/tests/identity/src/android/security/identity/cts/
DUtilUnitTests.java321 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()
DUserAuthTest.java136 SecretKey secretKey = ((KeyStore.SecretKeyEntry) entry).getSecretKey(); in checkAuthBoundKey() local
139 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in checkAuthBoundKey()
DUtil.java1014 SecretKey secretKey = new SecretKeySpec(derivedKey, ""); in calcEMacKeyForReader() local
1015 return secretKey; in calcEMacKeyForReader()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DScreenLockBoundKeysTest.java146 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in tryEncrypt() local
153 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in tryEncrypt()
DFingerprintBoundKeysTest.java223 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/
DAuthBoundKeyAppTest.java64 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in testUseKey() local