aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/mac
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-28 12:17:06 -0500
committerJack Lloyd <[email protected]>2017-12-28 12:17:06 -0500
commitdeaa16feab1a525c90647c59dc96e877dffa812a (patch)
tree75c66ed50016a1f185645df210fcd6fe55ce2abd /src/lib/mac
parentf2d994387cf4140afcbb8673e2267ee8a78ab25d (diff)
Deprecate CMAC::poly_double
We use the internal util API now
Diffstat (limited to 'src/lib/mac')
-rw-r--r--src/lib/mac/cmac/cmac.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/mac/cmac/cmac.h b/src/lib/mac/cmac/cmac.h
index 9867c7d0e..7f155c6bf 100644
--- a/src/lib/mac/cmac/cmac.h
+++ b/src/lib/mac/cmac/cmac.h
@@ -32,9 +32,15 @@ class BOTAN_PUBLIC_API(2,0) CMAC final : public MessageAuthenticationCode
/**
* CMAC's polynomial doubling operation
+ *
+ * This function was only exposed for use elsewhere in the library, but it is not
+ * longer used. This function will be removed in a future release.
+ *
* @param in the input
*/
- static secure_vector<uint8_t> poly_double(const secure_vector<uint8_t>& in);
+ static secure_vector<uint8_t>
+ BOTAN_DEPRECATED("This was only for internal use and is no longer used")
+ poly_double(const secure_vector<uint8_t>& in);
/**
* @param cipher the block cipher to use