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()
177 unsigned char AESInitVec[AES_BLOCK_SIZE]; in processAAC() local
178 memcpy(AESInitVec, mAESInitVec, AES_BLOCK_SIZE); in processAAC()
182 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAAC()
233 unsigned char AESInitVec[AES_BLOCK_SIZE]; in processAC3() local
234 memcpy(AESInitVec, mAESInitVec, AES_BLOCK_SIZE); in processAC3()
238 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAC3()
304 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.cpp381 unsigned char AESInitVec[AES_BLOCK_SIZE]; in decryptBuffer() local
394 memset(AESInitVec, 0, sizeof(AESInitVec)); in decryptBuffer()
405 AESInitVec[i] = nibble1 << 4 | nibble2; in decryptBuffer()
408 memset(AESInitVec, 0, sizeof(AESInitVec)); in decryptBuffer()
409 AESInitVec[15] = mSeqNumber & 0xff; in decryptBuffer()
410 AESInitVec[14] = (mSeqNumber >> 8) & 0xff; in decryptBuffer()
411 AESInitVec[13] = (mSeqNumber >> 16) & 0xff; in decryptBuffer()
412 AESInitVec[12] = (mSeqNumber >> 24) & 0xff; in decryptBuffer()
416 bool newInitVec = memcmp(mAESInitVec, AESInitVec, AES_BLOCK_SIZE) != 0; in decryptBuffer()
423 memcpy(mAESInitVec, AESInitVec, AES_BLOCK_SIZE); in decryptBuffer()