Searched refs:ivBuffer (Results 1 – 2 of 2) sorted by relevance
110 sp<ABuffer> ivBuffer; in decryptAndQueue() local122 msg->findBuffer("iv", &ivBuffer); in decryptAndQueue()127 const uint8_t * iv = ivBuffer.get() != nullptr ? ivBuffer.get()->data() : nullptr; in decryptAndQueue()158 sp<ABuffer> ivBuffer; in attachEncryptedBufferAndQueue() local163 msg->findBuffer("iv", &ivBuffer); in attachEncryptedBufferAndQueue()175 const uint8_t * iv = ivBuffer.get() != nullptr ? ivBuffer.get()->data() : nullptr; in attachEncryptedBufferAndQueue()
1181 sp<ABuffer> ivBuffer; in AMessageToCryptoInfo() local1189 CHECK(msg->findBuffer("iv", &ivBuffer)); in AMessageToCryptoInfo()1219 if (ivBuffer.get() != nullptr && ivBuffer->size() > 0) { in AMessageToCryptoInfo()1220 ivArray = env->NewByteArray(ivBuffer->size()); in AMessageToCryptoInfo()1222 memcpy(dstIv, ivBuffer->data(), ivBuffer->size()); in AMessageToCryptoInfo()