mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 02:35:38 +01:00
parent
089b70d5a6
commit
5aef1e10f9
@ -280,7 +280,7 @@
|
|||||||
/**
|
/**
|
||||||
* \def POLARSSL_BIGNUM_C
|
* \def POLARSSL_BIGNUM_C
|
||||||
*
|
*
|
||||||
* Enable the multo-precision integer library.
|
* Enable the multi-precision integer library.
|
||||||
*
|
*
|
||||||
* Module: library/bignum.c
|
* Module: library/bignum.c
|
||||||
* Caller: library/dhm.c
|
* Caller: library/dhm.c
|
||||||
|
@ -1213,10 +1213,6 @@ cleanup:
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Division by int: A = Q * b + R
|
* Division by int: A = Q * b + R
|
||||||
*
|
|
||||||
* Returns 0 if successful
|
|
||||||
* 1 if memory allocation failed
|
|
||||||
* POLARSSL_ERR_MPI_DIVISION_BY_ZERO if b == 0
|
|
||||||
*/
|
*/
|
||||||
int mpi_div_int( mpi *Q, mpi *R, const mpi *A, t_sint b )
|
int mpi_div_int( mpi *Q, mpi *R, const mpi *A, t_sint b )
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Error message information
|
* Error message information
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2010, Brainspark B.V.
|
* Copyright (C) 2006-2012, Brainspark B.V.
|
||||||
*
|
*
|
||||||
* This file is part of PolarSSL (http://www.polarssl.org)
|
* This file is part of PolarSSL (http://www.polarssl.org)
|
||||||
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
||||||
@ -509,4 +509,4 @@ void error_strerror( int ret, char *buf, size_t buflen )
|
|||||||
snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", use_ret );
|
snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", use_ret );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* POLARSSL_VERBOSE_ERROR */
|
#endif /* POLARSSL_ERROR_C */
|
||||||
|
@ -2776,8 +2776,6 @@ int x509parse_revoked( const x509_cert *crt, const x509_crl *crl )
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Wrapper for x509 hashes.
|
* Wrapper for x509 hashes.
|
||||||
*
|
|
||||||
* \param out Buffer to receive the hash (Should be at least 64 bytes)
|
|
||||||
*/
|
*/
|
||||||
static void x509_hash( const unsigned char *in, size_t len, int alg,
|
static void x509_hash( const unsigned char *in, size_t len, int alg,
|
||||||
unsigned char *out )
|
unsigned char *out )
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Error message information
|
* Error message information
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2010, Brainspark B.V.
|
* Copyright (C) 2006-2012, Brainspark B.V.
|
||||||
*
|
*
|
||||||
* This file is part of PolarSSL (http://www.polarssl.org)
|
* This file is part of PolarSSL (http://www.polarssl.org)
|
||||||
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
||||||
@ -86,4 +86,4 @@ LOW_LEVEL_CODE_CHECKS
|
|||||||
snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", use_ret );
|
snprintf( buf, buflen, "UNKNOWN ERROR CODE (%04X)", use_ret );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* POLARSSL_VERBOSE_ERROR */
|
#endif /* POLARSSL_ERROR_C */
|
||||||
|
Loading…
Reference in New Issue
Block a user