Home
last modified time | relevance | path

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

/linux/lib/crypto/tests/
H A Dchacha20poly1305_kunit.c8889 u8 *computed_output = NULL, *input = NULL; in test_chacha20poly1305() local
8893 computed_output = kunit_kmalloc(test, MAXIMUM_TEST_BUFFER_LEN, in test_chacha20poly1305()
8896 KUNIT_ASSERT_NOT_NULL(test, computed_output); in test_chacha20poly1305()
8900 memset(computed_output, 0, MAXIMUM_TEST_BUFFER_LEN); in test_chacha20poly1305()
8901 chacha20poly1305_test_encrypt(test, computed_output, in test_chacha20poly1305()
8911 memcmp(computed_output, in test_chacha20poly1305()
8921 memcpy(computed_output, chacha20poly1305_enc_vectors[i].input, in test_chacha20poly1305()
8923 sg_init_one(sg_src, computed_output, in test_chacha20poly1305()
8933 ret && memcmp(computed_output, in test_chacha20poly1305()
8941 memset(computed_output, 0, MAXIMUM_TEST_BUFFER_LEN); in test_chacha20poly1305()
[all …]