summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjsg <>2019-01-21 23:20:31 +0000
committerjsg <>2019-01-21 23:20:31 +0000
commit6b5710cca200592904a2f0474264ab1e06d1d1dc (patch)
treee3c9888f4b24e34b3f1809344f780bd217bd2cbc /src/lib
parent84065841685e5f7ac2060a36b85d414fc68882f8 (diff)
downloadopenbsd-6b5710cca200592904a2f0474264ab1e06d1d1dc.tar.gz
openbsd-6b5710cca200592904a2f0474264ab1e06d1d1dc.tar.bz2
openbsd-6b5710cca200592904a2f0474264ab1e06d1d1dc.zip
lenght -> length
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/des/asm/des_enc.m42
-rw-r--r--src/lib/libcrypto/sha/sha256.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/des/asm/des_enc.m4 b/src/lib/libcrypto/des/asm/des_enc.m4
index b117735828..7303d40052 100644
--- a/src/lib/libcrypto/des/asm/des_enc.m4
+++ b/src/lib/libcrypto/des/asm/des_enc.m4
@@ -1662,7 +1662,7 @@ DES_ncbc_encrypt:
1662 .size DES_ncbc_encrypt, .DES_ncbc_encrypt.end-DES_ncbc_encrypt 1662 .size DES_ncbc_encrypt, .DES_ncbc_encrypt.end-DES_ncbc_encrypt
1663 1663
1664 1664
1665! void DES_ede3_cbc_encrypt(input, output, lenght, ks1, ks2, ks3, ivec, enc) 1665! void DES_ede3_cbc_encrypt(input, output, length, ks1, ks2, ks3, ivec, enc)
1666! ************************************************************************** 1666! **************************************************************************
1667 1667
1668 1668
diff --git a/src/lib/libcrypto/sha/sha256.c b/src/lib/libcrypto/sha/sha256.c
index d584660369..9c05d3b0f8 100644
--- a/src/lib/libcrypto/sha/sha256.c
+++ b/src/lib/libcrypto/sha/sha256.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha256.c,v 1.9 2015/09/10 15:56:26 jsing Exp $ */ 1/* $OpenBSD: sha256.c,v 1.10 2019/01/21 23:20:31 jsg Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2004 The OpenSSL Project. All rights reserved 3 * Copyright (c) 2004 The OpenSSL Project. All rights reserved
4 * according to the OpenSSL license [found in ../../LICENSE]. 4 * according to the OpenSSL license [found in ../../LICENSE].
@@ -81,7 +81,7 @@ int SHA224_Final (unsigned char *md, SHA256_CTX *c)
81 * default: case below covers for it. It's not clear however if it's 81 * default: case below covers for it. It's not clear however if it's
82 * permitted to truncate to amount of bytes not divisible by 4. I bet not, 82 * permitted to truncate to amount of bytes not divisible by 4. I bet not,
83 * but if it is, then default: case shall be extended. For reference. 83 * but if it is, then default: case shall be extended. For reference.
84 * Idea behind separate cases for pre-defined lenghts is to let the 84 * Idea behind separate cases for pre-defined lengths is to let the
85 * compiler decide if it's appropriate to unroll small loops. 85 * compiler decide if it's appropriate to unroll small loops.
86 */ 86 */
87#define HASH_MAKE_STRING(c,s) do { \ 87#define HASH_MAKE_STRING(c,s) do { \