Lines Matching refs:dst
210 static void twofish_encrypt(AVTWOFISH *cs, uint8_t *dst, const uint8_t *src)
232 AV_WL32(dst, P[2]);
233 AV_WL32(dst + 4, P[3]);
234 AV_WL32(dst + 8, P[0]);
235 AV_WL32(dst + 12, P[1]);
238 static void twofish_decrypt(AVTWOFISH *cs, uint8_t *dst, const uint8_t *src, uint8_t *iv)
267 AV_WL32(dst, P[0]);
268 AV_WL32(dst + 4, P[1]);
269 AV_WL32(dst + 8, P[2]);
270 AV_WL32(dst + 12, P[3]);
316 void av_twofish_crypt(AVTWOFISH *cs, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt)
321 twofish_decrypt(cs, dst, src, iv);
325 dst[i] = src[i] ^ iv[i];
326 twofish_encrypt(cs, dst, dst);
327 memcpy(iv, dst, 16);
329 twofish_encrypt(cs, dst, src);
333 dst = dst + 16;