summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2022-08-23 20:33:58 +0200
committerPauli <pauli@openssl.org>2022-10-12 16:55:01 +1100
commit1567a821a4616f59748fa8982724f88e542867d6 (patch)
tree76cd3a15990e2c7c8e815555bc39c39f55326f87 /crypto/evp
parent8b5424eae5577809264e73a229fcc4c384611fae (diff)
crypto: Fix various typos, repeated words, align some spelling to LDP.
partially revamped from #16712 - fall thru -> fall through - time stamp -> timestamp - file name -> filename - host name -> hostname Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19059)
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/ctrl_params_translate.c2
-rw-r--r--crypto/evp/e_aes.c6
-rw-r--r--crypto/evp/e_aria.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/crypto/evp/ctrl_params_translate.c b/crypto/evp/ctrl_params_translate.c
index c6446fb82c..023a130fdc 100644
--- a/crypto/evp/ctrl_params_translate.c
+++ b/crypto/evp/ctrl_params_translate.c
@@ -2483,7 +2483,7 @@ lookup_translation(struct translation_st *tmpl,
tmpl->ctrl_hexstr = ctrl_hexstr;
} else if (tmpl->param_key != NULL) {
/*
- * Search criteria that originates from a OSSL_PARAM setter or
+ * Search criteria that originates from an OSSL_PARAM setter or
* getter.
*
* Ctrls were fundamentally bidirectional, with only the ctrl
diff --git a/crypto/evp/e_aes.c b/crypto/evp/e_aes.c
index 868c7e5bf7..450ebe8a0d 100644
--- a/crypto/evp/e_aes.c
+++ b/crypto/evp/e_aes.c
@@ -8,7 +8,7 @@
*/
/*
- * This file uses the low level AES functions (which are deprecated for
+ * This file uses the low-level AES functions (which are deprecated for
* non-internal use) in order to implement the EVP AES ciphers.
*/
#include "internal/deprecated.h"
@@ -3434,7 +3434,7 @@ static int aes_ccm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr)
case EVP_CTRL_AEAD_SET_IVLEN:
arg = 15 - arg;
- /* fall thru */
+ /* fall through */
case EVP_CTRL_CCM_SET_L:
if (arg < 2 || arg > 8)
return 0;
@@ -4013,7 +4013,7 @@ static int aes_ocb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
if (in != NULL) {
/*
- * Need to ensure we are only passing full blocks to low level OCB
+ * Need to ensure we are only passing full blocks to low-level OCB
* routines. We do it here rather than in EVP_EncryptUpdate/
* EVP_DecryptUpdate because we need to pass full blocks of AAD too
* and those routines don't support that
diff --git a/crypto/evp/e_aria.c b/crypto/evp/e_aria.c
index e2a421b43d..5a894fbb9b 100644
--- a/crypto/evp/e_aria.c
+++ b/crypto/evp/e_aria.c
@@ -589,7 +589,7 @@ static int aria_ccm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr)
case EVP_CTRL_AEAD_SET_IVLEN:
arg = 15 - arg;
- /* fall thru */
+ /* fall through */
case EVP_CTRL_CCM_SET_L:
if (arg < 2 || arg > 8)
return 0;