diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-11-29 10:54:33 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-11-29 10:54:33 -0500 |
commit | 61ec50dabe14c5d4582ac187706ea27645b3562b (patch) | |
tree | 18a2eebb7adc8c9556ce132d7081a105fa058d6b /dsa.h | |
parent | 16ebfa72bf130c4725e652e4d3688d97d3feb0ee (diff) | |
download | cryptopp-git-61ec50dabe14c5d4582ac187706ea27645b3562b.tar.gz |
Change Doxygen comment style from //! to ///
Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
Diffstat (limited to 'dsa.h')
-rw-r--r-- | dsa.h | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -1,7 +1,7 @@ // dsa.h - originally written and placed in the public domain by Wei Dai
-//! \file dsa.h
-//! \brief Classes for the DSA signature algorithm
+/// \file dsa.h
+/// \brief Classes for the DSA signature algorithm
#ifndef CRYPTOPP_DSA_H
#define CRYPTOPP_DSA_H
@@ -11,29 +11,29 @@ NAMESPACE_BEGIN(CryptoPP)
-//! \brief DSA Signature Format
-//! \details The DSA signature format used by Crypto++ is as defined by IEEE P1363.
-//! Java nad .Net use the DER format, and OpenPGP uses the OpenPGP format.
+/// \brief DSA Signature Format
+/// \details The DSA signature format used by Crypto++ is as defined by IEEE P1363.
+/// Java nad .Net use the DER format, and OpenPGP uses the OpenPGP format.
enum DSASignatureFormat {
- //! \brief Crypto++ native signature encoding format
+ /// \brief Crypto++ native signature encoding format
DSA_P1363,
- //! \brief signature encoding format used by Java and .Net
+ /// \brief signature encoding format used by Java and .Net
DSA_DER,
- //! \brief OpenPGP signature encoding format
+ /// \brief OpenPGP signature encoding format
DSA_OPENPGP
};
-//! \brief Converts between signature encoding formats
-//! \param buffer byte buffer for the converted signature encoding
-//! \param bufferSize the length of the converted signature encoding buffer
-//! \param toFormat the source signature format
-//! \param signature byte buffer for the existing signature encoding
-//! \param signatureLen the length of the existing signature encoding buffer
-//! \param fromFormat the source signature format
-//! \details This function converts between these formats, and returns length
-//! of signature in the target format. If <tt>toFormat == DSA_P1363</tt>, then
-//! <tt>bufferSize</tt> must equal <tt>publicKey.SignatureLength()</tt>
-//! \since Crypto++ 1.0
+/// \brief Converts between signature encoding formats
+/// \param buffer byte buffer for the converted signature encoding
+/// \param bufferSize the length of the converted signature encoding buffer
+/// \param toFormat the source signature format
+/// \param signature byte buffer for the existing signature encoding
+/// \param signatureLen the length of the existing signature encoding buffer
+/// \param fromFormat the source signature format
+/// \details This function converts between these formats, and returns length
+/// of signature in the target format. If <tt>toFormat == DSA_P1363</tt>, then
+/// <tt>bufferSize</tt> must equal <tt>publicKey.SignatureLength()</tt>
+/// \since Crypto++ 1.0
size_t DSAConvertSignatureFormat(byte *buffer, size_t bufferSize, DSASignatureFormat toFormat,
const byte *signature, size_t signatureLen, DSASignatureFormat fromFormat);
|