libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / crypto_core / salsa20 / core_salsa20_api.c
blob6ea9ee0c1b2d179b6c60ea356cae4f458aee24aa
1 #include "crypto_core_salsa20.h"
3 size_t
4 crypto_core_salsa20_outputbytes(void) {
5 return crypto_core_salsa20_OUTPUTBYTES;
8 size_t
9 crypto_core_salsa20_inputbytes(void) {
10 return crypto_core_salsa20_INPUTBYTES;
13 size_t
14 crypto_core_salsa20_keybytes(void) {
15 return crypto_core_salsa20_KEYBYTES;
18 size_t
19 crypto_core_salsa20_constbytes(void) {
20 return crypto_core_salsa20_CONSTBYTES;
23 const char *
24 crypto_core_salsa20_primitive(void) {
25 return "salsa20";