Home
last modified time | relevance | path

Searched refs:decrypt (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DSecureBoxTest.java176 SecureBox.decrypt( in decryptRecoveryClaim()
186 SecureBox.decrypt( in decryptRecoveryKey_doesNotThrowForValidAuthenticationTag()
201 state = SecureBox.decrypt(THM_PRIVATE_KEY, TEST_SHARED_SECRET, TEST_HEADER, state); in encryptThenDecrypt()
212 SecureBox.decrypt( in encryptThenDecrypt_nullPublicPrivateKeys()
223 SecureBox.decrypt(THM_PRIVATE_KEY, /*sharedSecret=*/ null, TEST_HEADER, encrypted); in encryptThenDecrypt_nullSharedSecret()
233 SecureBox.decrypt(THM_PRIVATE_KEY, TEST_SHARED_SECRET, /*header=*/ null, encrypted); in encryptThenDecrypt_nullHeader()
243 SecureBox.decrypt( in encryptThenDecrypt_nullPayload()
271 SecureBox.decrypt( in decrypt_nullPrivateKeyAndSharedSecret()
285 SecureBox.decrypt( in decrypt_nullEncryptedPayload()
302 SecureBox.decrypt( in decrypt_badAuthenticationTag()
[all …]
DKeySyncUtilsTest.java298 byte[] decrypted = SecureBox.decrypt( in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant()
320 SecureBox.decrypt( in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge()
346 SecureBox.decrypt( in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectSecretKey()
372 SecureBox.decrypt( in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectVaultParams()
399 SecureBox.decrypt( in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectHeader()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordCrypto.java61 private static byte[] decrypt(SecretKey key, byte[] blob) in decrypt() method in SyntheticPasswordCrypto
116 public static byte[] decrypt(byte[] keyBytes, byte[] personalisation, byte[] ciphertext) { in decrypt() method in SyntheticPasswordCrypto
121 return decrypt(key, ciphertext); in decrypt()
137 byte[] intermediate = decrypt(applicationId, APPLICATION_ID_PERSONALIZATION, blob); in decryptBlobV1()
138 return decrypt(decryptionKey, intermediate); in decryptBlobV1()
168 byte[] intermediate = decrypt(decryptionKey, blob); in decryptBlob()
169 return decrypt(applicationId, APPLICATION_ID_PERSONALIZATION, intermediate); in decryptBlob()
DRebootEscrowData.java82 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()
DAesEncryptionUtil.java42 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/mediadrm/plugins/clearkey/default/
DCryptoPlugin.cpp35 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()
DSession.cpp64 status_t Session::decrypt( in decrypt() function in clearkeydrm::Session
78 return decryptor.decrypt( in decrypt()
DAesCtrDecryptor.cpp29 android::status_t AesCtrDecryptor::decrypt(const android::Vector<uint8_t>& key, in decrypt() function in clearkeydrm::AesCtrDecryptor
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/
DAesCtrDecryptorUnittest.cpp40 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/
DKeySyncUtils.java240 return SecureBox.decrypt( in decryptRecoveryClaimResponse()
259 return SecureBox.decrypt( in decryptRecoveryKey()
285 return SecureBox.decrypt( in decryptApplicationKey()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DSession.cpp71 Status_V1_2 Session::decrypt( in decrypt() function in android::hardware::drm::V1_4::clearkey::Session
91 Status status = decryptor.decrypt( in decrypt()
DAesCtrDecryptor.cpp37 Status AesCtrDecryptor::decrypt( in decrypt() function in android::hardware::drm::V1_4::clearkey::AesCtrDecryptor
DCryptoPlugin.cpp47 Return<void> CryptoPlugin::decrypt( in decrypt() function in android::hardware::drm::V1_4::clearkey::CryptoPlugin
209 Status_V1_2 res = mSession->decrypt(keyId.data(), iv.data(), srcPtr, in decrypt_1_2()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEncryptionHelper.java29 String voldState = VoldProperties.decrypt().orElse(""); in isDataEncrypted()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DAesCtrDecryptor.h34 android::status_t decrypt(const android::Vector<uint8_t>& key, const Iv iv,
DCryptoPlugin.h45 virtual ssize_t decrypt(
DSession.h48 android::status_t decrypt(
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DAesCtrDecryptor.h35 Status decrypt(const std::vector<uint8_t>& key, const Iv iv,
DSession.h56 Status_V1_2 decrypt(
/frameworks/native/headers/media_plugin/media/hardware/
DHDCPAPI.h134 virtual status_t decrypt( in decrypt() function
DCryptoAPI.h102 virtual ssize_t decrypt(
/frameworks/av/drm/libdrmframework/
DDrmManagerClient.cpp148 status_t DrmManagerClient::decrypt( in decrypt() function in DrmManagerClient
151 return mDrmManagerClientImpl->decrypt( in decrypt()
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h116 status_t decrypt(Vector<uint8_t> const &sessionId,
163 ssize_t decrypt(bool secure,
/frameworks/av/drm/libmediadrm/interface/mediadrm/
DICrypto.h75 virtual ssize_t decrypt(const uint8_t /*key*/[16], const uint8_t /*iv*/[16],
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeySessionLibrary.h38 ssize_t decrypt(

1234