Home
last modified time | relevance | path

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

/linux/lib/crypto/
H A Dchacha20poly1305-selftest.c8889 u8 *computed_output = NULL, *input = NULL; in chacha20poly1305_selftest() local
8893 computed_output = kmalloc(MAXIMUM_TEST_BUFFER_LEN, GFP_KERNEL); in chacha20poly1305_selftest()
8895 if (!computed_output || !input) { in chacha20poly1305_selftest()
8902 memset(computed_output, 0, MAXIMUM_TEST_BUFFER_LEN); in chacha20poly1305_selftest()
8903 chacha20poly1305_selftest_encrypt(computed_output, in chacha20poly1305_selftest()
8911 if (memcmp(computed_output, in chacha20poly1305_selftest()
8924 memcpy(computed_output, chacha20poly1305_enc_vectors[i].input, in chacha20poly1305_selftest()
8926 sg_init_one(sg_src, computed_output, in chacha20poly1305_selftest()
8934 if (!ret || memcmp(computed_output, in chacha20poly1305_selftest()
8945 memset(computed_output, 0, MAXIMUM_TEST_BUFFER_LEN); in chacha20poly1305_selftest()
[all …]