7#ifndef YARP_OS_IMPL_AUTHHMAC_H
8#define YARP_OS_IMPL_AUTHHMAC_H
15#define DIGEST_SIZE SHA256_DIGEST_SIZE
16#define HMAC_CONTEXT hmac_sha256_ctx
17#define HMAC_INIT hmac_sha256_init
18#define HMAC_REINIT hmac_sha256_reinit
19#define HMAC_UPDATE hmac_sha256_update
20#define HMAC_FINAL hmac_sha256_final
47 static bool check_hmac(
unsigned char*
mac,
unsigned char*
mac_check);
48 static void fill_nonce(
unsigned char*
nonce);
50 bool authentication_enabled;
A mini-server for performing network communication in the background.
Simple specification of the minimum functions needed from output streams.
3-way authentication via HMAC
virtual ~AuthHMAC()=default
Destructor.
The components from which ports and connections are built.