Searched refs:encryptionKey (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowProviderServerBasedImpl.java | 174 private byte[] wrapEscrowKey(byte[] escrowKeyBytes, SecretKey encryptionKey) throws in wrapEscrowKey() argument 195 return AesEncryptionUtil.encrypt(encryptionKey, serverEncryptedBlob); in wrapEscrowKey() 199 public boolean storeRebootEscrowKey(RebootEscrowKey escrowKey, SecretKey encryptionKey) { in storeRebootEscrowKey() argument 202 byte[] wrappedBlob = wrapEscrowKey(escrowKey.getKeyBytes(), encryptionKey); in storeRebootEscrowKey()
|
D | RebootEscrowProviderInterface.java | 70 boolean storeRebootEscrowKey(RebootEscrowKey escrowKey, SecretKey encryptionKey); in storeRebootEscrowKey() argument
|
D | RebootEscrowProviderHalImpl.java | 130 public boolean storeRebootEscrowKey(RebootEscrowKey escrowKey, SecretKey encryptionKey) { in storeRebootEscrowKey() argument
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformAdbRestoreTask.java | 255 byte[] encryptionKey = Arrays.copyOfRange(mkBlob, in attemptEncryptionKeyDecryption() 264 byte[] calculatedCk = PasswordUtils.makeKeyChecksum(algorithm, encryptionKey, ckSalt, in attemptEncryptionKeyDecryption() 269 new SecretKeySpec(encryptionKey, "AES"), in attemptEncryptionKeyDecryption()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformAdbBackupTask.java | 158 byte[] encryptionKey = new byte[256 / 8]; in emitAesBackupHeader() 159 mUserBackupManagerService.getRng().nextBytes(encryptionKey); in emitAesBackupHeader() 165 SecretKeySpec encryptionKeySpec = new SecretKeySpec(encryptionKey, "AES"); in emitAesBackupHeader()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManager.java | 754 PlatformEncryptionKey encryptionKey; in generateKeyWithMetadata() local 756 encryptionKey = mPlatformKeyManager.getEncryptKey(userId); in generateKeyWithMetadata() 767 byte[] secretKey = mRecoverableKeyGenerator.generateAndStoreKey(encryptionKey, userId, in generateKeyWithMetadata() 823 PlatformEncryptionKey encryptionKey; in importKeyWithMetadata() local 825 encryptionKey = mPlatformKeyManager.getEncryptKey(userId); in importKeyWithMetadata() 837 mRecoverableKeyGenerator.importKey(encryptionKey, userId, uid, alias, keyBytes, in importKeyWithMetadata()
|
/frameworks/base/libs/securebox/src/com/android/security/ |
D | SecureBox.java | 207 SecretKey encryptionKey = hkdfDeriveKey(keyingMaterial, HKDF_SALT, hkdfInfo); in encrypt() local 208 byte[] ciphertext = aesGcmEncrypt(encryptionKey, randNonce, payload, header); in encrypt()
|