Searched refs:des_encdec (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavutil/ |
D | des.c | 254 static uint64_t des_encdec(uint64_t in, uint64_t K[16], int decrypt) in des_encdec() function 300 src_val = des_encdec(src_val, d->round_keys[2], 1); in av_des_crypt_mac() 301 src_val = des_encdec(src_val, d->round_keys[1], 0); in av_des_crypt_mac() 303 dst_val = des_encdec(src_val, d->round_keys[0], 1) ^ iv_val; in av_des_crypt_mac() 306 dst_val = des_encdec(src_val ^ iv_val, d->round_keys[0], 0); in av_des_crypt_mac() 308 dst_val = des_encdec(dst_val, d->round_keys[1], 1); in av_des_crypt_mac() 309 dst_val = des_encdec(dst_val, d->round_keys[2], 0); in av_des_crypt_mac()
|
/third_party/ffmpeg/libavutil/tests/ |
D | des.c | 88 if (des_encdec(data.word, roundkeys, 0) != AV_RB64(crypt_ref)) { in main()
|