aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-01-24 21:08:57 -0500
committerJack Lloyd <[email protected]>2019-01-24 21:08:57 -0500
commit1d874ce39334c6a235bc3ef00dc202b9b0568dad (patch)
treed9df1ab236c5a19d773c201522241877b4022fed /src/lib/math
parentf0c34c8bbda8456ae2457a136d7f7e2fa313b6fb (diff)
Doc updates
Diffstat (limited to 'src/lib/math')
-rw-r--r--src/lib/math/bigint/bigint.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/math/bigint/bigint.h b/src/lib/math/bigint/bigint.h
index 227edfb6b..e6b7bc4bb 100644
--- a/src/lib/math/bigint/bigint.h
+++ b/src/lib/math/bigint/bigint.h
@@ -901,7 +901,9 @@ class BOTAN_PUBLIC_API(2,0) BigInt final
/**
* Set output = vec[idx].m_reg in constant time
- * All words of vec must have the same size
+ *
+ * All elements of vec must have the same size, and output must be
+ * pre-allocated with the same size.
*/
static void const_time_lookup(
secure_vector<word>& output,