Skip to content

Commit

Permalink
Cleanup header docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jakcron committed Dec 30, 2024
1 parent 777a850 commit 7d24067
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion include/tc/crypto/CmacAes128Generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace tc { namespace crypto {
* @brief Class for calculating CMAC-AES-128.
*
* @details This class calcualtes CMAC using AES-128.
* For more information refer to @ref HmacGenerator.
* For more information refer to @ref CmacGenerator.
*/
using CmacAes128Generator = CmacGenerator<Aes128Encryptor>;

Expand Down
2 changes: 1 addition & 1 deletion include/tc/crypto/CmacAes192Generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace tc { namespace crypto {
* @brief Class for calculating CMAC-AES-192.
*
* @details This class calcualtes CMAC using AES-192.
* For more information refer to @ref HmacGenerator.
* For more information refer to @ref CmacGenerator.
*/
using CmacAes192Generator = CmacGenerator<Aes192Encryptor>;

Expand Down
2 changes: 1 addition & 1 deletion include/tc/crypto/CmacAes256Generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace tc { namespace crypto {
* @brief Class for calculating CMAC-AES-256.
*
* @details This class calcualtes CMAC using AES-256.
* For more information refer to @ref HmacGenerator.
* For more information refer to @ref CmacGenerator.
*/
using CmacAes256Generator = CmacGenerator<Aes256Encryptor>;

Expand Down
2 changes: 1 addition & 1 deletion include/tc/crypto/CmacGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace tc { namespace crypto {
* @class CmacGenerator
* @brief Class for calculating an CMAC.
*
* @tparam BlockCipher The class that implements the hash function for generating CMAC.
* @tparam BlockCipher The class that implements the CBC encryption operation for generating MAC.
*
* @details
* This class is a template class that takes a hash function implementation class as template parameter.
Expand Down
2 changes: 1 addition & 1 deletion include/tc/crypto/CmacTdes112Generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace tc { namespace crypto {
* @brief Class for calculating CMAC-TDES-112.
*
* @details This class calcualtes CMAC using TDES-112.
* For more information refer to @ref HmacGenerator.
* For more information refer to @ref CmacGenerator.
*/
using CmacTdes112Generator = CmacGenerator<Tdes112Encryptor>;

Expand Down
2 changes: 1 addition & 1 deletion include/tc/crypto/CmacTdes168Generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace tc { namespace crypto {
* @brief Class for calculating CMAC-TDES-168.
*
* @details This class calcualtes CMAC using TDES-168.
* For more information refer to @ref HmacGenerator.
* For more information refer to @ref CmacGenerator.
*/
using CmacTdes168Generator = CmacGenerator<Tdes168Encryptor>;

Expand Down
6 changes: 3 additions & 3 deletions include/tc/crypto/detail/CmacImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @brief Declaration of tc::crypto::detail::CmacImpl
* @author Jack (jakcron)
* @version 0.1
* @date 2022/07/12
* @date 2024/12/10
**/
#pragma once
#include <tc/types.h>
Expand All @@ -20,9 +20,9 @@ namespace tc { namespace crypto { namespace detail {

/**
* @class CmacImpl
* @brief This class implements the CMAC (<b>C</b>ounter with <b>C</b>BC-<b>M</b>AC) algorithm as a template class.
* @brief This class implements the CMAC (<b>C</b>ipher based <b>MAC</b>) algorithm as a template class.
*
* @tparam BlockCipher The class that implements the block cipher used for CCM mode encryption/decryption.
* @tparam BlockCipher The class that implements the block cipher used for CBC encryption for generating MAC.
*
* @details
* The implementation of <var>BlockCipher</var> must satisfies the following conditions.
Expand Down
2 changes: 1 addition & 1 deletion include/tc/crypto/detail/HmacImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace tc { namespace crypto { namespace detail {

/**
* @class HmacImpl
* @brief This class implements HMAC as a template class.
* @brief This class implements HMAC (<b>H</b>ash based <b>MAC</b>) as a template class.
*
* @tparam HashFunction The class that implements the hash function used for HMAC calculation.
*/
Expand Down

0 comments on commit 7d24067

Please sign in to comment.