Home
last modified time | relevance | path

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

1234

/frameworks/base/libs/securebox/tests/src/com/android/security/
DSecureBoxTest.java178 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/
DSyntheticPasswordCrypto.java63 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()
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/libmediadrm/
DCryptoHal.cpp80 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/
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/common/
DSession.cpp58 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()
DAesCtrDecryptor.cpp29 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/
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.java242 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/
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/common/include/clearkeydrm/
DAesCtrDecryptor.h28 CdmResponseType decrypt(const std::vector<uint8_t>& key, const Iv iv, const uint8_t* source,
DSession.h43 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/
DKeySyncUtilsTest.java290 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/
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/libmediadrm/include/mediadrm/
DCryptoHal.h42 virtual ssize_t decrypt(const uint8_t key[16], const uint8_t iv[16],
/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.h76 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