Remove confusing const qualifier
Since a is not a pointer, it is passed by value and declaring it const doesn’t make any sense and on the first read can make me miss the fact that a is not a pointer. Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
parent
c459641ad1
commit
2e328c8591
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "bignum_core.h"
|
||||
|
||||
size_t mbedtls_mpi_core_clz( const mbedtls_mpi_uint a )
|
||||
size_t mbedtls_mpi_core_clz( mbedtls_mpi_uint a )
|
||||
{
|
||||
size_t j;
|
||||
mbedtls_mpi_uint mask = (mbedtls_mpi_uint) 1 << (biL - 1);
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
*
|
||||
* \return The number of leading zero bits in \p a.
|
||||
*/
|
||||
size_t mbedtls_mpi_core_clz( const mbedtls_mpi_uint a );
|
||||
size_t mbedtls_mpi_core_clz( mbedtls_mpi_uint a );
|
||||
|
||||
/** Return the minimum number of bits required to represent the value held
|
||||
* in the MPI.
|
||||
|
|
Loading…
Reference in a new issue