diff options
author | Martin Olsson <martin@minimum.se> | 2014-08-19 10:42:52 -0400 |
---|---|---|
committer | Rich Salz <rsalz@akamai.com> | 2014-08-19 11:09:33 -0400 |
commit | 1afd7fa97c5445b18ce8afe6f81b932b2c217a5f (patch) | |
tree | 439f102d784907909ba705e030e852f7f728bc8b | |
parent | 0df043f608047020740b1b5777c4f12741dc2104 (diff) |
RT2513: Fix typo's paramter-->parameter
I also found a couple of others (padlock and signinit)
and fixed them.
Reviewed-by: Emilia Kasper <emilia@openssl.org>
-rw-r--r-- | crypto/bn/bn_x931p.c | 4 | ||||
-rw-r--r-- | crypto/ec/ec.h | 2 | ||||
-rw-r--r-- | doc/crypto/EVP_PKEY_cmp.pod | 2 | ||||
-rw-r--r-- | doc/crypto/EVP_SignInit.pod | 2 | ||||
-rw-r--r-- | 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<from> to key B<to>. The function EVP_PKEY_cmp_parameters() compares the parameters of keys B<a> and B<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<a> and B<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<ctx> to include additional data. EVP_SignFinal() signs the data in B<ctx> using the private key B<pkey> and places the signature in B<sig>. B<sig> must be at least EVP_PKEY_size(pkey) -bytes in size. B<s> is an OUT paramter, and not used as an IN parameter. +bytes in size. B<s> 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<s>, 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 |