mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-04 22:13:31 +08:00

The function `mbedtls_mpi_write_binary()` writes big endian byte order, but we need to be able to write little endian in some caseses. (For example when handling keys corresponding to Montgomery curves.) Used `echo xx | tac -rs ..` to transform the test data to little endian.