aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2015-09-18 15:59:52 +0100
committerHenrik Nord <[email protected]>2015-09-25 11:04:12 +0200
commit5e476007bf9ede36911965b509598f76d9cf082a (patch)
tree60c1e8220bfb922e44b57d77172d4dd6e9417c33 /lib/crypto
parent71501e4307e78805bda531c78352913d12e1dfc9 (diff)
downloadotp-5e476007bf9ede36911965b509598f76d9cf082a.tar.gz
otp-5e476007bf9ede36911965b509598f76d9cf082a.tar.bz2
otp-5e476007bf9ede36911965b509598f76d9cf082a.zip
Fix typos in crypto documentation
s/stong_rand_bytes/strong_rand_bytes/, s/bts/bits/
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/doc/src/crypto.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml
index 385a583883..291a5145e4 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -617,7 +617,7 @@
RAND_seed function from openssl. Only use this if the system
you are running on does not have enough "randomness" built in.
Normally this is when <seealso marker="#strong_rand_bytes/1">
- stong_rand_bytes/1</seealso> returns <c>low_entropy</c></p>
+ strong_rand_bytes/1</seealso> returns <c>low_entropy</c></p>
</desc>
</func>
@@ -710,7 +710,7 @@
</type>
<desc>
<p>Initializes the state for use in streaming AES encryption using Counter mode (CTR).
- <c>Key</c> is the AES key and must be either 128, 192, or 256 bts long. <c>IVec</c> is
+ <c>Key</c> is the AES key and must be either 128, 192, or 256 bits long. <c>IVec</c> is
an arbitrary initializing vector of 128 bits (16 bytes). This state is for use with
<seealso marker="#stream_encrypt-2">stream_encrypt</seealso> and
<seealso marker="#stream_decrypt-2">stream_decrypt</seealso>.</p>