/******************************************************************************/
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);
void bigint_add_s(bigint_t *dest, const bigint_t *a, const bigint_t *b);
void bigint_sub_s(bigint_t *dest, const bigint_t *a, const bigint_t *b);
int8_t bigint_cmp_s(const bigint_t *a, const bigint_t *b);
+void bigint_shiftleft_bits(bigint_t *a, uint8_t shift);
void bigint_shiftleft(bigint_t *a, bigint_length_t shift);
+void bigint_shiftright_1bit(bigint_t *a);
+void bigint_shiftright_1word(bigint_t *a);
void bigint_shiftright(bigint_t *a, bigint_length_t shift);
void bigint_xor(bigint_t *dest, const bigint_t *a);
void bigint_set_zero(bigint_t *a);