mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Fixed spelling / typos (from PowerDNS:codespell)
This commit is contained in:
parent
93c6aa4014
commit
60b1d10131
10 changed files with 17 additions and 17 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue