Home
last modified time | relevance | path

Searched refs:cipher_generic (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/crypto/chacha20-s390/
H A Dtest-cipher.c239 u8 *cipher_generic = NULL, *cipher_s390 = NULL; in chacha_s390_test_init() local
255 cipher_generic = vzalloc(data_size); in chacha_s390_test_init()
256 if (!cipher_generic) { in chacha_s390_test_init()
282 ret = test_skcipher("chacha20-generic", revert, cipher_generic, plain); in chacha_s390_test_init()
309 if (memcmp(cipher_generic, cipher_s390, data_size)) { in chacha_s390_test_init()
331 if (memcmp(cipher_generic, cipher_s390, data_size)) { in chacha_s390_test_init()
344 if (cipher_generic) in chacha_s390_test_init()
345 vfree(cipher_generic); in chacha_s390_test_init()