Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/accounts/
DCryptoHelper.java65 byte[] encryptedBytes = cipher.doFinal(clearBytes); in encryptBundle()
67 byte[] mac = createMac(encryptedBytes, iv); in encryptBundle()
70 encryptedBundle.putByteArray(KEY_CIPHER, encryptedBytes); in encryptBundle()
81 byte[] encryptedBytes = bundle.getByteArray(KEY_CIPHER); in decryptBundle()
83 if (!verifyMac(encryptedBytes, iv, mac)) { in decryptBundle()
91 byte[] decryptedBytes = cipher.doFinal(encryptedBytes); in decryptBundle()
/frameworks/av/media/libstagefright/mpeg2ts/
DHlsSampleDecryptor.cpp176 size_t encryptedBytes = (remainingBytes / AES_BLOCK_SIZE) * AES_BLOCK_SIZE; in processAAC() local
182 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAAC()
188 offset += encryptedBytes; in processAAC()
189 remainingBytes -= encryptedBytes; in processAAC()
230 size_t encryptedBytes = (remainingBytes / AES_BLOCK_SIZE) * AES_BLOCK_SIZE; in processAC3() local
238 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAC3()
244 offset += encryptedBytes; in processAC3()
245 remainingBytes -= encryptedBytes; in processAC3()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java116 byte[] encryptedBytes = cipher.doFinal(data); in encryptDataUsingPublicKey()
117 return Base64.encodeToString(encryptedBytes, 0, encryptedBytes.length, Base64.DEFAULT); in encryptDataUsingPublicKey()