Lines Matching refs:cipher
50 /* Perform cipher operations with the chacha lib */
51 static int test_lib_chacha(u8 *revert, u8 *cipher, u8 *plain)
72 chacha_crypt_arch(chacha_state, cipher, plain, data_size, 20);
78 16, 1, cipher,
87 chacha_crypt_arch(chacha_state, revert, cipher, data_size, 20);
100 /* Perform cipher operations with skcipher */
125 /* Initialize and trigger cipher operations */
126 static int test_skcipher(char *name, u8 *revert, u8 *cipher, u8 *plain)
174 sg_init_one(&sk.sgout, cipher, data_size);
191 16, 1, cipher,
197 sg_init_one(&sk.sginp, cipher, data_size);