summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authormiod <>2014-04-27 20:38:39 +0000
committermiod <>2014-04-27 20:38:39 +0000
commit081f318ce35fe17b57ed9584e47fdf6190b58423 (patch)
tree9c2cf3558c172f580c9f227f13c0bdcabae9e753 /src/lib
parent3bb237f84d383ea62df86e4affd171a1a6bbbf7f (diff)
downloadopenbsd-081f318ce35fe17b57ed9584e47fdf6190b58423.tar.gz
openbsd-081f318ce35fe17b57ed9584e47fdf6190b58423.tar.bz2
openbsd-081f318ce35fe17b57ed9584e47fdf6190b58423.zip
typo in comment
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/cmac/cmac.c2
-rw-r--r--src/lib/libcrypto/rc2/version2
-rw-r--r--src/lib/libcrypto/rc4/rc4_enc.c2
-rw-r--r--src/lib/libssl/src/crypto/cmac/cmac.c2
-rw-r--r--src/lib/libssl/src/crypto/rc2/version2
-rw-r--r--src/lib/libssl/src/crypto/rc4/rc4_enc.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/cmac/cmac.c b/src/lib/libcrypto/cmac/cmac.c
index 81188c8f5a..1f712ef544 100644
--- a/src/lib/libcrypto/cmac/cmac.c
+++ b/src/lib/libcrypto/cmac/cmac.c
@@ -266,7 +266,7 @@ int CMAC_resume(CMAC_CTX *ctx)
266 /* The buffer "tbl" containes the last fully encrypted block 266 /* The buffer "tbl" containes the last fully encrypted block
267 * which is the last IV (or all zeroes if no last encrypted block). 267 * which is the last IV (or all zeroes if no last encrypted block).
268 * The last block has not been modified since CMAC_final(). 268 * The last block has not been modified since CMAC_final().
269 * So reinitliasing using the last decrypted block will allow 269 * So reinitialising using the last decrypted block will allow
270 * CMAC to continue after calling CMAC_Final(). 270 * CMAC to continue after calling CMAC_Final().
271 */ 271 */
272 return EVP_EncryptInit_ex(&ctx->cctx, NULL, NULL, NULL, ctx->tbl); 272 return EVP_EncryptInit_ex(&ctx->cctx, NULL, NULL, NULL, ctx->tbl);
diff --git a/src/lib/libcrypto/rc2/version b/src/lib/libcrypto/rc2/version
index 6f89d595f1..a69ff35a43 100644
--- a/src/lib/libcrypto/rc2/version
+++ b/src/lib/libcrypto/rc2/version
@@ -15,7 +15,7 @@
15 little-endian operators. 15 little-endian operators.
16 While rc2 is included because it is used with SSL, I don't know how 16 While rc2 is included because it is used with SSL, I don't know how
17 far I trust it. It is about the same speed as IDEA and DES. 17 far I trust it. It is about the same speed as IDEA and DES.
18 So if you are paranoid, used Tripple DES, else IDEA. If RC2 18 So if you are paranoid, used Triple DES, else IDEA. If RC2
19 does get used more, perhaps more people will look for weaknesses in 19 does get used more, perhaps more people will look for weaknesses in
20 it. 20 it.
21 21
diff --git a/src/lib/libcrypto/rc4/rc4_enc.c b/src/lib/libcrypto/rc4/rc4_enc.c
index ec9d9e7b64..bdf7de9f65 100644
--- a/src/lib/libcrypto/rc4/rc4_enc.c
+++ b/src/lib/libcrypto/rc4/rc4_enc.c
@@ -100,7 +100,7 @@ void RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
100 * (**) i.e. according to 'apps/openssl speed rc4' benchmark, 100 * (**) i.e. according to 'apps/openssl speed rc4' benchmark,
101 * crypto/rc4/rc4speed.c exhibits almost 70% speed-up... 101 * crypto/rc4/rc4speed.c exhibits almost 70% speed-up...
102 * 102 *
103 * Cavets. 103 * Caveats.
104 * 104 *
105 * - RC4_CHUNK="unsigned long long" should be a #1 choice for 105 * - RC4_CHUNK="unsigned long long" should be a #1 choice for
106 * UltraSPARC. Unfortunately gcc generates very slow code 106 * UltraSPARC. Unfortunately gcc generates very slow code
diff --git a/src/lib/libssl/src/crypto/cmac/cmac.c b/src/lib/libssl/src/crypto/cmac/cmac.c
index 81188c8f5a..1f712ef544 100644
--- a/src/lib/libssl/src/crypto/cmac/cmac.c
+++ b/src/lib/libssl/src/crypto/cmac/cmac.c
@@ -266,7 +266,7 @@ int CMAC_resume(CMAC_CTX *ctx)
266 /* The buffer "tbl" containes the last fully encrypted block 266 /* The buffer "tbl" containes the last fully encrypted block
267 * which is the last IV (or all zeroes if no last encrypted block). 267 * which is the last IV (or all zeroes if no last encrypted block).
268 * The last block has not been modified since CMAC_final(). 268 * The last block has not been modified since CMAC_final().
269 * So reinitliasing using the last decrypted block will allow 269 * So reinitialising using the last decrypted block will allow
270 * CMAC to continue after calling CMAC_Final(). 270 * CMAC to continue after calling CMAC_Final().
271 */ 271 */
272 return EVP_EncryptInit_ex(&ctx->cctx, NULL, NULL, NULL, ctx->tbl); 272 return EVP_EncryptInit_ex(&ctx->cctx, NULL, NULL, NULL, ctx->tbl);
diff --git a/src/lib/libssl/src/crypto/rc2/version b/src/lib/libssl/src/crypto/rc2/version
index 6f89d595f1..a69ff35a43 100644
--- a/src/lib/libssl/src/crypto/rc2/version
+++ b/src/lib/libssl/src/crypto/rc2/version
@@ -15,7 +15,7 @@
15 little-endian operators. 15 little-endian operators.
16 While rc2 is included because it is used with SSL, I don't know how 16 While rc2 is included because it is used with SSL, I don't know how
17 far I trust it. It is about the same speed as IDEA and DES. 17 far I trust it. It is about the same speed as IDEA and DES.
18 So if you are paranoid, used Tripple DES, else IDEA. If RC2 18 So if you are paranoid, used Triple DES, else IDEA. If RC2
19 does get used more, perhaps more people will look for weaknesses in 19 does get used more, perhaps more people will look for weaknesses in
20 it. 20 it.
21 21
diff --git a/src/lib/libssl/src/crypto/rc4/rc4_enc.c b/src/lib/libssl/src/crypto/rc4/rc4_enc.c
index ec9d9e7b64..bdf7de9f65 100644
--- a/src/lib/libssl/src/crypto/rc4/rc4_enc.c
+++ b/src/lib/libssl/src/crypto/rc4/rc4_enc.c
@@ -100,7 +100,7 @@ void RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
100 * (**) i.e. according to 'apps/openssl speed rc4' benchmark, 100 * (**) i.e. according to 'apps/openssl speed rc4' benchmark,
101 * crypto/rc4/rc4speed.c exhibits almost 70% speed-up... 101 * crypto/rc4/rc4speed.c exhibits almost 70% speed-up...
102 * 102 *
103 * Cavets. 103 * Caveats.
104 * 104 *
105 * - RC4_CHUNK="unsigned long long" should be a #1 choice for 105 * - RC4_CHUNK="unsigned long long" should be a #1 choice for
106 * UltraSPARC. Unfortunately gcc generates very slow code 106 * UltraSPARC. Unfortunately gcc generates very slow code