aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf/ssl_prf
diff options
context:
space:
mode:
Diffstat (limited to 'src/kdf/ssl_prf')
-rw-r--r--src/kdf/ssl_prf/prf_ssl3.cpp22
-rw-r--r--src/kdf/ssl_prf/prf_ssl3.h16
2 files changed, 21 insertions, 17 deletions
diff --git a/src/kdf/ssl_prf/prf_ssl3.cpp b/src/kdf/ssl_prf/prf_ssl3.cpp
index 3d4444613..2b67644d2 100644
--- a/src/kdf/ssl_prf/prf_ssl3.cpp
+++ b/src/kdf/ssl_prf/prf_ssl3.cpp
@@ -1,7 +1,9 @@
-/*************************************************
-* SSLv3 PRF Source File *
-* (C) 2004-2006 Jack Lloyd *
-*************************************************/
+/*
+* SSLv3 PRF
+* (C) 2004-2006 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
#include <botan/prf_ssl3.h>
#include <botan/symkey.h>
@@ -14,9 +16,9 @@ namespace Botan {
namespace {
-/*************************************************
-* Return the next inner hash *
-*************************************************/
+/*
+* Return the next inner hash
+*/
OctetString next_hash(u32bit where, u32bit want,
HashFunction& md5, HashFunction& sha1,
const byte secret[], u32bit secret_len,
@@ -42,9 +44,9 @@ OctetString next_hash(u32bit where, u32bit want,
}
-/*************************************************
-* SSL3 PRF *
-*************************************************/
+/*
+* SSL3 PRF
+*/
SecureVector<byte> SSL3_PRF::derive(u32bit key_len,
const byte secret[], u32bit secret_len,
const byte seed[], u32bit seed_len) const
diff --git a/src/kdf/ssl_prf/prf_ssl3.h b/src/kdf/ssl_prf/prf_ssl3.h
index b8f498832..165fc7c3c 100644
--- a/src/kdf/ssl_prf/prf_ssl3.h
+++ b/src/kdf/ssl_prf/prf_ssl3.h
@@ -1,7 +1,9 @@
-/*************************************************
-* SSLv3 PRF Header File *
-* (C) 1999-2007 Jack Lloyd *
-*************************************************/
+/*
+* SSLv3 PRF
+* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
#ifndef BOTAN_SSLV3_PRF_H__
#define BOTAN_SSLV3_PRF_H__
@@ -10,9 +12,9 @@
namespace Botan {
-/*************************************************
-* SSL3 PRF *
-*************************************************/
+/*
+* SSL3 PRF
+*/
class BOTAN_DLL SSL3_PRF : public KDF
{
public: