/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/keys/ |
D | KeyWrapUtilsTest.java | 47 WrappedKeyProto.WrappedKey wrappedKey = in wrap_addsMetadata() local 57 WrappedKeyProto.WrappedKey wrappedKey = in wrap_addsWrapAlgorithm() local 66 WrappedKeyProto.WrappedKey wrappedKey = in wrap_addsNonceOfAppropriateLength() local 75 WrappedKeyProto.WrappedKey wrappedKey = in wrap_addsTagOfAppropriateLength() local 86 WrappedKeyProto.WrappedKey wrappedKey = KeyWrapUtils.wrap(secondaryKey, tertiaryKey); in unwrap_unwrapsEncryptedKey() local 95 WrappedKeyProto.WrappedKey wrappedKey = KeyWrapUtils.wrap(secondaryKey, generateAesKey()); in unwrap_throwsForBadWrapAlgorithm() local 105 WrappedKeyProto.WrappedKey wrappedKey = KeyWrapUtils.wrap(secondaryKey, generateAesKey()); in unwrap_throwsForBadKeyAlgorithm() local 115 WrappedKeyProto.WrappedKey wrappedKey = KeyWrapUtils.wrap(secondaryKey, generateAesKey()); in unwrap_throwsForMissingMetadata() local 124 WrappedKeyProto.WrappedKey wrappedKey = in unwrap_throwsForBadSecondaryKey() local 128 KeyWrapUtils.unwrap(generateAesKey(), wrappedKey); in unwrap_throwsForBadSecondaryKey() local
|
D | TertiaryKeyManagerTest.java | 144 WrappedKeyProto.WrappedKey wrappedKey = manager.getWrappedKey(); in getWrappedKey_noExistingKey_returnsWrappedNewKey() local 154 WrappedKeyProto.WrappedKey wrappedKey = manager.getWrappedKey(); in getWrappedKey_existingKey_returnsWrappedExistingKey() local
|
D | TertiaryKeyStoreTest.java | 203 WrappedKeyProto.WrappedKey wrappedKey = KeyWrapUtils.wrap(mSecretKey, key); in putAll_putsAllWrappedKeysInTheStore() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | WrappedKeyTest.java | 74 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NULL_METADATA); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata() local 93 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NON_NULL_METADATA); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata() local 111 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NULL_METADATA); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey() local 121 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_decryptsWrappedKeys_nullMetadata() local 140 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_decryptsWrappedKeys_nonNullMetadata() local 159 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_doesNotDieIfSomeKeysAreUnwrappable() local 174 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_throwsIfPlatformKeyGenerationIdDoesNotMatch() local
|
D | RecoverableKeyGeneratorTest.java | 101 WrappedKey wrappedKey = mRecoverableKeyStoreDb.getKey(KEYSTORE_UID_SELF, TEST_ALIAS); in generateAndStoreKey_storesWrappedKey_nullMetadata() local 111 WrappedKey wrappedKey = mRecoverableKeyStoreDb.getKey(KEYSTORE_UID_SELF, TEST_ALIAS); in generateAndStoreKey_storesWrappedKey_nonNullMetadata() local 129 WrappedKey wrappedKey = mRecoverableKeyStoreDb.getKey(KEYSTORE_UID_SELF, TEST_ALIAS); in generateAndStoreKey_storesTheWrappedVersionOfTheRawMaterial() local 163 WrappedKey wrappedKey = mRecoverableKeyStoreDb.getKey(KEYSTORE_UID_SELF, TEST_ALIAS); in importKey_storesTheWrappedVersionOfTheRawMaterial() local
|
D | RecoverableKeyStoreManagerTest.java | 1227 WrappedKey wrappedKey = new WrappedKey(NONCE, KEY_MATERIAL, keyMetadata, GENERATION_ID, in setRecoveryStatus() local
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/ |
D | KeyWrapUtils.java | 48 public static SecretKey unwrap(SecretKey secondaryKey, WrappedKeyProto.WrappedKey wrappedKey) in unwrap() 97 WrappedKeyProto.WrappedKey wrappedKey = new WrappedKeyProto.WrappedKey(); in wrap() local
|
D | TertiaryKeyStore.java | 130 WrappedKeyProto.WrappedKey wrappedKey = in load() local 154 WrappedKeyProto.WrappedKey wrappedKey = in getAll() local
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyGenerator.java | 104 WrappedKey wrappedKey = WrappedKey.fromSecretKey(platformKey, key, metadata); in generateAndStoreKey() local 148 WrappedKey wrappedKey = WrappedKey.fromSecretKey(platformKey, key, metadata); in importKey() local
|
D | WrappedKey.java | 210 WrappedKey wrappedKey = wrappedKeys.get(alias); in unwrapKeys() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDbTest.java | 89 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId); in insertKey_replacesOldKey() local 174 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, 120); in getKey_returnsInsertedKey() local 228 WrappedKey wrappedKey = new WrappedKey( in getAllKeys_doesNotReturnKeysWithBadGenerationId() local 246 WrappedKey wrappedKey = new WrappedKey( in getAllKeys_doesNotReturnKeysWithBadUserId() local 343 WrappedKey wrappedKey = in setPlatformKeyGenerationId_invalidatesExistingKeysForUser() local 393 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, in setRecoveryStatus_withSingleKey() local 420 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, in getStatusForAllKeys_with3Keys() local 478 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, in testInvalidateKeysForUser_withSingleKey() local 505 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, in testInvalidateKeysForUserIdOnCustomScreenLock() local
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | DrmPlugin.h | 101 Vector<uint8_t>& wrappedKey) { in provideProvisionResponse() 251 const Vector<uint8_t>& wrappedKey, in signRSA()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/fakes/ |
D | FakeCryptoBackupServerTest.java | 130 WrappedKeyProto.WrappedKey wrappedKey = new WrappedKeyProto.WrappedKey(); in createWrappedKey() local
|
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
D | MediaDrmSigner.java | 134 String algorithm, byte[] wrappedKey, byte[] message) { in signRSA()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStoreSecurityLevel.java | 186 @NonNull byte[] wrappedKey, byte[] maskingKey, in importWrappedKey()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreCipherSpiBase.java | 769 protected final Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, in engineUnwrap()
|
D | AndroidKeyStoreSpi.java | 874 KeyDescriptor wrappedKey = makeKeyDescriptor(alias); in setWrappedKeyEntry() local
|
/frameworks/av/drm/libmediadrm/fuzzer/ |
D | mediadrm_fuzzer.cpp | 226 Vector<uint8_t> wrappedKey = {}; in invokeDrmDecryptEncryptAPI() local
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.cpp | 707 Vector<uint8_t> const &wrappedKey, in signRSA()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmHal.cpp | 922 Vector<uint8_t> &certificate, Vector<uint8_t> &wrappedKey) { in provideProvisionResponse() 1445 Vector<uint8_t> const &wrappedKey, Vector<uint8_t> &signature) { in signRSA()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.cpp | 1349 Vector<uint8_t> certificate, wrappedKey; in android_media_MediaDrm_provideProvisionResponseNative() local 1973 Vector<uint8_t> wrappedKey(JByteArrayToVector(env, jwrappedKey)); in android_media_MediaDrm_signRSANative() local
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDb.java | 97 public long insertKey(int userId, int uid, String alias, WrappedKey wrappedKey) { in insertKey()
|