2020-08-24 10:00 PM
I wanna use big number in my board.
So, i try to use 'gmp.h'.
But when i use 'mpz_init' function, that have error message like this.
-> 'undefined reference to `__gmpz_init''
Should I make this function myself????
Solved! Go to Solution.
2020-08-25 01:24 AM
Hi,
libgmp is not included in STM32CubeIDE toolchain. So if you need to gmp you will need to build the library yourself.
The toolchain included in STM32CubeIDE supports long long to support big integers (64-bits).
2020-08-25 01:24 AM
Hi,
libgmp is not included in STM32CubeIDE toolchain. So if you need to gmp you will need to build the library yourself.
The toolchain included in STM32CubeIDE supports long long to support big integers (64-bits).
2020-08-25 01:56 AM
Thank u for reply, EJOHA!
Actually, i wanna using 2^512 bits integer.
What's the best way to do you have any idea?:grinning_face:
2020-08-25 02:29 AM
No I have not been using such big integers. If you are application is into crypto maybe you can look into the STM32 cryptographic firmware library on ST web site.