Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowProviderServerBasedImpl.java107 private byte[] unwrapServerBlob(byte[] serverBlob, SecretKey decryptionKey) throws in unwrapServerBlob() argument
117 byte[] decryptedBlob = AesEncryptionUtil.decrypt(decryptionKey, serverBlob); in unwrapServerBlob()
134 public RebootEscrowKey getAndClearRebootEscrowKey(SecretKey decryptionKey) throws IOException { in getAndClearRebootEscrowKey() argument
144 if (decryptionKey == null) { in getAndClearRebootEscrowKey()
152 byte[] escrowKeyBytes = unwrapServerBlob(mServerBlob, decryptionKey); in getAndClearRebootEscrowKey()
DRebootEscrowProviderInterface.java60 RebootEscrowKey getAndClearRebootEscrowKey(SecretKey decryptionKey) throws IOException; in getAndClearRebootEscrowKey() argument
DRebootEscrowProviderHalImpl.java73 public RebootEscrowKey getAndClearRebootEscrowKey(SecretKey decryptionKey) { in getAndClearRebootEscrowKey() argument
DLockSettingsService.java1536 SecretKey decryptionKey = (SecretKey) mKeyStore.getKey( in getDecryptedPasswordForTiedProfile() local
1542 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, new GCMParameterSpec(128, iv)); in getDecryptedPasswordForTiedProfile()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java262 PlatformDecryptionKey decryptionKey = getDecryptKeyInternal(userId); in getDecryptKey() local
263 ensureDecryptionKeyIsValid(userId, decryptionKey); in getDecryptKey()
264 return decryptionKey; in getDecryptKey()
303 private void ensureDecryptionKeyIsValid(int userId, PlatformDecryptionKey decryptionKey) in ensureDecryptionKeyIsValid() argument
307 decryptionKey.getKey(), in ensureDecryptionKeyIsValid()
/frameworks/base/libs/securebox/src/com/android/security/
DSecureBox.java276 SecretKey decryptionKey = hkdfDeriveKey(keyingMaterial, HKDF_SALT, hkdfInfo); in decrypt() local
277 return aesGcmDecrypt(decryptionKey, randNonce, ciphertext, header); in decrypt()