mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 22:52:18 +01:00
Merge pull request #6940 from bandi13/takeInConstParameters
Can guarantee not to modify arguments of `mp_isodd` and `mp_iszero`
This commit is contained in:
@@ -4884,12 +4884,12 @@ int mp_copy(const fp_int* a, fp_int* b)
|
||||
return MP_OKAY;
|
||||
}
|
||||
|
||||
int mp_isodd(mp_int* a)
|
||||
int mp_isodd(const mp_int* a)
|
||||
{
|
||||
return fp_isodd(a);
|
||||
}
|
||||
|
||||
int mp_iszero(mp_int* a)
|
||||
int mp_iszero(const mp_int* a)
|
||||
{
|
||||
return fp_iszero(a);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user