libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / crypto_generichash / blake2 / generichash_blake2_api.c
blobc62693f600ac289da1aabbc35199ec1e26250823
1 #include "crypto_generichash_blake2b.h"
3 size_t
4 crypto_generichash_blake2b_bytes_min(void) {
5 return crypto_generichash_blake2b_BYTES_MIN;
8 size_t
9 crypto_generichash_blake2b_bytes_max(void) {
10 return crypto_generichash_blake2b_BYTES_MAX;
13 size_t
14 crypto_generichash_blake2b_keybytes_min(void) {
15 return crypto_generichash_blake2b_KEYBYTES_MIN;
18 size_t
19 crypto_generichash_blake2b_keybytes_max(void) {
20 return crypto_generichash_blake2b_KEYBYTES_MAX;
23 size_t
24 crypto_generichash_blake2b_blockbytes(void) {
25 return crypto_generichash_blake2b_BLOCKBYTES;
28 const char *
29 crypto_generichash_blake2b_blockbytes_primitive(void) {
30 return "blake2b";