Searched refs:cipher_s390 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/crypto/chacha20-s390/ |
H A D | test-cipher.c | 239 u8 *cipher_generic = NULL, *cipher_s390 = NULL; in chacha_s390_test_init() local 262 cipher_s390 = vzalloc(data_size); in chacha_s390_test_init() 263 if (!cipher_s390) { in chacha_s390_test_init() 297 ret = test_skcipher("chacha20-s390", revert, cipher_s390, plain); in chacha_s390_test_init() 309 if (memcmp(cipher_generic, cipher_s390, data_size)) { in chacha_s390_test_init() 317 memset(cipher_s390, 0, data_size); in chacha_s390_test_init() 321 test_lib_chacha(revert, cipher_s390, plain); in chacha_s390_test_init() 331 if (memcmp(cipher_generic, cipher_s390, data_size)) { in chacha_s390_test_init() 346 if (cipher_s390) in chacha_s390_test_init() 347 vfree(cipher_s390); in chacha_s390_test_init()
|