summaryrefslogtreecommitdiff
path: root/adv-simd.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-06-23 12:27:25 -0400
committerJeffrey Walton <noloader@gmail.com>2018-06-23 12:27:25 -0400
commit527613df22b14f3c30fdf0a4a3fd281d8337d54f (patch)
treedc5ae36a3de59eb3023ddbf205b84c815999b96a /adv-simd.h
parentd0b5dac1629e426a084bde83185b9910aaf35d77 (diff)
downloadcryptopp-git-527613df22b14f3c30fdf0a4a3fd281d8337d54f.tar.gz
Update documentation
Diffstat (limited to 'adv-simd.h')
-rw-r--r--adv-simd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/adv-simd.h b/adv-simd.h
index e86c12ba..54eec0f1 100644
--- a/adv-simd.h
+++ b/adv-simd.h
@@ -494,12 +494,13 @@ inline size_t AdvancedProcessBlocks128_NEON1x6(F1 func1, F6 func6,
/// \tparam F1 function to process 1 128-bit block
/// \tparam F4 function to process 4 128-bit blocks
/// \tparam W word type of the subkey table
-/// \tparam V vector type of the NEON data type
-/// \details AdvancedProcessBlocks128_6x2_NEON processes 4 and 1 NEON SIMD words
+/// \tparam V vector type of the NEON datatype
+/// \details AdvancedProcessBlocks128_4x1_NEON processes 4 and 1 NEON SIMD words
/// at a time.
/// \details The subkey type is usually word32 or word64. V is the vector type and it is
/// usually uint32x4_t or uint64x2_t. F1, F4, W and V must use the same word and
-/// vector type.
+/// vector type. The V parameter is used to avoid template argument
+/// deduction/substitution failures.
template <typename F1, typename F4, typename W, typename V>
inline size_t AdvancedProcessBlocks128_4x1_NEON(F1 func1, F4 func4,
const V& unused, const W *subKeys, size_t rounds, const byte *inBlocks,