Skip to content

Commit

Permalink
crypto: Fix documentation of SRP key data types
Browse files Browse the repository at this point in the history
`srp_public()` and `srp_private()` have to be of type `binary()`.
  • Loading branch information
KlausTrainer committed May 19, 2013
1 parent 0dabf8b commit 099e240
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/crypto/doc/src/crypto.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@

<p><code>dss_public() = [key_value()] =[P, Q, G, Y] </code></p>

<p><code>srp_public() = key_value() </code></p>
<p><code>srp_public() = binary() </code></p>
<p>Where is <c>A</c> or <c>B</c> from <url href="http://srp.stanford.edu/design.html">SRP design</url></p>

<p><code>srp_private() = key_value() </code></p>
<p>Where is <c>a</c> or <c>b</c> from <url href="http://srp.stanford.edu/design.html">SRP design</url></p>
<p><code>srp_private() = binary() </code></p>
<p>Where is <c>a</c> or <c>b</c> from <url href="http://srp.stanford.edu/design.html">SRP design</url></p>

<p><code>srp_params() = {user, [Generator::binary(), Prime::binary(), Version::atom()]} |
{host, [Verifier::binary(), Generator::binary(), Prime::binary(), Version::atom()]}
Expand Down

0 comments on commit 099e240

Please sign in to comment.