aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac')
-rw-r--r--src/mac/mac.cpp2
-rw-r--r--src/mac/mac.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mac/mac.cpp b/src/mac/mac.cpp
index a2c884ab6..cb89e872a 100644
--- a/src/mac/mac.cpp
+++ b/src/mac/mac.cpp
@@ -9,7 +9,7 @@
namespace Botan {
-/**
+/*
* Default (deterministic) MAC verification operation
*/
bool MessageAuthenticationCode::verify_mac(const byte mac[], u32bit length)
diff --git a/src/mac/mac.h b/src/mac/mac.h
index 617e86358..b93ae473d 100644
--- a/src/mac/mac.h
+++ b/src/mac/mac.h
@@ -24,10 +24,10 @@ class BOTAN_DLL MessageAuthenticationCode : public BufferedComputation,
/**
* Verify a MAC.
* @param in the MAC to verify as a byte array
- * @param length the length of the byte array
+ * @param length the length of param in
* @return true if the MAC is valid, false otherwise
*/
- virtual bool verify_mac(const byte[], u32bit);
+ virtual bool verify_mac(const byte in[], u32bit length);
/**
* Get a new object representing the same algorithm as *this