- crypto_auth_hmacsha512256
bool crypto_auth_hmacsha512256(ubyte[crypto_auth_hmacsha512256_BYTES] mac, ubyte[] message, ubyte[crypto_auth_hmacsha512256_KEYBYTES] skey)
The crypto_auth_hmacsha512256() function authenticates a message message using the secret key skey,
and puts the authenticator into mac.
Returns 0? on success.
- crypto_auth_hmacsha512256_bytes (from deimos.sodium.crypto_auth_hmacsha512256)
size_t crypto_auth_hmacsha512256_bytes() via public
import deimos.sodium.crypto_auth_hmacsha512256 : crypto_auth_hmacsha512256_BYTES, crypto_auth_hmacsha512256_bytes, crypto_auth_hmacsha512256_KEYBYTES, crypto_auth_hmacsha512256_keybytes, crypto_auth_hmacsha512256_state, crypto_auth_hmacsha512256_statebytes, crypto_auth_hmacsha512256_keygen;
Undocumented in source.
- crypto_auth_hmacsha512256_final
bool crypto_auth_hmacsha512256_final(crypto_auth_hmacsha512256_state state, ubyte[crypto_auth_hmacsha512256_BYTES] out_)
Undocumented in source. Be warned that the author may not have intended to support it.
- crypto_auth_hmacsha512256_init
bool crypto_auth_hmacsha512256_init(crypto_auth_hmacsha512256_state state, ubyte[] skey)
This alternative API supports a key of arbitrary length
- crypto_auth_hmacsha512256_keybytes (from deimos.sodium.crypto_auth_hmacsha512256)
size_t crypto_auth_hmacsha512256_keybytes() via public
import deimos.sodium.crypto_auth_hmacsha512256 : crypto_auth_hmacsha512256_BYTES, crypto_auth_hmacsha512256_bytes, crypto_auth_hmacsha512256_KEYBYTES, crypto_auth_hmacsha512256_keybytes, crypto_auth_hmacsha512256_state, crypto_auth_hmacsha512256_statebytes, crypto_auth_hmacsha512256_keygen;
Undocumented in source.
- crypto_auth_hmacsha512256_keygen (from deimos.sodium.crypto_auth_hmacsha512256)
void crypto_auth_hmacsha512256_keygen(ubyte[crypto_auth_hmacsha512256_KEYBYTES] k) via public
import deimos.sodium.crypto_auth_hmacsha512256 : crypto_auth_hmacsha512256_BYTES, crypto_auth_hmacsha512256_bytes, crypto_auth_hmacsha512256_KEYBYTES, crypto_auth_hmacsha512256_keybytes, crypto_auth_hmacsha512256_state, crypto_auth_hmacsha512256_statebytes, crypto_auth_hmacsha512256_keygen;
Undocumented in source.
- crypto_auth_hmacsha512256_statebytes (from deimos.sodium.crypto_auth_hmacsha512256)
size_t crypto_auth_hmacsha512256_statebytes() via public
import deimos.sodium.crypto_auth_hmacsha512256 : crypto_auth_hmacsha512256_BYTES, crypto_auth_hmacsha512256_bytes, crypto_auth_hmacsha512256_KEYBYTES, crypto_auth_hmacsha512256_keybytes, crypto_auth_hmacsha512256_state, crypto_auth_hmacsha512256_statebytes, crypto_auth_hmacsha512256_keygen;
Undocumented in source.
- crypto_auth_hmacsha512256_update
bool crypto_auth_hmacsha512256_update(crypto_auth_hmacsha512256_state state, ubyte[] in_)
Undocumented in source. Be warned that the author may not have intended to support it.
- crypto_auth_hmacsha512256_verify
bool crypto_auth_hmacsha512256_verify(ubyte[crypto_auth_hmacsha512256_BYTES] mac, ubyte[] message, ubyte[crypto_auth_hmacsha512256_KEYBYTES] skey)
The crypto_auth_hmacsha512256_verify() function verifies in constant time that h is a correct
authenticator for the message in whose length is inlen under a secret key k .
It returns -1 if the verification fails, and 0 on success.