Lines Matching refs:cipher
45 const u8 *cipher; member
123 .cipher = (out), \
127 #define CIPHER_TEST(algo, mode, key, iv, plain, cipher) \ argument
128 CIPHER_XTS_TEST(algo, mode, key, NULL, iv, plain, cipher)
142 .cipher = (out), \
384 u8 *plain = NULL, *cipher = NULL; in test_cipher_perf() local
397 cipher = (u8 *)memalign(CONFIG_SYS_CACHELINE_SIZE, data_size); in test_cipher_perf()
398 if (!cipher) { in test_cipher_perf()
412 ret = crypto_mac(dev, ctx, plain, data_size, cipher); in test_cipher_perf()
415 aad, sizeof(aad), cipher, tag); in test_cipher_perf()
417 ret = crypto_cipher(dev, ctx, plain, cipher, in test_cipher_perf()
431 free(cipher); in test_cipher_perf()
568 "encrypt", MBps, test_data->cipher, out, in test_cipher_result()
573 ret = crypto_cipher(dev, &ctx, test_data->cipher, in test_cipher_result()