diff options
author | Jack Lloyd <[email protected]> | 2017-09-17 11:44:41 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-17 11:44:41 -0400 |
commit | 55aa7768ded0731851514257d417b767dac6fb10 (patch) | |
tree | 82af2155aad0cad87dbb6e3fbb43d786ea33392f /src | |
parent | 6168c2d665ce4b6510b850e6493a068405eda1be (diff) |
Fix Doxygen comment problems
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/utils/mem_ops.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/utils/mem_ops.h b/src/lib/utils/mem_ops.h index 8f6aff12e..2d575d35e 100644 --- a/src/lib/utils/mem_ops.h +++ b/src/lib/utils/mem_ops.h @@ -35,7 +35,7 @@ BOTAN_DLL void secure_scrub_memory(void* ptr, size_t n); * Memory comparison, input insensitive * @param x a pointer to an array * @param y a pointer to another array -* @param n the number of Ts in x and y +* @param len the number of Ts in x and y * @return true iff x[i] == y[i] forall i in [0...n) */ BOTAN_DLL bool constant_time_compare(const uint8_t x[], @@ -122,9 +122,9 @@ template<typename T> inline bool same_mem(const T* p1, const T* p2, size_t n) * @param in the read-only input buffer * @param length the length of the buffers */ -BOTAN_DLL void xor_buf(uint8_t x[], - const uint8_t y[], - size_t len); +BOTAN_DLL void xor_buf(uint8_t out[], + const uint8_t in[], + size_t length); /** * XOR arrays. Postcondition out[i] = in[i] ^ in2[i] forall i = 0...length |