Updated documentation
parent
1c2c91945b
commit
3697867fb5
9
hkdf.h
9
hkdf.h
|
|
@ -1,5 +1,8 @@
|
||||||
// hkdf.h - written and placed in public domain by Jeffrey Walton. Copyright assigned to Crypto++ project.
|
// hkdf.h - written and placed in public domain by Jeffrey Walton. Copyright assigned to Crypto++ project.
|
||||||
|
|
||||||
|
//! \file hkdf.h
|
||||||
|
//! \brief Classes for HKDF from RFC 5869
|
||||||
|
|
||||||
#ifndef CRYPTOPP_HASH_KEY_DERIVATION_FUNCTION_H
|
#ifndef CRYPTOPP_HASH_KEY_DERIVATION_FUNCTION_H
|
||||||
#define CRYPTOPP_HASH_KEY_DERIVATION_FUNCTION_H
|
#define CRYPTOPP_HASH_KEY_DERIVATION_FUNCTION_H
|
||||||
|
|
||||||
|
|
@ -23,8 +26,10 @@ public:
|
||||||
virtual ~KeyDerivationFunction() {}
|
virtual ~KeyDerivationFunction() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
//! General, multipurpose KDF from RFC 5869. T should be a HashTransformation class
|
//! \brief Extract-and-Expand Key Derivation Function (HKDF)
|
||||||
//! https://eprint.iacr.org/2010/264 and https://tools.ietf.org/html/rfc5869
|
//! \tparam T HashTransformation class
|
||||||
|
//! \sa <A HREF="http://eprint.iacr.org/2010/264">Cryptographic Extraction and Key Derivation: The HKDF Scheme</A>
|
||||||
|
//! and <A HREF="http://tools.ietf.org/html/rfc5869">HMAC-based Extract-and-Expand Key Derivation Function (HKDF)</A>
|
||||||
template <class T>
|
template <class T>
|
||||||
class HKDF : public KeyDerivationFunction
|
class HKDF : public KeyDerivationFunction
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue