repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git]
/
release
/
src
/
router
/
libsodium
/
src
/
libsodium
/
crypto_auth
/
hmacsha256
/
auth_hmacsha256_api.c
blob
0ac96dcd9bb14de67c0ba8c8b647a58b327ff55b
1
#include
"crypto_auth_hmacsha256.h"
2
3
size_t
4
crypto_auth_hmacsha256_bytes
(
void
) {
5
return
crypto_auth_hmacsha256_BYTES
;
6
}
7
8
size_t
9
crypto_auth_hmacsha256_keybytes
(
void
) {
10
return
crypto_auth_hmacsha256_KEYBYTES
;
11
}
12
13
const char
*
14
crypto_auth_hmacsha256_primitive
(
void
) {
15
return
"hmacsha256"
;
16
}