/frameworks/base/libs/securebox/tests/src/com/android/security/ |
D | SecureBoxTest.java | 178 SecureBox.decrypt( in decryptRecoveryClaim() 188 SecureBox.decrypt( in decryptRecoveryKey_doesNotThrowForValidAuthenticationTag() 203 state = SecureBox.decrypt(THM_PRIVATE_KEY, TEST_SHARED_SECRET, TEST_HEADER, state); in encryptThenDecrypt() 214 SecureBox.decrypt( in encryptThenDecrypt_nullPublicPrivateKeys() 225 SecureBox.decrypt(THM_PRIVATE_KEY, /*sharedSecret=*/ null, TEST_HEADER, encrypted); in encryptThenDecrypt_nullSharedSecret() 235 SecureBox.decrypt(THM_PRIVATE_KEY, TEST_SHARED_SECRET, /*header=*/ null, encrypted); in encryptThenDecrypt_nullHeader() 245 SecureBox.decrypt( in encryptThenDecrypt_nullPayload() 273 SecureBox.decrypt( in decrypt_nullPrivateKeyAndSharedSecret() 287 SecureBox.decrypt( in decrypt_nullEncryptedPayload() 304 SecureBox.decrypt( in decrypt_badAuthenticationTag() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 63 private static byte[] decrypt(SecretKey key, byte[] blob) in decrypt() method in SyntheticPasswordCrypto 115 public static byte[] decrypt(byte[] keyBytes, byte[] personalization, byte[] ciphertext) { in decrypt() method in SyntheticPasswordCrypto 120 return decrypt(key, ciphertext); in decrypt() 142 byte[] intermediate = decrypt(protectorSecret, PROTECTOR_SECRET_PERSONALIZATION, blob); in decryptBlobV1() 143 return decrypt(protectorKey, intermediate); in decryptBlobV1() 178 byte[] intermediate = decrypt(protectorKey, blob); in decryptBlob() 179 return decrypt(protectorSecret, PROTECTOR_SECRET_PERSONALIZATION, intermediate); in decryptBlob()
|
D | RebootEscrowData.java | 82 byte[] ksEncryptedBlob = AesEncryptionUtil.decrypt(kk, dis); in decryptBlobCurrentVersion() 83 return AesEncryptionUtil.decrypt(ks.getKey(), ksEncryptedBlob); in decryptBlobCurrentVersion() 101 byte[] syntheticPassword = AesEncryptionUtil.decrypt(ks.getKey(), dis); in fromEncryptedData()
|
D | AesEncryptionUtil.java | 42 static byte[] decrypt(SecretKey key, DataInputStream cipherStream) throws IOException { in decrypt() method in AesEncryptionUtil 75 static byte[] decrypt(SecretKey key, byte[] cipherText) throws IOException { in decrypt() method in AesEncryptionUtil 80 return decrypt(key, cipherStream); in decrypt()
|
/frameworks/av/drm/libmediadrm/ |
D | CryptoHal.cpp | 80 ssize_t CryptoHal::decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, in decrypt() function in android::CryptoHal 87 return mCryptoHalAidl->decrypt(key, iv, mode, pattern, source, offset, subSamples, in decrypt() 89 return mCryptoHalHidl->decrypt(key, iv, mode, pattern, source, offset, subSamples, in decrypt()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | CryptoPlugin.cpp | 35 ssize_t CryptoPlugin::decrypt(bool secure, const KeyId keyId, const Iv iv, in decrypt() function in clearkeydrm::CryptoPlugin 67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples, in decrypt()
|
D | Session.cpp | 64 status_t Session::decrypt( in decrypt() function in clearkeydrm::Session 78 return decryptor.decrypt( in decrypt()
|
D | AesCtrDecryptor.cpp | 29 android::status_t AesCtrDecryptor::decrypt(const android::Vector<uint8_t>& key, in decrypt() function in clearkeydrm::AesCtrDecryptor
|
/frameworks/av/drm/mediadrm/plugins/clearkey/common/ |
D | Session.cpp | 58 CdmResponseType Session::decrypt(const KeyId keyId, const Iv iv, in decrypt() function in clearkeydrm::Session 79 auto status = decryptor.decrypt(itr->second /*key*/, iv, srcPtr, destPtr, in decrypt()
|
D | AesCtrDecryptor.cpp | 29 CdmResponseType AesCtrDecryptor::decrypt(const std::vector<uint8_t>& key, const Iv iv, in decrypt() function in clearkeydrm::AesCtrDecryptor
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/ |
D | AesCtrDecryptorUnittest.cpp | 40 return decryptor.decrypt(keyVector, iv, source, destination, subSamples, in attemptDecrypt() 81 ASSERT_EQ(android::ERROR_DRM_DECRYPT, decryptor.decrypt(keyVector, iv, in TEST_F() 115 ASSERT_EQ(android::ERROR_DRM_DECRYPT, decryptor.decrypt(keyVector, iv, in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtils.java | 242 return SecureBox.decrypt( in decryptRecoveryClaimResponse() 261 return SecureBox.decrypt( in decryptRecoveryKey() 287 return SecureBox.decrypt( in decryptApplicationKey()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | AesCtrDecryptor.h | 34 android::status_t decrypt(const android::Vector<uint8_t>& key, const Iv iv,
|
D | CryptoPlugin.h | 45 virtual ssize_t decrypt(
|
D | Session.h | 48 android::status_t decrypt(
|
/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/clearkeydrm/ |
D | AesCtrDecryptor.h | 28 CdmResponseType decrypt(const std::vector<uint8_t>& key, const Iv iv, const uint8_t* source,
|
D | Session.h | 43 CdmResponseType decrypt(const KeyId keyId, const Iv iv, const uint8_t* srcPtr, uint8_t* dstPtr,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtilsTest.java | 290 byte[] decrypted = SecureBox.decrypt( in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() 312 SecureBox.decrypt( in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge() 338 SecureBox.decrypt( in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectSecretKey() 364 SecureBox.decrypt( in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectVaultParams() 391 SecureBox.decrypt( in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectHeader()
|
/frameworks/native/headers/media_plugin/media/hardware/ |
D | HDCPAPI.h | 134 virtual status_t decrypt( in decrypt() function
|
D | CryptoAPI.h | 102 virtual ssize_t decrypt(
|
/frameworks/av/drm/libdrmframework/ |
D | DrmManagerClient.cpp | 148 status_t DrmManagerClient::decrypt( in decrypt() function in DrmManagerClient 151 return mDrmManagerClientImpl->decrypt( in decrypt()
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | CryptoHal.h | 42 virtual ssize_t decrypt(const uint8_t key[16], const uint8_t iv[16],
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 116 status_t decrypt(Vector<uint8_t> const &sessionId, 163 ssize_t decrypt(bool secure,
|
/frameworks/av/drm/libmediadrm/interface/mediadrm/ |
D | ICrypto.h | 76 virtual ssize_t decrypt(const uint8_t /*key*/[16], const uint8_t /*iv*/[16],
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeySessionLibrary.h | 38 ssize_t decrypt(
|