diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in
index 8ad5c7889eee..417a5ee8658d 100644
--- a/lib/crypto/c_src/Makefile.in
+++ b/lib/crypto/c_src/Makefile.in
@@ -126,7 +126,7 @@ CALLBACK_LIB = $(LIBDIR)/crypto_callback$(TYPEMARKER).@DED_EXT@
TEST_ENGINE_LIB = $(LIBDIR)/otp_test_engine$(TYPEMARKER).@DED_EXT@
DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@
-# Wierd that we compile as if dynamically linking when statically
+# Weird that we compile as if dynamically linking when statically
# linking on windows...
ifeq ($(DYNAMIC_CRYPTO_LIB),yes)
DYNAMIC_OR_WIN_CRYPTO_LIB=yes
diff --git a/lib/crypto/c_src/api_ng.c b/lib/crypto/c_src/api_ng.c
index b745974d14f0..15da0e7bd1fb 100644
--- a/lib/crypto/c_src/api_ng.c
+++ b/lib/crypto/c_src/api_ng.c
@@ -116,7 +116,7 @@ static ERL_NIF_TERM get_opts(ErlNifEnv* env, const ERL_NIF_TERM opts, int opts_a
}
if (!enif_is_list(env, opts) || !enif_get_list_length(env, opts, &list_len))
- /* Not a boolean() and not a list, definitly an error */
+ /* Not a boolean() and not a list, definitely an error */
return EXCP_BADARG_N(env, opts_arg_num, "Options are not a boolean or a proper list");
/* A list, might be a property list, as it should */
@@ -211,7 +211,7 @@ static int get_init_args(ErlNifEnv* env,
ctx_res->padded_size = -1;
ctx_res->size = 0;
- /* Two initializations to make CodeChecker happy: it gets a bit desoriented
+ /* Two initializations to make CodeChecker happy: it gets a bit disoriented
by the NIF Exception model */
ctx_res->encflag = 0;
ctx_res->padding = atom_error;
diff --git a/lib/crypto/c_src/dh.c b/lib/crypto/c_src/dh.c
index 52d1023e8cf9..b226e8dfb4a9 100644
--- a/lib/crypto/c_src/dh.c
+++ b/lib/crypto/c_src/dh.c
@@ -71,7 +71,7 @@ ERL_NIF_TERM dh_generate_key_nif(ErlNifEnv* env, int argc, const ERL_NIF_TERM ar
goto bad_arg;
/* Load dh_params with values to use by the generator.
- Mem mgmnt transfered from dh_p etc to dh_params */
+ Mem mgmnt transferred from dh_p etc to dh_params */
if ((dh_params = DH_new()) == NULL)
goto bad_arg;
if (priv_key_in) {
diff --git a/lib/crypto/c_src/mac.c b/lib/crypto/c_src/mac.c
index 8ce54c1b9e9b..bd76fa209a9c 100644
--- a/lib/crypto/c_src/mac.c
+++ b/lib/crypto/c_src/mac.c
@@ -269,7 +269,7 @@ ERL_NIF_TERM mac_one_time(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
#if defined(HAS_EVP_PKEY_CTX) && (! DISABLE_EVP_HMAC)
# ifdef HAVE_PKEY_new_raw_private_key
- /* Prefered for new applications according to EVP_PKEY_new_mac_key(3) */
+ /* Preferred for new applications according to EVP_PKEY_new_mac_key(3) */
pkey = EVP_PKEY_new_raw_private_key(EVP_PKEY_HMAC, /*engine*/ NULL, key_bin.data, key_bin.size);
# else
/* Available in older versions */
@@ -555,7 +555,7 @@ ERL_NIF_TERM mac_init_nif(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
md = digp->md.p;
# ifdef HAVE_PKEY_new_raw_private_key
- /* Prefered for new applications according to EVP_PKEY_new_mac_key(3) */
+ /* Preferred for new applications according to EVP_PKEY_new_mac_key(3) */
pkey = EVP_PKEY_new_raw_private_key(EVP_PKEY_HMAC, /*engine*/ NULL, key_bin.data, key_bin.size);
# else
/* Available in older versions */
diff --git a/lib/crypto/c_src/openssl_config.h b/lib/crypto/c_src/openssl_config.h
index 49627f17e7c6..94a7a8d96323 100644
--- a/lib/crypto/c_src/openssl_config.h
+++ b/lib/crypto/c_src/openssl_config.h
@@ -58,7 +58,7 @@
* LibreSSL has the same names on include files and symbols as OpenSSL, but defines
* the OPENSSL_VERSION_NUMBER to be >= 2.0.0
*
- * Therefor works tests like this as intendend:
+ * Therefore works tests like this as intendend:
* OPENSSL_VERSION_NUMBER >= PACKED_OPENSSL_VERSION_PLAIN(1,0,0)
* (The test is for example "2.4.2" >= "1.0.0" although the test
* with the cloned OpenSSL test would be "1.0.1" >= "1.0.0")
diff --git a/lib/crypto/configure b/lib/crypto/configure
index fdeba8fc08fe..6b7bb6327e39 100755
--- a/lib/crypto/configure
+++ b/lib/crypto/configure
@@ -1462,7 +1462,7 @@ Some influential environment variables:
CXX C++ compiler
CXXFLAGS C++ compiler flags
LD linker (is often overridden by configure)
- LDFLAGS linker flags (can be risky to set since LD may be overriden by
+ LDFLAGS linker flags (can be risky to set since LD may be overridden by
configure)
LIBS libraries
DED_LD linker for Dynamic Erlang Drivers (set all DED_LD* variables or
@@ -6071,7 +6071,7 @@ $as_echo "" >&6; }
test $dir_lib32 = yes && libdirs="/lib32 $libdirs"
#
- # We try the follwing runtime paths in the
+ # We try the following runtime paths in the
# following order:
# 1. Standard ssl locations with all variations
# of lib subdirectories that we know of
diff --git a/lib/crypto/configure.in b/lib/crypto/configure.in
index 16bdecda7334..0e20b75ff38e 100644
--- a/lib/crypto/configure.in
+++ b/lib/crypto/configure.in
@@ -660,7 +660,7 @@ yes | default) # Use standard lib locations for ssl runtime library path
test $dir_lib32 = yes && libdirs="/lib32 $libdirs"
#
- # We try the follwing runtime paths in the
+ # We try the following runtime paths in the
# following order:
# 1. Standard ssl locations with all variations
# of lib subdirectories that we know of
diff --git a/lib/crypto/doc/src/algorithm_details.xml b/lib/crypto/doc/src/algorithm_details.xml
index f8b88a4e2e89..dce04a1409ef 100644
--- a/lib/crypto/doc/src/algorithm_details.xml
+++ b/lib/crypto/doc/src/algorithm_details.xml
@@ -44,10 +44,10 @@
Due to irregular naming conventions, some cipher names in the old api are
- substitued by new names in the new api. For a list of retired names, see
+ substituted by new names in the new api. For a list of retired names, see
To dynamically check availability, check that the name in the Cipher and Mode column is present in the diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index 3155f94e468a..3c85bbdbea86 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -143,7 +143,7 @@
-If padding is
If padding is
Enables (
Note that to enable FIPS mode succesfully, OTP must be built with the configure option
Note that to enable FIPS mode successfully, OTP must be built with the configure option
See also
The ciphers
Always use a
The state returned from this function cannot be used
- to get a reproducable random sequence as from
+ to get a reproducible random sequence as from
the other
The only supported usage is to generate one distinct
@@ -1511,11 +1511,11 @@ FloatValue = rand:uniform(). % again
The state returned from this function cannot be used
- to get a reproducable random sequence as from
+ to get a reproducible random sequence as from
the other
In fact since random data is cached some numbers may
diff --git a/lib/crypto/doc/src/licenses.xml b/lib/crypto/doc/src/licenses.xml
index e5c06cf7cea4..e0e1bf629fc4 100644
--- a/lib/crypto/doc/src/licenses.xml
+++ b/lib/crypto/doc/src/licenses.xml
@@ -103,7 +103,7 @@ This chapter contains in extenso versions
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
- * the following conditions are aheared to. The following conditions
+ * the following conditions are adhered to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
@@ -128,7 +128,7 @@ This chapter contains in extenso versions
* must display the following acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@cryptsoft.com)"
- * The word 'cryptographic' can be left out if the rouines from the library
+ * The word 'cryptographic' can be left out if the routines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
@@ -146,7 +146,7 @@ This chapter contains in extenso versions
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * The licence and distribution terms for any publically available version or
+ * The licence and distribution terms for any publicly available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
diff --git a/lib/crypto/doc/src/new_api.xml b/lib/crypto/doc/src/new_api.xml
index ccd80eca8b99..520c259ebb1b 100644
--- a/lib/crypto/doc/src/new_api.xml
+++ b/lib/crypto/doc/src/new_api.xml
@@ -49,7 +49,7 @@
The old functions - deprecated from 23.0 and removed from OTP 24.0 - are for chipers: The old functions - deprecated from 23.0 and removed from OTP 24.0 - are for ciphers: The For repeated encryption or decryption of a text divided in parts where the
diff --git a/lib/crypto/doc/src/notes.xml b/lib/crypto/doc/src/notes.xml
index 66d9477f35f3..e50312951194 100644
--- a/lib/crypto/doc/src/notes.xml
+++ b/lib/crypto/doc/src/notes.xml
@@ -735,7 +735,7 @@
- The chipers aes_cfb8 and aes_cfb128 are now using the EVP
+ The ciphers aes_cfb8 and aes_cfb128 are now using the EVP
interface. The supported key lengths are 128, 192 and 256
bits.
@@ -743,7 +743,7 @@
- The chipers aes_cfb8 and aes_cfb128 are now available in
+ The ciphers aes_cfb8 and aes_cfb128 are now available in
FIPS enabled mode.
Own Id: OTP-16134 Aux Id: PR-2407
- The cipher aes-ctr was disabled by misstake in
+ The cipher aes-ctr was disabled by mistake in
crypto:supports for cryptolibs before 1.0.1. It worked
however in the encrypt and decrypt functions.
@@ -1030,7 +1030,7 @@
- The chipers aes_cfb8 and aes_cfb128 are now using the EVP
+ The ciphers aes_cfb8 and aes_cfb128 are now using the EVP
interface. The supported key lengths are 128, 192 and 256
bits.
@@ -1038,7 +1038,7 @@
- The chipers aes_cfb8 and aes_cfb128 are now available in
+ The ciphers aes_cfb8 and aes_cfb128 are now available in
FIPS enabled mode.
Own Id: OTP-16134 Aux Id: PR-2407
- The chipers aes_cfb8 and aes_cfb128 are now using the EVP
+ The ciphers aes_cfb8 and aes_cfb128 are now using the EVP
interface. The supported key lengths are 128, 192 and 256
bits.
@@ -2494,7 +2494,7 @@
Own Id: OTP-8551 The undocumented, unsupport, and deprecated function
+ The undocumented, unsupported, and deprecated function
Own Id: OTP-8584
- crypto and zlib drivers improved to allow concurent smp
+ crypto and zlib drivers improved to allow concurrent smp
access.
Own Id: OTP-7262