Kea 3.0.0
crypto_hmac.h File Reference
#include <util/buffer.h>
#include <boost/noncopyable.hpp>
#include <cryptolink/cryptolink.h>
Include dependency graph for crypto_hmac.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

 HMAC support. More...

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.

Functions

void isc::cryptolink::deleteHMAC (HMAC *hmac)
 Delete an HMAC object.
void isc::cryptolink::signHMAC (const void *data, const size_t data_len, const void *secret, size_t secret_len, const HashAlgorithm hash_algorithm, isc::util::OutputBuffer &result, size_t len=0)
 Create an HMAC signature for the given data.
bool isc::cryptolink::verifyHMAC (const void *data, const size_t data_len, const void *secret, size_t secret_len, const HashAlgorithm hash_algorithm, const void *sig, const size_t sig_len)
 Verify an HMAC signature for the given data.