diff options
author | Sverker Eriksson <[email protected]> | 2013-05-16 20:08:50 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2013-05-24 23:30:37 +0200 |
commit | 6518a54dbbbadb01f546e0e8c3dd3c3dfdf93e13 (patch) | |
tree | a2c907a2418edd6dce73d77834589c5c1da3dc87 /lib/crypto/doc/src/crypto.xml | |
parent | ee2d14442698039cfd1a98c7a8ce4a9331166c16 (diff) | |
download | otp-6518a54dbbbadb01f546e0e8c3dd3c3dfdf93e13.tar.gz otp-6518a54dbbbadb01f546e0e8c3dd3c3dfdf93e13.tar.bz2 otp-6518a54dbbbadb01f546e0e8c3dd3c3dfdf93e13.zip |
crypto, public_key & ssl: Make more functions accept integer keys
Diffstat (limited to 'lib/crypto/doc/src/crypto.xml')
-rw-r--r-- | lib/crypto/doc/src/crypto.xml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index 03a46c6e03..bdccfee341 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -60,6 +60,7 @@ <title>DATA TYPES </title> <p><code>key_value() = integer() | binary() </code></p> + <p>Always <c>binary()</c> when used as return value</p> <p><code>rsa_public() = [key_value()] = [E, N] </code></p> <p> Where E is the public exponent and N is public modulus. </p> @@ -77,7 +78,7 @@ <p><code>dss_private() = [key_value()] = [P, Q, G, X] </code></p> <p>Where P, Q and G are the dss parameters and X is the private key.</p> - <p><code>srp_public() = binary() </code></p> + <p><code>srp_public() = 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() = key_value() </code></p> @@ -88,15 +89,15 @@ Version = '3' | '6' | '6a' </p> - <p><code>dh_public() = binary() </code></p> + <p><code>dh_public() = key_value() </code></p> - <p><code>dh_private() = binary() </code></p> + <p><code>dh_private() = key_value() </code></p> <p><code>dh_params() = [key_value()] = [P, G] </code></p> - <p><code>ecdh_public() = binary() </code></p> + <p><code>ecdh_public() = key_value() </code></p> - <p><code>ecdh_private() = integer() </code></p> + <p><code>ecdh_private() = key_value() </code></p> <p><code>ecdh_params() = ec_named_curve() | {ec_field(), Prime :: key_value(), Point :: key_value(), Order :: integer(), CoFactor :: none | integer()} </code></p> |