Lines Matching refs:r_val
84 uint8_t r_val[24]; member
115 static int kset(AVFormatContext *s, const uint8_t *r_val, const uint8_t *n_val, in kset() argument
120 if (!r_val && !n_val) in kset()
126 if (r_val) { in kset()
127 if (r_val != oc->r_val) { in kset()
128 memset(oc->r_val, 0, 24); in kset()
129 memcpy(oc->r_val, r_val, len); in kset()
131 memcpy(&oc->r_val[16], r_val, 8); in kset()
147 const uint8_t *r_val) in rprobe() argument
153 if (!enc_header || !r_val || in rprobe()
163 av_des_init(av_des, r_val, 192, 1); in rprobe()
218 av_des_crypt(av_des, oc->r_val, &enc_header[pos], 2, NULL, 1); in nprobe()
219 kset(s, oc->r_val, NULL, 16); in nprobe()
220 if (!rprobe(s, enc_header, size, oc->r_val)) { in nprobe()
292 if (!memcmp(oc->r_val, (const uint8_t[8]){0}, 8) || in decrypt_init()
293 rprobe(s, gdata, geob->datasize, oc->r_val) < 0 && in decrypt_init()
301 if (!rprobe(s, gdata, geob->datasize, oc->r_val) || in decrypt_init()