Searched refs:crypto_stream_xchacha20_KEYBYTES (Results 1 – 3 of 3) sorted by relevance
13 return crypto_stream_xchacha20_KEYBYTES; in crypto_stream_xchacha20_keybytes()66 unsigned char k[crypto_stream_xchacha20_KEYBYTES]) in crypto_stream_xchacha20_keygen() argument68 randombytes_buf(k, crypto_stream_xchacha20_KEYBYTES); in crypto_stream_xchacha20_keygen()
23 #define crypto_stream_xchacha20_KEYBYTES 32U macro51 void crypto_stream_xchacha20_keygen(unsigned char k[crypto_stream_xchacha20_KEYBYTES]);
84 const char key[crypto_stream_xchacha20_KEYBYTES * 2 + 1];113 key = (unsigned char *) sodium_malloc(crypto_stream_xchacha20_KEYBYTES); in tv_stream_xchacha20()119 sodium_hex2bin(key, crypto_stream_xchacha20_KEYBYTES, in tv_stream_xchacha20()174 memset(key, 0, crypto_stream_xchacha20_KEYBYTES); in tv_stream_xchacha20()176 assert(sodium_is_zero(key, crypto_stream_xchacha20_KEYBYTES) == 0); in tv_stream_xchacha20()185 assert(crypto_stream_xchacha20_keybytes() == crypto_stream_xchacha20_KEYBYTES); in tv_stream_xchacha20()