]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
unify spelling of serialize
authorPauli <paul.dale@oracle.com>
Wed, 10 Jun 2020 23:42:34 +0000 (09:42 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 30 Jul 2020 10:15:22 +0000 (20:15 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12104)

apps/s_server.c
crypto/bn/bn_mont.c
crypto/ec/curve448/eddsa.c
crypto/ec/ecp_nistp256.c
crypto/ec/ecp_nistp521.c
include/openssl/ct.h
include/openssl/dsa.h
ssl/s3_cbc.c

index 15d479ce0e857e24d3c6c75ee698d01067f94c95..5f16dcdea4209645d40ed6c9f94332fec909510f 100644 (file)
@@ -3647,7 +3647,7 @@ static int generate_session_id(SSL *ssl, unsigned char *id,
 
 /*
  * By default s_server uses an in-memory cache which caches SSL_SESSION
- * structures without any serialisation. This hides some bugs which only
+ * structures without any serialization. This hides some bugs which only
  * become apparent in deployed servers. By implementing a basic external
  * session cache some issues can be debugged using s_server.
  */
index 6e6848c647f3f70cd0d73088a5041ca11d7d2234..778b45244c3fdb1fe3782850e67d9dc6d9328a0e 100644 (file)
@@ -437,7 +437,7 @@ BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_RWLOCK *lock,
         return ret;
 
     /*
-     * We don't want to serialise globally while doing our lazy-init math in
+     * We don't want to serialize globally while doing our lazy-init math in
      * BN_MONT_CTX_set. That punishes threads that are doing independent
      * things. Instead, punish the case where more than one thread tries to
      * lazy-init the same 'pmont', by having each do the lazy-init math work
index d8c2f8821896d92673ed840908962393627f7091..f4fbaf753968542c9175c9206c314cf6cdb4c412 100644 (file)
@@ -169,7 +169,7 @@ c448_error_t c448_ed448_sign(
 
     {
         /*
-         * Schedule the secret key, First EDDSA_448_PRIVATE_BYTES is serialised
+         * Schedule the secret key, First EDDSA_448_PRIVATE_BYTES is serialized
          * secret scalar,next EDDSA_448_PRIVATE_BYTES bytes is the seed.
          */
         uint8_t expanded[EDDSA_448_PRIVATE_BYTES * 2];
index fb9b22554df593b91d040909a240904f07729bd8..8bf25e389e229096348c8ace47c6d16cb0b1f970 100644 (file)
@@ -59,7 +59,7 @@ typedef uint64_t u64;
 
 /*
  * The underlying field. P256 operates over GF(2^256-2^224+2^192+2^96-1). We
- * can serialise an element of this field into 32 bytes. We call this an
+ * can serialize an element of this field into 32 bytes. We call this an
  * felem_bytearray.
  */
 
@@ -138,7 +138,7 @@ static void bin32_to_felem(felem out, const u8 in[32])
 }
 
 /*
- * smallfelem_to_bin32 takes a smallfelem and serialises into a little
+ * smallfelem_to_bin32 takes a smallfelem and serializes into a little
  * endian, 32 byte array. This assumes that the CPU is little-endian.
  */
 static void smallfelem_to_bin32(u8 out[32], const smallfelem in)
index 0e7f1dae3b515e32def6580bead4194015d31645..455885aa09c6bc8927fb9bf194354169e8d6ff8c 100644 (file)
@@ -55,7 +55,7 @@ typedef uint8_t u8;
 typedef uint64_t u64;
 
 /*
- * The underlying field. P521 operates over GF(2^521-1). We can serialise an
+ * The underlying field. P521 operates over GF(2^521-1). We can serialize an
  * element of this field into 66 bytes where the most significant byte
  * contains only a single bit. We call this an felem_bytearray.
  */
@@ -156,7 +156,7 @@ static void bin66_to_felem(felem out, const u8 in[66])
 }
 
 /*
- * felem_to_bin66 takes an felem and serialises into a little endian, 66 byte
+ * felem_to_bin66 takes an felem and serializes into a little endian, 66 byte
  * array. This assumes that the CPU is little-endian.
  */
 static void felem_to_bin66(u8 out[66], const felem in)
index 280f7ceecf794b60ebb9b1d31917a06c157be9a4..a69c986f062fe907a322588c5456a46dc5c8e222 100644 (file)
@@ -331,7 +331,7 @@ __owur int SCT_LIST_validate(const STACK_OF(SCT) *scts,
 
 
 /*********************************
- * SCT parsing and serialisation *
+ * SCT parsing and serialization *
  *********************************/
 
 /*
index a7d32eee98e51845fbfa1d97aecf38daaf2a45bf..915870acbf14bc0d487105880ed1065e468400a5 100644 (file)
@@ -76,7 +76,7 @@ typedef struct DSA_SIG_st DSA_SIG;
 
 /*
  * TODO(3.0): consider removing the ASN.1 encoding and decoding when
- * deserialisation is completed elsewhere.
+ * deserialization is completed elsewhere.
  */
 #  define d2i_DSAparams_fp(fp, x) \
         (DSA *)ASN1_d2i_fp((char *(*)())DSA_new, \
index d6198dddb9f9fd2a9ea2e10d93c1fbcc69cd3fb0..ec1f3cf83bb3de8883c1c0fd5dc91250e84da993 100644 (file)
@@ -34,7 +34,7 @@
 #define MAX_HASH_BLOCK_SIZE 128
 
 /*
- * u32toLE serialises an unsigned, 32-bit number (n) as four bytes at (p) in
+ * u32toLE serializes an unsigned, 32-bit number (n) as four bytes at (p) in
  * little-endian order. The value of p is advanced by four.
  */
 #define u32toLE(n, p) \