From f69b7537f58290ea26ed024d06cc3c1510a86e6e Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 15 Nov 2018 03:27:23 -0500 Subject: [PATCH] Update documentation --- ppc_simd.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ppc_simd.h b/ppc_simd.h index 21395a00..a570e6be 100644 --- a/ppc_simd.h +++ b/ppc_simd.h @@ -311,12 +311,27 @@ inline void VectorStore(const T data, int off, byte dest[16]) #endif } +/// \brief Stores a vector to a word array +/// \tparam T vector type +/// \param data the vector +/// \param off the byte offset into the array +/// \param dest the byte array +/// \details Stores a vector in native endian format to a byte array. +/// \note VectorStore does not require an aligned array. +/// \since Crypto++ 8.0 template inline void VectorStore(const T data, word32 dest[4]) { VectorStore((uint8x16_p)data, 0, (byte*)dest); } +/// \brief Stores a vector to a word array +/// \tparam T vector type +/// \param data the vector +/// \param dest the byte array +/// \details Stores a vector in native endian format to a byte array. +/// \note VectorStore does not require an aligned array. +/// \since Crypto++ 8.0 template inline void VectorStore(const T data, int off, word32 dest[4]) {