summaryrefslogtreecommitdiff
path: root/lib/crypto/doc/src/crypto.xml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/doc/src/crypto.xml')
-rw-r--r--lib/crypto/doc/src/crypto.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml
index 0d0ba07d8f..3a65824a67 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -257,6 +257,12 @@
</datatype>
<datatype>
+ <name name="hash_xof_algorithm"/>
+ <desc>
+ </desc>
+ </datatype>
+
+ <datatype>
<name name="hmac_hash_algorithm"/>
<desc>
</desc>
@@ -290,6 +296,7 @@
<name name="sha1"/>
<name name="sha2"/>
<name name="sha3"/>
+ <name name="sha3_xof"/>
<name name="blake2"/>
<desc>
</desc>
@@ -1108,6 +1115,18 @@ end
</func>
<func>
+ <name name="hash_xof" arity="3" since="OTP 26.0"/>
+ <fsummary></fsummary>
+ <desc>
+ <p>Uses the <seeerl marker="#error_3tup">3-tuple style</seeerl> for error handling.</p>
+ <p>Computes a message digest of type <c>Type</c> from <c>Data</c> of <c>Length</c>
+ for the chosen <c>xof_algorithm</c>.</p>
+ <p>May raise exception <c>error:notsup</c> in case the chosen <c>Type</c>
+ is not supported by the underlying libcrypto implementation.</p>
+ </desc>
+ </func>
+
+ <func>
<name name="hash_init" arity="1" since="OTP R15B02"/>
<fsummary></fsummary>
<desc>