aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-09-06 01:46:57 -0400
committerPaul Duncan <pabs@pablotron.org>2023-09-06 01:46:57 -0400
commit2af5c0e8e9c563fcc58b181d342814a4f5f90683 (patch)
tree03b5c72bdc1743b77ae8101fb92e0580089ccad8
parentabb8f678231d2af34b51bf1cb7fd853e123cefee (diff)
downloadsha3-2af5c0e8e9c563fcc58b181d342814a4f5f90683.tar.bz2
sha3-2af5c0e8e9c563fcc58b181d342814a4f5f90683.zip
./sha3.h: remove extraneous "in" from documentation
-rw-r--r--sha3.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sha3.h b/sha3.h
index 4f1ce06..51d5025 100644
--- a/sha3.h
+++ b/sha3.h
@@ -1145,8 +1145,8 @@ void parallelhash256_xof_once(const parallelhash_params_t params, const uint8_t
/**
* Initialize internal TurboSHAKE128 context, absorb `src_len` bytes of
- * input from in source buffer `src`, then squeeze `dst_len` bytes of output
- * into destination buffer `dst`.
+ * input from source buffer `src`, then squeeze `dst_len` bytes of
+ * output into destination buffer `dst`.
*
* @param[in] src Source buffer.
* @param[in] src_len Source buffer length, in bytes.
@@ -1157,8 +1157,8 @@ void turboshake128(const uint8_t *src, const size_t src_len, uint8_t *dst, const
/**
* Initialize internal TurboSHAKE128 context with custom padding byte
- * `pad`, absorb `src_len` bytes of input from in source buffer `src`,
- * then squeeze `dst_len` bytes of output into destination buffer `dst`.
+ * `pad`, absorb `src_len` bytes of input from source buffer `src`, then
+ * squeeze `dst_len` bytes of output into destination buffer `dst`.
*
* Note: The padding byte value must be in the range [0x01, 0x7F] and
* can be used for domain separation.
@@ -1173,8 +1173,8 @@ void turboshake128_custom(const uint8_t pad, const uint8_t *src, const size_t sr
/**
* Initialize internal TurboSHAKE256 context, absorb `src_len` bytes of
- * input from in source buffer `src`, then squeeze `dst_len` bytes of output
- * into destination buffer `dst`.
+ * input from source buffer `src`, then squeeze `dst_len` bytes of
+ * output into destination buffer `dst`.
*
* @param[in] src Source buffer.
* @param[in] src_len Source buffer length, in bytes.
@@ -1185,8 +1185,8 @@ void turboshake256(const uint8_t *src, const size_t src_len, uint8_t *dst, const
/**
* Initialize internal TurboSHAKE256 context with custom padding byte
- * `pad`, absorb `src_len` bytes of input from in source buffer `src`,
- * then squeeze `dst_len` bytes of output into destination buffer `dst`.
+ * `pad`, absorb `src_len` bytes of input from source buffer `src`, then
+ * squeeze `dst_len` bytes of output into destination buffer `dst`.
*
* Note: The padding byte value must be in the range [0x01, 0x7F] and
* can be used for domain separation.
@@ -1225,7 +1225,7 @@ void turboshake128_init(turboshake_t *ts);
_Bool turboshake128_init_custom(turboshake_t *ts, const uint8_t pad);
/**
- * Absorb `src_len` bytes of input from in source buffer `src` into
+ * Absorb `src_len` bytes of input from source buffer `src` into
* TurboSHAKE128 context `ts`. Can be called iteratively to absorb
* input data in chunks.
*
@@ -1268,7 +1268,7 @@ void turboshake256_init(turboshake_t *ts);
_Bool turboshake256_init_custom(turboshake_t *ts, const uint8_t pad);
/**
- * Absorb `src_len` bytes of input from in source buffer `src` into
+ * Absorb `src_len` bytes of input from source buffer `src` into
* TurboSHAKE256 context `ts`. Can be called iteratively to absorb
* input data in chunks.
*