X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=bigint%2Fbigint.h;h=642b4e06becf7d12239cfac8b7c22dabd60e89e0;hb=6cddae4d0fa8acf9d3bfd5e0f42c789c32f3a992;hp=7a7702f077fb22a7b35b9c05442eefab078d33da;hpb=ca25e57ca6a74d6e26cad823d45fcc4604689fa1;p=avr-crypto-lib.git diff --git a/bigint/bigint.h b/bigint/bigint.h index 7a7702f..642b4e0 100644 --- a/bigint/bigint.h +++ b/bigint/bigint.h @@ -61,8 +61,8 @@ void bigint_sub_u_bitscale(bigint_t* a, const bigint_t* b, uint16_t bitscale); void bigint_reduce(bigint_t* a, const bigint_t* r); void bigint_expmod_u(bigint_t* dest, const bigint_t* a, const bigint_t* exp, const bigint_t* r); void bigint_gcdext(bigint_t* gcd, bigint_t* a, bigint_t* b, const bigint_t* x, const bigint_t* y); -void bigint_inverse(bigint_t* dest, bigint_t* a, bigint_t* m); - +void bigint_inverse(bigint_t* dest, const bigint_t* a, const bigint_t* m); +void bigint_changeendianess(bigint_t* a); /******************************************************************************/ #endif /*BIGINT_H_*/