X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=bigint%2Fbigint.h;fp=bigint%2Fbigint.h;h=82e10f87054fbcfd8b0bc3083f303878a297b3c9;hp=f9097953e7bc8dbaf34b31e068808fcd2c64584d;hb=01b5d29136b37105c7e533bd3ec2299d31551627;hpb=d796b12dbb838974705d995369161d3836f9dad2 diff --git a/bigint/bigint.h b/bigint/bigint.h index f909795..82e10f8 100644 --- a/bigint/bigint.h +++ b/bigint/bigint.h @@ -68,8 +68,8 @@ typedef struct{ /******************************************************************************/ void bigint_adjust(bigint_t *a); -uint32_t bigint_get_first_set_bit(const bigint_t *a); -uint32_t bigint_get_last_set_bit(const bigint_t *a); +int32_t bigint_get_first_set_bit(const bigint_t *a); +int32_t bigint_get_last_set_bit(const bigint_t *a); bigint_length_t bigint_length_b(const bigint_t *a); bigint_length_t bigint_length_B(const bigint_t *a); void bigint_copy(bigint_t *dest, const bigint_t *src);