Lines Matching defs:data
96 status_t ClearKeyCasPlugin::setPrivateData(const CasData &/*data*/) {
132 const CasSessionId &sessionId, const CasData & /*data*/) {
154 return session->updateECM(mKeyFetcher.get(), (void*)ecm.data(), ecm.size());
170 mCallback((void*)mAppData, event, arg, (uint8_t*)eventData.data(), eventData.size());
212 // key (odd key or even key), |length| is the data size, and |buffer| is the
221 unsigned char* data = reinterpret_cast<unsigned char*>(buffer);
232 AES_cbc_encrypt(data, data, length, &key, iv, 0);
245 AES_cbc_encrypt(data, data, cbc_byte_count, &key, iv, 0);
246 // |data| points to block[n-1].
247 data += cbc_byte_count;
253 memcpy(block_n, data + AES_BLOCK_SIZE, cts_byte_count);
257 AES_cbc_encrypt(data, data, AES_BLOCK_SIZE, &key, block_n, 0);
262 unsigned char temp = *(data + i);
263 *(data + i) = *(data + AES_BLOCK_SIZE + i);
264 *(data + AES_BLOCK_SIZE + i) = temp;
268 AES_cbc_encrypt(data, data, AES_BLOCK_SIZE, &key, iv, 0);
330 reinterpret_cast<const uint8_t*>(keyBytes->data()),