Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/mpeg2ts/
DHlsSampleDecryptor.cpp113 unsigned char AESInitVec[AES_BLOCK_SIZE]; in processNal() local
114 memcpy(AESInitVec, mAESInitVec, AES_BLOCK_SIZE); in processNal()
120 status_t ret = decryptBlock(encrypted, AES_BLOCK_SIZE, AESInitVec); in processNal()
182 unsigned char AESInitVec[AES_BLOCK_SIZE]; in processAAC() local
183 memcpy(AESInitVec, mAESInitVec, AES_BLOCK_SIZE); in processAAC()
187 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAAC()
238 unsigned char AESInitVec[AES_BLOCK_SIZE]; in processAC3() local
239 memcpy(AESInitVec, mAESInitVec, AES_BLOCK_SIZE); in processAC3()
243 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAC3()
309 uint8_t AESInitVec[AES_BLOCK_SIZE]) { in decryptBlock()
[all …]
DHlsSampleDecryptor.h49 status_t decryptBlock(uint8_t *buffer, size_t size, uint8_t AESInitVec[AES_BLOCK_SIZE]);
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp383 unsigned char AESInitVec[AES_BLOCK_SIZE]; in decryptBuffer() local
396 memset(AESInitVec, 0, sizeof(AESInitVec)); in decryptBuffer()
407 AESInitVec[i] = nibble1 << 4 | nibble2; in decryptBuffer()
410 memset(AESInitVec, 0, sizeof(AESInitVec)); in decryptBuffer()
411 AESInitVec[15] = mSeqNumber & 0xff; in decryptBuffer()
412 AESInitVec[14] = (mSeqNumber >> 8) & 0xff; in decryptBuffer()
413 AESInitVec[13] = (mSeqNumber >> 16) & 0xff; in decryptBuffer()
414 AESInitVec[12] = (mSeqNumber >> 24) & 0xff; in decryptBuffer()
418 bool newInitVec = memcmp(mAESInitVec, AESInitVec, AES_BLOCK_SIZE) != 0; in decryptBuffer()
425 memcpy(mAESInitVec, AESInitVec, AES_BLOCK_SIZE); in decryptBuffer()