Commit 1afd7fa9 authored by Martin Olsson's avatar Martin Olsson Committed by Rich Salz
Browse files

RT2513: Fix typo's paramter-->parameter



I also found a couple of others (padlock and signinit)
and fixed them.

Reviewed-by: default avatarEmilia Kasper <emilia@openssl.org>
parent 0df043f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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.
+2 −2
Original line number Diff line number Diff line
@@ -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