blob: ebd0815ca2b5c5698ee6445c3f81f2f16e48140a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*************************************************
* TLS v1.0 PRF Header File *
* (C) 1999-2007 Jack Lloyd *
*************************************************/
#ifndef BOTAN_TLS_PRF__
#define BOTAN_TLS_PRF__
#include <botan/pk_util.h>
namespace Botan {
/*************************************************
* TLS PRF *
*************************************************/
class BOTAN_DLL TLS_PRF : public KDF
{
public:
SecureVector<byte> derive(u32bit, const byte[], u32bit,
const byte[], u32bit) const;
private:
SecureVector<byte> P_hash(const std::string&, u32bit,
const byte[], u32bit,
const byte[], u32bit) const;
};
}
#endif
|