Searched refs:test_blowfish (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavutil/tests/ |
D | blowfish.c | 128 static void test_blowfish(AVBlowfish *ctx, uint8_t *dst, const uint8_t *src, in test_blowfish() function 158 test_blowfish(ctx, tmp, plaintext, ciphertext, 1, NULL, 0, "encryption"); in main() 159 test_blowfish(ctx, tmp, ciphertext, plaintext, 1, NULL, 1, "decryption"); in main() 160 test_blowfish(ctx, tmp, tmp, ciphertext, 1, NULL, 0, "Inplace encryption"); in main() 161 test_blowfish(ctx, tmp, tmp, plaintext, 1, NULL, 1, "Inplace decryption"); in main() 163 test_blowfish(ctx, tmp, plaintext2, ciphertext2, 2, iv, 0, "CBC encryption"); in main() 165 test_blowfish(ctx, tmp, ciphertext2, plaintext2, 2, iv, 1, "CBC decryption"); in main() 167 test_blowfish(ctx, tmp, tmp, ciphertext2, 2, iv, 0, "Inplace CBC encryption"); in main() 169 test_blowfish(ctx, tmp, tmp, plaintext2, 2, iv, 1, "Inplace CBC decryption"); in main()
|