From 1afd7fa97c5445b18ce8afe6f81b932b2c217a5f Mon Sep 17 00:00:00 2001 From: Martin Olsson Date: Tue, 19 Aug 2014 10:42:52 -0400 Subject: [PATCH] RT2513: Fix typo's paramter-->parameter I also found a couple of others (padlock and signinit) and fixed them. Reviewed-by: Emilia Kasper --- crypto/bn/bn_x931p.c | 4 ++-- crypto/ec/ec.h | 2 +- doc/crypto/EVP_PKEY_cmp.pod | 2 +- doc/crypto/EVP_SignInit.pod | 2 +- engines/asm/e_padlock-x86_64.pl | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/crypto/bn/bn_x931p.c b/crypto/bn/bn_x931p.c index 04c5c874ec..eb4662ff90 100644 --- a/crypto/bn/bn_x931p.c +++ b/crypto/bn/bn_x931p.c @@ -189,8 +189,8 @@ int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, return ret; } -/* Generate pair of paramters Xp, Xq for X9.31 prime generation. - * Note: nbits paramter is sum of number of bits in both. +/* Generate pair of parameters Xp, Xq for X9.31 prime generation. + * Note: nbits parameter is sum of number of bits in both. */ int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx) diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h index fbec3226d4..3601de2c0f 100644 --- a/crypto/ec/ec.h +++ b/crypto/ec/ec.h @@ -888,7 +888,7 @@ int i2d_ECPrivateKey(EC_KEY *key, unsigned char **out); EC_KEY *d2i_ECParameters(EC_KEY **key, const unsigned char **in, long len); /** Encodes ec parameter and stores the result in a buffer. - * \param key the EC_KEY object with ec paramters to encode + * \param key the EC_KEY object with ec parameters to encode * \param out the buffer for the result (if NULL the function returns number * of bytes needed). * \return 1 on success and 0 if an error occurred. diff --git a/doc/crypto/EVP_PKEY_cmp.pod b/doc/crypto/EVP_PKEY_cmp.pod index 0ff027c0d5..94fcf66ce1 100644 --- a/doc/crypto/EVP_PKEY_cmp.pod +++ b/doc/crypto/EVP_PKEY_cmp.pod @@ -26,7 +26,7 @@ B to key B. The function EVP_PKEY_cmp_parameters() compares the parameters of keys B and B. -The function EVP_PKEY_cmp() compares the public key components and paramters +The function EVP_PKEY_cmp() compares the public key components and parameters (if present) of keys B and B. =head1 NOTES diff --git a/doc/crypto/EVP_SignInit.pod b/doc/crypto/EVP_SignInit.pod index 14ecc775af..06d02a5fca 100644 --- a/doc/crypto/EVP_SignInit.pod +++ b/doc/crypto/EVP_SignInit.pod @@ -31,7 +31,7 @@ same B to include additional data. EVP_SignFinal() signs the data in B using the private key B and places the signature in B. B must be at least EVP_PKEY_size(pkey) -bytes in size. B is an OUT paramter, and not used as an IN parameter. +bytes in size. B is an OUT parameter, and not used as an IN parameter. The number of bytes of data written (i.e. the length of the signature) will be written to the integer at B, at most EVP_PKEY_size(pkey) bytes will be written. diff --git a/engines/asm/e_padlock-x86_64.pl b/engines/asm/e_padlock-x86_64.pl index f8ba1e909f..07c0a6d084 100644 --- a/engines/asm/e_padlock-x86_64.pl +++ b/engines/asm/e_padlock-x86_64.pl @@ -377,7 +377,7 @@ $code.=<<___ if ($mode eq "ctr32"); .L${mode}_no_carry: ___ $code.=<<___; - mov %r8,$out # restore paramters + mov %r8,$out # restore parameters mov %r11,$chunk test \$0x0f,$out jz .L${mode}_out_aligned @@ -485,7 +485,7 @@ $code.=<<___ if ($mode eq "ctr32"); bswap %eax mov %eax,-4($ctx) - mov %r10,$len # restore paramters + mov %r10,$len # restore parameters sub %r11,$len mov \$`16*0x10000`,$chunk jz .L${mode}_exit -- 2.25.1