Lines Matching refs:counter2
85 uint32_t key[8], counter1[2], counter2[2]; in main() local
100 memset(counter2, 0, sizeof(counter2)); in main()
102 __arch_chacha20_blocks_nostack(output2, key, counter2, split); in main()
103 __arch_chacha20_blocks_nostack(output2 + split * BLOCK_SIZE, key, counter2, BLOCKS - split); in main()
106 if (memcmp(counter1, counter2, sizeof(counter1))) in main()
112 memset(counter2, 0, sizeof(counter2)); in main()
113 counter2[0] = (uint32_t)-BLOCKS + 2; in main()
116 __arch_chacha20_blocks_nostack(output2, key, counter2, BLOCKS); in main()
119 if (memcmp(counter1, counter2, sizeof(counter1))) in main()
123 __arch_chacha20_blocks_nostack(output2, key, counter2, BLOCKS); in main()
126 if (memcmp(counter1, counter2, sizeof(counter1))) in main()