Home
last modified time | relevance | path

Searched refs:encryptedBytes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/companion/java/com/android/server/companion/transport/
DCryptoManager.java76 byte[] encryptedBytes = mEncryptCipher.doFinal(input); in encrypt()
78 4 + mEncryptCipher.getIV().length + 4 + encryptedBytes.length) in encrypt()
81 .putInt(encryptedBytes.length) in encrypt()
82 .put(encryptedBytes); in encrypt()
97 byte[] encryptedBytes = new byte[buffer.getInt()]; in decrypt()
98 buffer.get(encryptedBytes); in decrypt()
101 return mDecryptCipher.doFinal(encryptedBytes); in decrypt()
/frameworks/base/services/core/java/com/android/server/accounts/
DCryptoHelper.java66 byte[] encryptedBytes = cipher.doFinal(clearBytes); in encryptBundle()
68 byte[] mac = createMac(encryptedBytes, iv); in encryptBundle()
71 encryptedBundle.putByteArray(KEY_CIPHER, encryptedBytes); in encryptBundle()
82 byte[] encryptedBytes = bundle.getByteArray(KEY_CIPHER); in decryptBundle()
84 if (!verifyMac(encryptedBytes, iv, mac)) { in decryptBundle()
92 byte[] decryptedBytes = cipher.doFinal(encryptedBytes); in decryptBundle()
/frameworks/av/media/module/mpeg2ts/
DHlsSampleDecryptor.cpp181 size_t encryptedBytes = (remainingBytes / AES_BLOCK_SIZE) * AES_BLOCK_SIZE; in processAAC() local
187 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAAC()
193 offset += encryptedBytes; in processAAC()
194 remainingBytes -= encryptedBytes; in processAAC()
235 size_t encryptedBytes = (remainingBytes / AES_BLOCK_SIZE) * AES_BLOCK_SIZE; in processAC3() local
243 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAC3()
249 offset += encryptedBytes; in processAC3()
250 remainingBytes -= encryptedBytes; in processAC3()
/frameworks/av/media/ndk/fuzzer/
DNdkMediaCodecFuzzerBase.cpp403 size_t encryptedBytes[kMaxCryptoKey]; in getAMediaCodecCryptoInfo() local
409 encryptedBytes[i] = mFdp->ConsumeIntegral<size_t>(); in getAMediaCodecCryptoInfo()
413 clearBytes, encryptedBytes); in getAMediaCodecCryptoInfo()
/frameworks/av/drm/libmediadrm/fuzzer/
Dmediadrm_fuzzer.cpp367 uint32_t encryptedBytes = in invokeCryptoDecrypt() local
370 subSamples[i].mNumBytesOfEncryptedData = encryptedBytes; in invokeCryptoDecrypt()