aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/poly_dbl
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-09-28 07:39:31 -0400
committerJack Lloyd <[email protected]>2019-09-28 07:53:17 -0400
commit57ceb45b19da1ec77262ad543be004df073c4411 (patch)
treebc1a370e3d74ff343eeceb73fdc1953407bf8c0a /src/lib/utils/poly_dbl
parent5befd710a9ba2a40c0998c3e0a87943e4b8f829b (diff)
Add poly_dbl speed util
Diffstat (limited to 'src/lib/utils/poly_dbl')
-rw-r--r--src/lib/utils/poly_dbl/poly_dbl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/poly_dbl/poly_dbl.h b/src/lib/utils/poly_dbl/poly_dbl.h
index 931b4873e..7d9f52331 100644
--- a/src/lib/utils/poly_dbl/poly_dbl.h
+++ b/src/lib/utils/poly_dbl/poly_dbl.h
@@ -14,7 +14,7 @@ namespace Botan {
/**
* Polynomial doubling in GF(2^n)
*/
-void BOTAN_PUBLIC_API(2,3) poly_double_n(uint8_t out[], const uint8_t in[], size_t n);
+void BOTAN_TEST_API poly_double_n(uint8_t out[], const uint8_t in[], size_t n);
/**
* Returns true iff poly_double_n is implemented for this size.
@@ -32,7 +32,7 @@ inline void poly_double_n(uint8_t buf[], size_t n)
/*
* Little endian convention - used for XTS
*/
-void poly_double_n_le(uint8_t out[], const uint8_t in[], size_t n);
+void BOTAN_TEST_API poly_double_n_le(uint8_t out[], const uint8_t in[], size_t n);
}