| H A D | test-cipher.c | 50 static int test_lib_chacha(u8 *revert, u8 *cipher, u8 *plain) 71 chacha_crypt_arch(&chacha_state, cipher, plain, data_size, 20); in test_lib_chacha() 125 static int test_skcipher(char *name, u8 *revert, u8 *cipher, u8 *plain) 172 sg_init_one(&sk.sginp, plain, data_size); in test_skcipher() 237 u8 *plain = NULL, *revert = NULL; in chacha_s390_test_init() 245 plain = vmalloc(data_size); in chacha_s390_test_init() 246 if (!plain) { in chacha_s390_test_init() 247 pr_info("could not allocate plain buffer\n"); in chacha_s390_test_init() 251 memset(plain, 'a', data_size); in chacha_s390_test_init() 252 get_random_bytes(plain, (data_siz in chacha_s390_test_init() 51 test_lib_chacha(u8 * revert,u8 * cipher,u8 * plain) test_lib_chacha() argument 126 test_skcipher(char * name,u8 * revert,u8 * cipher,u8 * plain) test_skcipher() argument 238 u8 *plain = NULL, *revert = NULL; chacha_s390_test_init() local [all...] |