Searched refs:crypto_stream_chacha20_MESSAGEBYTES_MAX (Results 1 – 6 of 6) sorted by relevance
31 #define crypto_stream_chacha20_MESSAGEBYTES_MAX SODIUM_SIZE_MAX macro
33 return crypto_stream_chacha20_MESSAGEBYTES_MAX; in crypto_stream_chacha20_messagebytes_max()
80 if (bytes > crypto_stream_chacha20_MESSAGEBYTES_MAX) { in chacha20_encrypt_bytes()
75 if (bytes > crypto_stream_chacha20_MESSAGEBYTES_MAX) { in chacha20_encrypt_bytes()
178 assert(crypto_stream_chacha20_messagebytes_max() == crypto_stream_chacha20_MESSAGEBYTES_MAX); in main()
95 if (bytes > crypto_stream_chacha20_MESSAGEBYTES_MAX) { in chacha20_encrypt_bytes()