From 9bcfe627321ddc81691b835dffaa6324ac4684a4 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 28 Sep 2008 19:29:24 +0000 Subject: Move all modules into src/ directory --- src/kdf/tlsv1/prf_tls.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/kdf/tlsv1/prf_tls.h (limited to 'src/kdf/tlsv1/prf_tls.h') diff --git a/src/kdf/tlsv1/prf_tls.h b/src/kdf/tlsv1/prf_tls.h new file mode 100644 index 000000000..ebd0815ca --- /dev/null +++ b/src/kdf/tlsv1/prf_tls.h @@ -0,0 +1,29 @@ +/************************************************* +* TLS v1.0 PRF Header File * +* (C) 1999-2007 Jack Lloyd * +*************************************************/ + +#ifndef BOTAN_TLS_PRF__ +#define BOTAN_TLS_PRF__ + +#include + +namespace Botan { + +/************************************************* +* TLS PRF * +*************************************************/ +class BOTAN_DLL TLS_PRF : public KDF + { + public: + SecureVector derive(u32bit, const byte[], u32bit, + const byte[], u32bit) const; + private: + SecureVector P_hash(const std::string&, u32bit, + const byte[], u32bit, + const byte[], u32bit) const; + }; + +} + +#endif -- cgit v1.2.3