summaryrefslogtreecommitdiffstats
path: root/crypto/modes/ctr128.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-02-05 15:23:54 -0500
committerRich Salz <rsalz@openssl.org>2016-02-05 15:25:50 -0500
commit0d4fb8439092ff8253af72ac6bc193e77ebbcf2f (patch)
tree37245acc0ccd68923f888ec2e206a58925b60106 /crypto/modes/ctr128.c
parent2b52de9a37422058bdd9f292e507cbd4f577d52e (diff)
GH601: Various spelling fixes.
Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/modes/ctr128.c')
-rw-r--r--crypto/modes/ctr128.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/modes/ctr128.c b/crypto/modes/ctr128.c
index f3bbcbf723..f56fd0cfad 100644
--- a/crypto/modes/ctr128.c
+++ b/crypto/modes/ctr128.c
@@ -117,7 +117,7 @@ static void ctr128_inc_aligned(unsigned char *counter)
* before the first call to CRYPTO_ctr128_encrypt(). This algorithm assumes
* that the counter is in the x lower bits of the IV (ivec), and that the
* application has full control over overflow and the rest of the IV. This
- * implementation takes NO responsability for checking that the counter
+ * implementation takes NO responsibility for checking that the counter
* doesn't overflow into the rest of the IV when incremented.
*/
void CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out,
@@ -245,7 +245,7 @@ void CRYPTO_ctr128_encrypt_ctr32(const unsigned char *in, unsigned char *out,
(*func) (in, out, blocks, key, ivec);
/* (*ctr) does not update ivec, caller does: */
PUTU32(ivec + 12, ctr32);
- /* ... overflow was detected, propogate carry. */
+ /* ... overflow was detected, propagate carry. */
if (ctr32 == 0)
ctr96_inc(ivec);
blocks *= 16;