mbedtls icon indicating copy to clipboard operation
mbedtls copied to clipboard

Split bignum tests and re-do in python framework

Open tom-cosgrove-arm opened this issue 3 years ago • 0 comments

A couple of significant changes need to be made to the bignum tests:

  • The tests for bignum functions should be split into test cases by module (e.g. bignum_core, bignum_mod_raw, etc).
  • Whenever possible, test cases should be generated automatically.

We have a PR for Python code to generate the test cases. Once it is merged, the split can be performed, and the test cases for at least the following bignum functions should be revisited:

  • mbedtls_mpi_core_add()
  • mbedtls_mpi_core_add_if()
  • mbedtls_mpi_core_sub_int()
  • mbedtls_mpi_core_sub()
  • mbedtls_mpi_core_mla()
  • mbedtls_mpi_core_mul()
  • mbedtls_mpi_core_montmul()

tom-cosgrove-arm avatar Sep 12 '22 10:09 tom-cosgrove-arm