Searched refs:AESInitVec (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | HlsSampleDecryptor.cpp | 113 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 …]
|
D | HlsSampleDecryptor.h | 51 status_t decryptBlock(uint8_t *buffer, size_t size, uint8_t AESInitVec[AES_BLOCK_SIZE]);
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 385 unsigned char AESInitVec[AES_BLOCK_SIZE]; in decryptBuffer() local 398 memset(AESInitVec, 0, sizeof(AESInitVec)); in decryptBuffer() 409 AESInitVec[i] = nibble1 << 4 | nibble2; in decryptBuffer() 412 memset(AESInitVec, 0, sizeof(AESInitVec)); in decryptBuffer() 413 AESInitVec[15] = mSeqNumber & 0xff; in decryptBuffer() 414 AESInitVec[14] = (mSeqNumber >> 8) & 0xff; in decryptBuffer() 415 AESInitVec[13] = (mSeqNumber >> 16) & 0xff; in decryptBuffer() 416 AESInitVec[12] = (mSeqNumber >> 24) & 0xff; in decryptBuffer() 420 bool newInitVec = memcmp(mAESInitVec, AESInitVec, AES_BLOCK_SIZE) != 0; in decryptBuffer() 427 memcpy(mAESInitVec, AESInitVec, AES_BLOCK_SIZE); in decryptBuffer()
|