Update documentation
parent
46993f10f4
commit
3fc7b104e6
1
config.h
1
config.h
|
|
@ -151,6 +151,7 @@
|
||||||
//! the namespace, there are two additional namespaces.
|
//! the namespace, there are two additional namespaces.
|
||||||
//! <ul>
|
//! <ul>
|
||||||
//! <li>Name - namespace for names used with \p NameValuePairs and documented in argnames.h
|
//! <li>Name - namespace for names used with \p NameValuePairs and documented in argnames.h
|
||||||
|
//! <li>Test - namespace for testing and benchmarks classes
|
||||||
//! <li>Weak - namespace for weak and wounded algorithms, like ARC4, MD5 and Pananma
|
//! <li>Weak - namespace for weak and wounded algorithms, like ARC4, MD5 and Pananma
|
||||||
//! </ul>
|
//! </ul>
|
||||||
namespace CryptoPP { }
|
namespace CryptoPP { }
|
||||||
|
|
|
||||||
19
cryptlib.h
19
cryptlib.h
|
|
@ -476,6 +476,13 @@ DOCUMENTED_NAMESPACE_BEGIN(Weak)
|
||||||
DOCUMENTED_NAMESPACE_END
|
DOCUMENTED_NAMESPACE_END
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//! \brief Namespace containing testing and benchmark classes.
|
||||||
|
//! \details Source files for classes in the Test namespaces include
|
||||||
|
//! <tt>test.cpp</tt>, <tt>validat#.cpp</tt> and <tt>bench#.cpp</tt>.
|
||||||
|
DOCUMENTED_NAMESPACE_BEGIN(Test)
|
||||||
|
// testing and benchmark classes
|
||||||
|
DOCUMENTED_NAMESPACE_END
|
||||||
|
|
||||||
//! \brief An empty set of name-value pairs
|
//! \brief An empty set of name-value pairs
|
||||||
extern CRYPTOPP_DLL const NameValuePairs &g_nullNameValuePairs;
|
extern CRYPTOPP_DLL const NameValuePairs &g_nullNameValuePairs;
|
||||||
|
|
||||||
|
|
@ -1847,7 +1854,7 @@ public:
|
||||||
//! \param inByte the 8-bit byte (octet) to be processed.
|
//! \param inByte the 8-bit byte (octet) to be processed.
|
||||||
//! \param blocking specifies whether the object should block when processing input.
|
//! \param blocking specifies whether the object should block when processing input.
|
||||||
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
||||||
//! number of bytes that were \a not processed.
|
//! number of bytes that were not processed.
|
||||||
size_t ChannelPut(const std::string &channel, byte inByte, bool blocking=true)
|
size_t ChannelPut(const std::string &channel, byte inByte, bool blocking=true)
|
||||||
{return ChannelPut(channel, &inByte, 1, blocking);}
|
{return ChannelPut(channel, &inByte, 1, blocking);}
|
||||||
|
|
||||||
|
|
@ -1857,7 +1864,7 @@ public:
|
||||||
//! \param length the size of the string, in bytes
|
//! \param length the size of the string, in bytes
|
||||||
//! \param blocking specifies whether the object should block when processing input
|
//! \param blocking specifies whether the object should block when processing input
|
||||||
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
||||||
//! number of bytes that were \a not processed.
|
//! number of bytes that were not processed.
|
||||||
size_t ChannelPut(const std::string &channel, const byte *inString, size_t length, bool blocking=true)
|
size_t ChannelPut(const std::string &channel, const byte *inString, size_t length, bool blocking=true)
|
||||||
{return ChannelPut2(channel, inString, length, 0, blocking);}
|
{return ChannelPut2(channel, inString, length, 0, blocking);}
|
||||||
|
|
||||||
|
|
@ -1867,7 +1874,7 @@ public:
|
||||||
//! \param length the size of the string, in bytes
|
//! \param length the size of the string, in bytes
|
||||||
//! \param blocking specifies whether the object should block when processing input
|
//! \param blocking specifies whether the object should block when processing input
|
||||||
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
||||||
//! number of bytes that were \a not processed.
|
//! number of bytes that were not processed.
|
||||||
size_t ChannelPutModifiable(const std::string &channel, byte *inString, size_t length, bool blocking=true)
|
size_t ChannelPutModifiable(const std::string &channel, byte *inString, size_t length, bool blocking=true)
|
||||||
{return ChannelPutModifiable2(channel, inString, length, 0, blocking);}
|
{return ChannelPutModifiable2(channel, inString, length, 0, blocking);}
|
||||||
|
|
||||||
|
|
@ -1877,7 +1884,7 @@ public:
|
||||||
//! \param order the ByteOrder of the value to be processed.
|
//! \param order the ByteOrder of the value to be processed.
|
||||||
//! \param blocking specifies whether the object should block when processing input.
|
//! \param blocking specifies whether the object should block when processing input.
|
||||||
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
||||||
//! number of bytes that were \a not processed.
|
//! number of bytes that were not processed.
|
||||||
size_t ChannelPutWord16(const std::string &channel, word16 value, ByteOrder order=BIG_ENDIAN_ORDER, bool blocking=true);
|
size_t ChannelPutWord16(const std::string &channel, word16 value, ByteOrder order=BIG_ENDIAN_ORDER, bool blocking=true);
|
||||||
|
|
||||||
//! \brief Input a 32-bit word for processing on a channel.
|
//! \brief Input a 32-bit word for processing on a channel.
|
||||||
|
|
@ -1886,7 +1893,7 @@ public:
|
||||||
//! \param order the ByteOrder of the value to be processed.
|
//! \param order the ByteOrder of the value to be processed.
|
||||||
//! \param blocking specifies whether the object should block when processing input.
|
//! \param blocking specifies whether the object should block when processing input.
|
||||||
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
||||||
//! number of bytes that were \a not processed.
|
//! number of bytes that were not processed.
|
||||||
size_t ChannelPutWord32(const std::string &channel, word32 value, ByteOrder order=BIG_ENDIAN_ORDER, bool blocking=true);
|
size_t ChannelPutWord32(const std::string &channel, word32 value, ByteOrder order=BIG_ENDIAN_ORDER, bool blocking=true);
|
||||||
|
|
||||||
//! \brief Signal the end of a message
|
//! \brief Signal the end of a message
|
||||||
|
|
@ -1894,7 +1901,7 @@ public:
|
||||||
//! \param propagation the number of attached transformations the ChannelMessageEnd() signal should be passed
|
//! \param propagation the number of attached transformations the ChannelMessageEnd() signal should be passed
|
||||||
//! \param blocking specifies whether the object should block when processing input
|
//! \param blocking specifies whether the object should block when processing input
|
||||||
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
//! \return 0 indicates all bytes were processed during the call. Non-0 indicates the
|
||||||
//! number of bytes that were \a not processed.
|
//! number of bytes that were not processed.
|
||||||
//! \details propagation count includes this object. Setting propagation to <tt>1</tt> means this
|
//! \details propagation count includes this object. Setting propagation to <tt>1</tt> means this
|
||||||
//! object only. Setting propagation to <tt>-1</tt> means unlimited propagation.
|
//! object only. Setting propagation to <tt>-1</tt> means unlimited propagation.
|
||||||
bool ChannelMessageEnd(const std::string &channel, int propagation=-1, bool blocking=true)
|
bool ChannelMessageEnd(const std::string &channel, int propagation=-1, bool blocking=true)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue