Botan  1.10.9
prf_ssl3.h
Go to the documentation of this file.
1 /*
2 * SSLv3 PRF
3 * (C) 1999-2007 Jack Lloyd
4 *
5 * Distributed under the terms of the Botan license
6 */
7 
8 #ifndef BOTAN_SSLV3_PRF_H__
9 #define BOTAN_SSLV3_PRF_H__
10 
11 #include <botan/kdf.h>
12 
13 namespace Botan {
14 
15 /**
16 * PRF used in SSLv3
17 */
18 class BOTAN_DLL SSL3_PRF : public KDF
19  {
20  public:
21  SecureVector<byte> derive(size_t, const byte[], size_t,
22  const byte[], size_t) const;
23 
24  std::string name() const { return "SSL3-PRF"; }
25  KDF* clone() const { return new SSL3_PRF; }
26  };
27 
28 }
29 
30 #endif
std::string name() const
Definition: prf_ssl3.h:24
KDF * clone() const
Definition: prf_ssl3.h:25
unsigned char byte
Definition: types.h:22
Definition: kdf.h:20