aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-28 17:15:36 +0000
committerlloyd <[email protected]>2008-10-28 17:15:36 +0000
commit73161c7a43c90f31d16c32ab18cc8d6873c094c0 (patch)
treea1f6f2d71b3b95b8b588b2bc62134daa7e63aa00 /src/libstate
parent5f35fe7bd6f1a94585447763150d0b4fe772e1bd (diff)
Wrap lines to 80 columns
Diffstat (limited to 'src/libstate')
-rw-r--r--src/libstate/lookup.h28
-rw-r--r--src/libstate/policy.cpp3
2 files changed, 21 insertions, 10 deletions
diff --git a/src/libstate/lookup.h b/src/libstate/lookup.h
index 75bfbccf3..1accc82e2 100644
--- a/src/libstate/lookup.h
+++ b/src/libstate/lookup.h
@@ -20,7 +20,8 @@ namespace Botan {
/*************************************************
* Retrieve an object from the lookup table *
*************************************************/
-// NOTE: these functions return internally stored objects, library retains ownership
+// NOTE: these functions return internally stored objects, library
+// retains ownership
BOTAN_DLL const BlockCipher*
retrieve_block_cipher(Library_State&, const std::string&);
@@ -42,7 +43,8 @@ retrieve_bc_pad(Library_State&, const std::string&);
/*************************************************
* Get an algorithm object *
*************************************************/
-// NOTE: these functions create and return new objects, letting the caller assume ownership of them
+// NOTE: these functions create and return new objects, letting the
+// caller assume ownership of them
/**
* Block cipher factory method.
@@ -85,12 +87,14 @@ BOTAN_DLL S2K* get_s2k(const std::string& name);
* @param name the name of the desired block cipher padding mode
* @return the block cipher padding mode object
*/
-BOTAN_DLL const BlockCipherModePaddingMethod* get_bc_pad(const std::string& name);
+BOTAN_DLL const BlockCipherModePaddingMethod*
+ get_bc_pad(const std::string& name);
/*************************************************
* Get an EMSA/EME/KDF/MGF function *
*************************************************/
-// NOTE: these functions create and return new objects, letting the caller assume ownership of them
+// NOTE: these functions create and return new objects, letting the
+// caller assume ownership of them
/**
* Factory method for EME (message-encoding methods for encryption) objects
@@ -100,7 +104,8 @@ BOTAN_DLL const BlockCipherModePaddingMethod* get_bc_pad(const std::string& name
BOTAN_DLL EME* get_eme(const std::string& name);
/**
-* Factory method for EMSA (message-encoding methods for signatures with appendix) objects
+* Factory method for EMSA (message-encoding methods for signatures
+* with appendix) objects
* @param name the name of the EME to create
* @return the desired EME object
*/
@@ -127,7 +132,8 @@ BOTAN_DLL KDF* get_kdf(const std::string& name);
/**
* Factory method for general symmetric cipher filters.
* @param name the name of the desired cipher
-* @param key the key to be used for encryption/decryption performed by the filter
+* @param key the key to be used for encryption/decryption performed by
+* the filter
* @param iv the initialization vector to be used
* @param dir determines whether the filter will be an encrypting or decrypting
* filter
@@ -140,7 +146,8 @@ BOTAN_DLL Keyed_Filter* get_cipher(const std::string& name,
/**
* Factory method for general symmetric cipher filters.
* @param name the name of the desired cipher
-* @param key the key to be used for encryption/decryption performed by the filter
+* @param key the key to be used for encryption/decryption performed by
+* the filter
* @param dir determines whether the filter will be an encrypting or decrypting
* filter
* @return the encryption or decryption filter
@@ -152,7 +159,9 @@ BOTAN_DLL Keyed_Filter* get_cipher(const std::string& name,
/** Factory method for general symmetric cipher filters. No key will
* be set in the filter.
* @param name the name of the desired cipher
-* @param dir determines whether the filter will be an encrypting or decrypting filter
+
+* @param dir determines whether the filter will be an encrypting or
+* decrypting filter
* @return the encryption or decryption filter
*/
BOTAN_DLL Keyed_Filter* get_cipher(const std::string& name, Cipher_Dir dir);
@@ -211,7 +220,8 @@ BOTAN_DLL u32bit block_size_of(const std::string& name);
BOTAN_DLL u32bit output_length_of(const std::string& name);
/**
-* Find out the whether a certain key length is allowd for a given symmetric algorithm.
+* Find out the whether a certain key length is allowd for a given
+* symmetric algorithm.
* @param keylen the key length in question
* @param name the name of the algorithm
* @return true if the key length is valid for that algorithm, false otherwise
diff --git a/src/libstate/policy.cpp b/src/libstate/policy.cpp
index e411ed111..2aa5408e5 100644
--- a/src/libstate/policy.cpp
+++ b/src/libstate/policy.cpp
@@ -181,7 +181,8 @@ void set_default_oids(Library_State& config)
add_oid(config, "1.3.6.1.5.5.7.8.5", "PKIX.XMPPAddr");
/* CVC */
- add_oid(config, "0.4.0.127.0.7.3.1.2.1", "CertificateHolderAuthorizationTemplate");
+ add_oid(config, "0.4.0.127.0.7.3.1.2.1",
+ "CertificateHolderAuthorizationTemplate");
}
/*************************************************