Searched refs:encryptedBytes (Results 1 – 5 of 5) sorted by relevance
76 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()
66 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()
181 size_t encryptedBytes = (remainingBytes / AES_BLOCK_SIZE) * AES_BLOCK_SIZE; in processAAC() local187 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() local243 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAC3()249 offset += encryptedBytes; in processAC3()250 remainingBytes -= encryptedBytes; in processAC3()
403 size_t encryptedBytes[kMaxCryptoKey]; in getAMediaCodecCryptoInfo() local409 encryptedBytes[i] = mFdp->ConsumeIntegral<size_t>(); in getAMediaCodecCryptoInfo()413 clearBytes, encryptedBytes); in getAMediaCodecCryptoInfo()
367 uint32_t encryptedBytes = in invokeCryptoDecrypt() local370 subSamples[i].mNumBytesOfEncryptedData = encryptedBytes; in invokeCryptoDecrypt()