Searched refs:encryptedKey (Results 1 – 5 of 5) sorted by relevance
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
H A D | KeySyncUtilsTest.java | 139 byte[] encryptedKey = encryptedKeys.get(alias); in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata() 142 encryptedKey, NULL_METADATA); in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata() 156 byte[] encryptedKey = encryptedKeys.get(alias); in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata() 159 encryptedKey, NON_NULL_METADATA); in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata() 172 byte[] encryptedKey = encryptedKeys.get(alias); in decryptApplicationKey_throwsIfUnableToDecrypt() 176 encryptedKey, NULL_METADATA); in decryptApplicationKey_throwsIfUnableToDecrypt() local
|
H A D | KeySyncTaskTest.java | 834 byte[] lockScreenHash, byte[] encryptedKey, byte[] vaultParams) throws Exception { in decryptThmEncryptedKey() argument 839 encryptedKey in decryptThmEncryptedKey()
|
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
H A D | KeySyncUtils.java | 176 byte[] encryptedKey = SecureBox.encrypt( in encryptKeysWithRecoveryKey() 181 encryptedKeys.put(alias, encryptedKey); in encryptKeysWithRecoveryKey()
|
/aosp12/system/vold/ |
H A D | KeyStorage.cpp | 584 std::string encryptedKey; in storeKey() local 592 if (!encryptWithKeymasterKey(keymaster, dir, keyParams, key, &encryptedKey)) return false; in storeKey() 594 if (!encryptWithoutKeymaster(appId, key, &encryptedKey)) return false; in storeKey() 596 if (!writeStringToFile(encryptedKey, dir + "/" + kFn_encrypted_key)) return false; in storeKey()
|
/aosp12/hardware/interfaces/keymaster/4.0/ |
H A D | IKeymasterDevice.hal | 527 * encryptedKey OCTET_STRING, 543 * o encryptedKey is the key material of the key to be imported, in format keyFormat, and 546 * o tag is the tag produced by the AES-GCM encryption of encryptedKey. 556 * 4. Use the result of step 3 as an AES-GCM key to decrypt encryptedKey, using the encoded
|