Lines Matching refs:key
37 static void reference_chacha20_blocks(uint8_t *dst_bytes, const uint32_t *key, uint32_t *counter, s… in reference_chacha20_blocks() argument
41 key[0], key[1], key[2], key[3], key[4], key[5], key[6], key[7], in reference_chacha20_blocks()
77 void __weak __arch_chacha20_blocks_nostack(uint8_t *dst_bytes, const uint32_t *key, uint32_t *count… in __arch_chacha20_blocks_nostack() argument
86 uint32_t key[8], counter1[2], counter2[2]; in main() local
95 if (getrandom(key, sizeof(key), 0) != sizeof(key)) in main()
98 reference_chacha20_blocks(output1, key, counter1, BLOCKS); in main()
103 __arch_chacha20_blocks_nostack(output2, key, counter2, split); in main()
104 __arch_chacha20_blocks_nostack(output2 + split * BLOCK_SIZE, key, counter2, BLOCKS - split); in main()
116 reference_chacha20_blocks(output1, key, counter1, BLOCKS); in main()
117 __arch_chacha20_blocks_nostack(output2, key, counter2, BLOCKS); in main()
123 reference_chacha20_blocks(output1, key, counter1, BLOCKS); in main()
124 __arch_chacha20_blocks_nostack(output2, key, counter2, BLOCKS); in main()