You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/crypto/api/ops/hash.rst
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,13 +184,16 @@ Hash algorithms
184
184
:definition: ((psa_algorithm_t)0x02000015)
185
185
186
186
.. summary::
187
-
The first 512 bits (64 bytes) of the SHAKE256 output.
187
+
The first 512 bits (64 bytes) of the output from SHAKE256.
188
188
189
189
.. versionadded:: 1.1
190
190
191
-
This is the pre-hashing for Ed448ph (see `PSA_ALG_ED448PH`).
191
+
This is used for pre-hashing in Ed448ph, see `PSA_ALG_ED448PH`.
192
192
193
-
SHAKE256 is defined in :cite:`FIPS202`.
193
+
The SHAKE256 XOF is defined in :cite:`FIPS202`.
194
+
195
+
.. note::
196
+
To use SHAKE256 as an XOF, see :secref:`xof` and `PSA_ALG_SHAKE256`.
194
197
195
198
.. note::
196
199
For other scenarios where a hash function based on SHA3 or SHAKE is required, SHA3-512 is recommended. SHA3-512 has the same output size, and a theoretically higher security strength.
0 commit comments