Bignum: extract bignum_mod.h functions
Extract functions declared in bignum_mod.h into a source file with a
matching name.
We are doing this because:
- This is a general best practice/convention
- We hope that this will make resolving merge conflicts in the future
easier
- Having them in a unified source file is a premature optimisation at
this point
This makes library/bignum_new.c empty and therefore it is deleted.
Signed-off-by: Janos Follath <janos.follath@arm.com>
diff --git a/include/mbedtls/mbedtls_config.h b/include/mbedtls/mbedtls_config.h
index ed85e3f..3e25355 100644
--- a/include/mbedtls/mbedtls_config.h
+++ b/include/mbedtls/mbedtls_config.h
@@ -2010,9 +2010,9 @@
* Enable the multi-precision integer library.
*
* Module: library/bignum.c
- * library/bignum_new.c
* library/bignum_core.c
* library/bignum_mod_raw.c
+ * library/bignum_mod.c
* Caller: library/dhm.c
* library/ecp.c
* library/ecdsa.c