Searched refs:initVecBuffer (Results 1 – 2 of 2) sorted by relevance
47 sp<ABuffer> keyDataBuffer, initVecBuffer; in signalNewSampleAesKey() local49 sampleAesKeyItem->findBuffer("initVec", &initVecBuffer); in signalNewSampleAesKey()52 initVecBuffer != NULL && initVecBuffer->size() == AES_BLOCK_SIZE) { in signalNewSampleAesKey()56 aesBlockToStr(initVecBuffer->data()).c_str()); in signalNewSampleAesKey()60 memcpy(mAESInitVec, initVecBuffer->data(), AES_BLOCK_SIZE); in signalNewSampleAesKey()75 initVecBuffer.get(), (initVecBuffer.get() == NULL)? -1 : initVecBuffer->size()); in signalNewSampleAesKey()
433 sp<ABuffer> initVecBuffer = ABuffer::CreateAsCopy(mAESInitVec, sizeof(mAESInitVec)); in decryptBuffer() local439 mSampleAesKeyItem->setBuffer("initVec", initVecBuffer); in decryptBuffer()