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>
This commit is contained in:
Martin Olsson 2014-08-19 10:42:52 -04:00 committed by Rich Salz
parent 0df043f608
commit 1afd7fa97c
5 changed files with 7 additions and 7 deletions

View File

@ -189,8 +189,8 @@ int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
return ret; return ret;
} }
/* Generate pair of paramters Xp, Xq for X9.31 prime generation. /* Generate pair of parameters Xp, Xq for X9.31 prime generation.
* Note: nbits paramter is sum of number of bits in both. * 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) int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx)

View File

@ -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); EC_KEY *d2i_ECParameters(EC_KEY **key, const unsigned char **in, long len);
/** Encodes ec parameter and stores the result in a buffer. /** 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 * \param out the buffer for the result (if NULL the function returns number
* of bytes needed). * of bytes needed).
* \return 1 on success and 0 if an error occurred. * \return 1 on success and 0 if an error occurred.

View File

@ -26,7 +26,7 @@ B<from> to key B<to>.
The function EVP_PKEY_cmp_parameters() compares the parameters of keys The function EVP_PKEY_cmp_parameters() compares the parameters of keys
B<a> and B<b>. 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>. (if present) of keys B<a> and B<b>.
=head1 NOTES =head1 NOTES

View File

@ -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 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) 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) 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 to the integer at B<s>, at most EVP_PKEY_size(pkey) bytes
will be written. will be written.

View File

@ -377,7 +377,7 @@ $code.=<<___ if ($mode eq "ctr32");
.L${mode}_no_carry: .L${mode}_no_carry:
___ ___
$code.=<<___; $code.=<<___;
mov %r8,$out # restore paramters mov %r8,$out # restore parameters
mov %r11,$chunk mov %r11,$chunk
test \$0x0f,$out test \$0x0f,$out
jz .L${mode}_out_aligned jz .L${mode}_out_aligned
@ -485,7 +485,7 @@ $code.=<<___ if ($mode eq "ctr32");
bswap %eax bswap %eax
mov %eax,-4($ctx) mov %eax,-4($ctx)
mov %r10,$len # restore paramters mov %r10,$len # restore parameters
sub %r11,$len sub %r11,$len
mov \$`16*0x10000`,$chunk mov \$`16*0x10000`,$chunk
jz .L${mode}_exit jz .L${mode}_exit