aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/sha1_ia32
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/sha1_ia32')
-rw-r--r--src/hash/sha1_ia32/sha1_ia32.cpp16
-rw-r--r--src/hash/sha1_ia32/sha1_ia32.h16
2 files changed, 18 insertions, 14 deletions
diff --git a/src/hash/sha1_ia32/sha1_ia32.cpp b/src/hash/sha1_ia32/sha1_ia32.cpp
index 5c3e56a73..0fa0b6bf2 100644
--- a/src/hash/sha1_ia32/sha1_ia32.cpp
+++ b/src/hash/sha1_ia32/sha1_ia32.cpp
@@ -1,7 +1,9 @@
-/*************************************************
-* SHA-160 (IA-32) Source File *
-* (C) 1999-2007 Jack Lloyd *
-*************************************************/
+/*
+* SHA-160 (IA-32)
+* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
#include <botan/sha1_ia32.h>
#include <botan/loadstor.h>
@@ -15,9 +17,9 @@ void botan_sha160_ia32_compress(u32bit[5], const byte[64], u32bit[81]);
}
-/*************************************************
-* SHA-160 Compression Function *
-*************************************************/
+/*
+* SHA-160 Compression Function
+*/
void SHA_160_IA32::compress_n(const byte input[], u32bit blocks)
{
for(u32bit i = 0; i != blocks; ++i)
diff --git a/src/hash/sha1_ia32/sha1_ia32.h b/src/hash/sha1_ia32/sha1_ia32.h
index 403095f11..fd34971cb 100644
--- a/src/hash/sha1_ia32/sha1_ia32.h
+++ b/src/hash/sha1_ia32/sha1_ia32.h
@@ -1,7 +1,9 @@
-/*************************************************
-* SHA-160 (IA-32) Header File *
-* (C) 1999-2007 Jack Lloyd *
-*************************************************/
+/*
+* SHA-160 (IA-32)
+* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
#ifndef BOTAN_SHA_160_IA32_H__
#define BOTAN_SHA_160_IA32_H__
@@ -10,9 +12,9 @@
namespace Botan {
-/*************************************************
-* SHA-160 *
-*************************************************/
+/*
+* SHA-160
+*/
class BOTAN_DLL SHA_160_IA32 : public SHA_160
{
public: