mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
- Const correctness mpi_get_bit()
- Documentation mpi_lsb(), mpi_msb()
This commit is contained in:
@ -173,7 +173,7 @@ cleanup:
|
||||
/*
|
||||
* Get a specific bit
|
||||
*/
|
||||
int mpi_get_bit( mpi *X, size_t pos )
|
||||
int mpi_get_bit( const mpi *X, size_t pos )
|
||||
{
|
||||
if( X->n * biL <= pos )
|
||||
return( 0 );
|
||||
|
Reference in New Issue
Block a user