Fixed spelling / typos (from PowerDNS:codespell)
This commit is contained in:
parent
93c6aa4014
commit
60b1d10131
@ -650,7 +650,7 @@ Changes
|
||||
in a function to allow easy future expansion
|
||||
* Changed symmetric cipher functions to
|
||||
identical interface (returning int result values)
|
||||
* Changed ARC4 to use seperate input/output buffer
|
||||
* Changed ARC4 to use separate input/output buffer
|
||||
* Added reset function for HMAC context as speed-up
|
||||
for specific use-cases
|
||||
|
||||
@ -890,7 +890,7 @@ XySSL ChangeLog
|
||||
* Multiple fixes to enhance the compatibility with g++,
|
||||
thanks to Xosé Antón Otero Ferreira
|
||||
* Fixed a bug in the CBC code, thanks to dowst; also,
|
||||
the bignum code is no longer dependant on long long
|
||||
the bignum code is no longer dependent on long long
|
||||
* Updated rsa_pkcs1_sign to handle arbitrary large inputs
|
||||
* Updated timing.c for improved compatibility with i386
|
||||
and 486 processors, thanks to Arnaud Cornet
|
||||
|
@ -13,7 +13,7 @@
|
||||
* - initialise an SSL/TLS context (see \c ssl_init()).
|
||||
* - perform an SSL/TLS handshake (see \c ssl_handshake()).
|
||||
* - read/write (see \c ssl_read() and \c ssl_write()).
|
||||
* - notify a peer that conection is being closed (see \c ssl_close_notify()).
|
||||
* - notify a peer that connection is being closed (see \c ssl_close_notify()).
|
||||
*
|
||||
* Many aspects of such a channel are set through parameters and callback
|
||||
* functions:
|
||||
|
@ -436,7 +436,7 @@ int mpi_cmp_int( const mpi *X, t_sint z );
|
||||
int mpi_add_abs( mpi *X, const mpi *A, const mpi *B );
|
||||
|
||||
/**
|
||||
* \brief Unsigned substraction: X = |A| - |B|
|
||||
* \brief Unsigned subtraction: X = |A| - |B|
|
||||
*
|
||||
* \param X Destination MPI
|
||||
* \param A Left-hand MPI
|
||||
@ -460,7 +460,7 @@ int mpi_sub_abs( mpi *X, const mpi *A, const mpi *B );
|
||||
int mpi_add_mpi( mpi *X, const mpi *A, const mpi *B );
|
||||
|
||||
/**
|
||||
* \brief Signed substraction: X = A - B
|
||||
* \brief Signed subtraction: X = A - B
|
||||
*
|
||||
* \param X Destination MPI
|
||||
* \param A Left-hand MPI
|
||||
@ -484,7 +484,7 @@ int mpi_sub_mpi( mpi *X, const mpi *A, const mpi *B );
|
||||
int mpi_add_int( mpi *X, const mpi *A, t_sint b );
|
||||
|
||||
/**
|
||||
* \brief Signed substraction: X = A - b
|
||||
* \brief Signed subtraction: X = A - b
|
||||
*
|
||||
* \param X Destination MPI
|
||||
* \param A Left-hand MPI
|
||||
|
@ -1425,7 +1425,7 @@ int ssl_handshake_step( ssl_context *ssl );
|
||||
*
|
||||
* \param ssl SSL context
|
||||
*
|
||||
* \return 0 if succesful, or any ssl_handshake() return value.
|
||||
* \return 0 if successful, or any ssl_handshake() return value.
|
||||
*/
|
||||
int ssl_renegotiate( ssl_context *ssl );
|
||||
|
||||
|
@ -788,7 +788,7 @@ cleanup:
|
||||
}
|
||||
|
||||
/*
|
||||
* Helper for mpi substraction
|
||||
* Helper for mpi subtraction
|
||||
*/
|
||||
static void mpi_sub_hlp( size_t n, t_uint *s, t_uint *d )
|
||||
{
|
||||
@ -809,7 +809,7 @@ static void mpi_sub_hlp( size_t n, t_uint *s, t_uint *d )
|
||||
}
|
||||
|
||||
/*
|
||||
* Unsigned substraction: X = |A| - |B| (HAC 14.9)
|
||||
* Unsigned subtraction: X = |A| - |B| (HAC 14.9)
|
||||
*/
|
||||
int mpi_sub_abs( mpi *X, const mpi *A, const mpi *B )
|
||||
{
|
||||
@ -832,7 +832,7 @@ int mpi_sub_abs( mpi *X, const mpi *A, const mpi *B )
|
||||
MPI_CHK( mpi_copy( X, A ) );
|
||||
|
||||
/*
|
||||
* X should always be positive as a result of unsigned substractions.
|
||||
* X should always be positive as a result of unsigned subtractions.
|
||||
*/
|
||||
X->s = 1;
|
||||
|
||||
@ -883,7 +883,7 @@ cleanup:
|
||||
}
|
||||
|
||||
/*
|
||||
* Signed substraction: X = A - B
|
||||
* Signed subtraction: X = A - B
|
||||
*/
|
||||
int mpi_sub_mpi( mpi *X, const mpi *A, const mpi *B )
|
||||
{
|
||||
@ -930,7 +930,7 @@ int mpi_add_int( mpi *X, const mpi *A, t_sint b )
|
||||
}
|
||||
|
||||
/*
|
||||
* Signed substraction: X = A - b
|
||||
* Signed subtraction: X = A - b
|
||||
*/
|
||||
int mpi_sub_int( mpi *X, const mpi *A, t_sint b )
|
||||
{
|
||||
|
@ -93,7 +93,7 @@ typedef UINT32 uint32_t;
|
||||
/*
|
||||
* htons() is not always available.
|
||||
* By default go for LITTLE_ENDIAN variant. Otherwise hope for _BYTE_ORDER and __BIG_ENDIAN
|
||||
* to help determine endianess.
|
||||
* to help determine endianness.
|
||||
*/
|
||||
#if defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && __BYTE_ORDER == __BIG_ENDIAN
|
||||
#define POLARSSL_HTONS(n) (n)
|
||||
|
@ -1184,7 +1184,7 @@ int x509_crt_revoked( const x509_crt *crt, const x509_crl *crl )
|
||||
}
|
||||
|
||||
/*
|
||||
* Check that the given certificate is valid accoring to the CRL.
|
||||
* Check that the given certificate is valid according to the CRL.
|
||||
*/
|
||||
static int x509_crt_verifycrl( x509_crt *crt, x509_crt *ca,
|
||||
x509_crl *crl_list)
|
||||
|
@ -320,7 +320,7 @@ int main( int argc, char *argv[] )
|
||||
}
|
||||
|
||||
/*
|
||||
* Substract the IV + HMAC length.
|
||||
* Subtract the IV + HMAC length.
|
||||
*/
|
||||
filesize -= ( 16 + 32 );
|
||||
|
||||
|
@ -390,7 +390,7 @@ int main( int argc, char *argv[] )
|
||||
}
|
||||
|
||||
/*
|
||||
* Substract the IV + HMAC length.
|
||||
* Subtract the IV + HMAC length.
|
||||
*/
|
||||
filesize -= ( 16 + md_get_size( md_info ) );
|
||||
|
||||
|
@ -277,7 +277,7 @@ mpi_sub_mpi:10:"-5":10:"-7":10:"2"
|
||||
Base test mpi_sub_mpi #3 (Test with negative base)
|
||||
mpi_sub_mpi:10:"-5":10:"7":10:"-12"
|
||||
|
||||
Base test mpi_sub_mpi #4 (Test with negative substraction)
|
||||
Base test mpi_sub_mpi #4 (Test with negative subtraction)
|
||||
mpi_sub_mpi:10:"5":10:"-7":10:"12"
|
||||
|
||||
Test mpi_sub_mpi #1
|
||||
|
Loading…
Reference in New Issue
Block a user