Lines Matching refs:computed_output
8889 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()
8946 ret = chacha20poly1305_decrypt(computed_output, in chacha20poly1305_selftest()
8955 memcmp(computed_output, in chacha20poly1305_selftest()
8966 memcpy(computed_output, chacha20poly1305_dec_vectors[i].input, in chacha20poly1305_selftest()
8968 sg_init_one(sg_src, computed_output, in chacha20poly1305_selftest()
8978 memcmp(computed_output, chacha20poly1305_dec_vectors[i].output, in chacha20poly1305_selftest()
8988 memset(computed_output, 0, MAXIMUM_TEST_BUFFER_LEN); in chacha20poly1305_selftest()
8989 xchacha20poly1305_encrypt(computed_output, in chacha20poly1305_selftest()
8996 if (memcmp(computed_output, in chacha20poly1305_selftest()
9007 memset(computed_output, 0, MAXIMUM_TEST_BUFFER_LEN); in chacha20poly1305_selftest()
9008 ret = xchacha20poly1305_decrypt(computed_output, in chacha20poly1305_selftest()
9017 memcmp(computed_output, in chacha20poly1305_selftest()
9040 memset(computed_output, 0, total_len); in chacha20poly1305_selftest()
9047 chacha20poly1305_encrypt(computed_output, in chacha20poly1305_selftest()
9048 computed_output, in chacha20poly1305_selftest()
9051 if (memcmp(computed_output, input, total_len)) in chacha20poly1305_selftest()
9053 if (!chacha20poly1305_decrypt(computed_output, in chacha20poly1305_selftest()
9057 if (computed_output[k]) in chacha20poly1305_selftest()
9079 kfree(computed_output); in chacha20poly1305_selftest()