Lines Matching refs:input
18 const u8 *input, *output, *assoc, *nonce, *key; member
8889 u8 *computed_output = NULL, *input = NULL; in chacha20poly1305_selftest() local
8894 input = kmalloc(MAXIMUM_TEST_BUFFER_LEN, GFP_KERNEL); in chacha20poly1305_selftest()
8895 if (!computed_output || !input) { in chacha20poly1305_selftest()
8904 chacha20poly1305_enc_vectors[i].input, in chacha20poly1305_selftest()
8924 memcpy(computed_output, chacha20poly1305_enc_vectors[i].input, in chacha20poly1305_selftest()
8947 chacha20poly1305_dec_vectors[i].input, in chacha20poly1305_selftest()
8966 memcpy(computed_output, chacha20poly1305_dec_vectors[i].input, in chacha20poly1305_selftest()
8990 xchacha20poly1305_enc_vectors[i].input, in chacha20poly1305_selftest()
9009 xchacha20poly1305_dec_vectors[i].input, in chacha20poly1305_selftest()
9034 sg_set_buf(&sg_src[k++], input, i); in chacha20poly1305_selftest()
9036 sg_set_buf(&sg_src[k++], input + i, j - i); in chacha20poly1305_selftest()
9038 sg_set_buf(&sg_src[k++], input + j, total_len - j); in chacha20poly1305_selftest()
9041 memset(input, 0, total_len); in chacha20poly1305_selftest()
9051 if (memcmp(computed_output, input, total_len)) in chacha20poly1305_selftest()
9054 input, total_len, NULL, 0, 0, enc_key001)) in chacha20poly1305_selftest()
9064 if (input[k]) in chacha20poly1305_selftest()
9080 kfree(input); in chacha20poly1305_selftest()