aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/lookup.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-03-30 18:27:18 +0000
committerlloyd <[email protected]>2009-03-30 18:27:18 +0000
commit96d6eb6f29c55e16a37cf11899547886f735b065 (patch)
tree9f13901e9b44c98d58b2589c9b09c6a7443eb7cd /src/libstate/lookup.h
parent3cc3dd72c5f87b76852a55c1f2d1821dba967d8c (diff)
Thomas Moschny passed along a request from the Fedora packagers which came
up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
Diffstat (limited to 'src/libstate/lookup.h')
-rw-r--r--src/libstate/lookup.h40
1 files changed, 21 insertions, 19 deletions
diff --git a/src/libstate/lookup.h b/src/libstate/lookup.h
index a00cd3fb1..0f48dddfb 100644
--- a/src/libstate/lookup.h
+++ b/src/libstate/lookup.h
@@ -1,7 +1,9 @@
-/*************************************************
-* Algorithm Lookup Header File *
-* (C) 1999-2007 Jack Lloyd *
-*************************************************/
+/*
+* Algorithm Lookup
+* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
#ifndef BOTAN_LOOKUP_H__
#define BOTAN_LOOKUP_H__
@@ -20,9 +22,9 @@
namespace Botan {
-/*************************************************
-* Retrieve an object from the lookup table *
-*************************************************/
+/*
+* Retrieve an object from the lookup table
+*/
// NOTE: these functions return internally stored objects, library
// retains ownership
@@ -38,9 +40,9 @@ retrieve_hash(const std::string&);
BOTAN_DLL const MessageAuthenticationCode*
retrieve_mac(const std::string&);
-/*************************************************
-* Get an algorithm object *
-*************************************************/
+/*
+* Get an algorithm object
+*/
// NOTE: these functions create and return new objects, letting the
// caller assume ownership of them
@@ -80,9 +82,9 @@ BOTAN_DLL MessageAuthenticationCode* get_mac(const std::string& name);
*/
BOTAN_DLL S2K* get_s2k(const std::string& name);
-/*************************************************
-* Get an EMSA/EME/KDF/MGF function *
-*************************************************/
+/*
+* Get an EMSA/EME/KDF/MGF function
+*/
// NOTE: these functions create and return new objects, letting the
// caller assume ownership of them
@@ -108,9 +110,9 @@ BOTAN_DLL EMSA* get_emsa(const std::string& name);
*/
BOTAN_DLL KDF* get_kdf(const std::string& name);
-/*************************************************
-* Get a cipher object *
-*************************************************/
+/*
+* Get a cipher object
+*/
/**
* Factory method for general symmetric cipher filters.
@@ -184,9 +186,9 @@ BOTAN_DLL bool have_hash(const std::string& name);
*/
BOTAN_DLL bool have_mac(const std::string& name);
-/*************************************************
-* Query information about an algorithm *
-*************************************************/
+/*
+* Query information about an algorithm
+*/
/**
* Find out the block size of a certain symmetric algorithm.