im trying to do the following
- define a big number by mbedtls_mpi
- do some calculation on this bug number like encrypt it or xor it with some random data
- i expect to get the exact number of bytes by the mbedtls_mpi_size
but if the first bytes appear to be 0 ( because my encryption ) im getting less bytes than expected .
( because the mbedtls_mpi_size dont count the leading zero )
any suggestion ?