diff options
Diffstat (limited to 'botan/build/botan/prf_x942.h')
-rw-r--r-- | botan/build/botan/prf_x942.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/botan/build/botan/prf_x942.h b/botan/build/botan/prf_x942.h new file mode 100644 index 0000000..f957566 --- /dev/null +++ b/botan/build/botan/prf_x942.h @@ -0,0 +1,31 @@ +/* +* X9.42 PRF +* (C) 1999-2007 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ + +#ifndef BOTAN_ANSI_X942_PRF_H__ +#define BOTAN_ANSI_X942_PRF_H__ + +#include <botan/kdf.h> + +namespace Botan { + +/* +* X9.42 PRF +*/ +class BOTAN_DLL X942_PRF : public KDF + { + public: + SecureVector<byte> derive(u32bit, const byte[], u32bit, + const byte[], u32bit) const; + + X942_PRF(const std::string&); + private: + std::string key_wrap_oid; + }; + +} + +#endif |