Home
last modified time | relevance | path

Searched refs:packetkey (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
Dasfcrypt.c154 uint64_t packetkey; in ff_asfcrypt_dec() local
175 packetkey = AV_RN64(&qwords[num_qwords * 8 - 8]); in ff_asfcrypt_dec()
176 packetkey ^= rc4buff[7]; in ff_asfcrypt_dec()
178 av_des_crypt(des, (uint8_t *)&packetkey, (uint8_t *)&packetkey, 1, NULL, 1); in ff_asfcrypt_dec()
179 packetkey ^= rc4buff[6]; in ff_asfcrypt_dec()
181 av_rc4_init(rc4, (uint8_t *)&packetkey, 64, 1); in ff_asfcrypt_dec()
188 packetkey = (packetkey << 32) | (packetkey >> 32); in ff_asfcrypt_dec()
189 packetkey = av_le2ne64(packetkey); in ff_asfcrypt_dec()
190 packetkey = multiswap_dec(ms_keys, ms_state, packetkey); in ff_asfcrypt_dec()
191 AV_WL64(qwords, packetkey); in ff_asfcrypt_dec()