Lines Matching refs:assert
49 assert(66 <= sizeof out); in tv()
61 assert(crypto_stream_chacha20(out, 0U, nonce, key) == 0); in tv()
62 assert(crypto_stream_chacha20_xor(out, out, 0U, nonce, key) == 0); in tv()
63 assert(crypto_stream_chacha20_xor(out, out, 0U, nonce, key) == 0); in tv()
64 assert(crypto_stream_chacha20_xor_ic(out, out, 0U, nonce, 1U, key) == 0); in tv()
137 assert(66 <= sizeof out); in tv_ietf()
149 assert(crypto_stream_chacha20_ietf(out, 0U, nonce, key) == 0); in tv_ietf()
150 assert(crypto_stream_chacha20_ietf_xor(out, out, 0U, nonce, key) == 0); in tv_ietf()
151 assert(crypto_stream_chacha20_ietf_xor(out, out, 0U, nonce, key) == 0); in tv_ietf()
152 assert(crypto_stream_chacha20_ietf_xor_ic(out, out, 0U, nonce, 1U, key) == 0); in tv_ietf()
174 assert(crypto_stream_chacha20_keybytes() > 0U); in main()
175 assert(crypto_stream_chacha20_keybytes() == crypto_stream_chacha20_KEYBYTES); in main()
176 assert(crypto_stream_chacha20_noncebytes() > 0U); in main()
177 assert(crypto_stream_chacha20_noncebytes() == crypto_stream_chacha20_NONCEBYTES); in main()
178 assert(crypto_stream_chacha20_messagebytes_max() == crypto_stream_chacha20_MESSAGEBYTES_MAX); in main()
179 assert(crypto_stream_chacha20_ietf_keybytes() > 0U); in main()
180 assert(crypto_stream_chacha20_ietf_keybytes() == crypto_stream_chacha20_ietf_KEYBYTES); in main()
181 assert(crypto_stream_chacha20_ietf_noncebytes() > 0U); in main()
182 assert(crypto_stream_chacha20_ietf_noncebytes() == crypto_stream_chacha20_ietf_NONCEBYTES); in main()
183 …assert(crypto_stream_chacha20_ietf_messagebytes_max() == crypto_stream_chacha20_ietf_MESSAGEBYTES_… in main()