engine/dlib/src/mbedtls/tf-psa-crypto/drivers/pqcp/mldsa-native/STDLIB.md
mldsa-native has minimal dependencies on the C standard library. This document lists all stdlib functions used and configuration options for custom replacements.
mld_zeroize which has its own custom replacement mechanismCustom replacements can be provided for memory functions using the configuration options in mldsa/src/config.h:
Replaces all memcpy calls with a custom implementation. When enabled, you must define a mld_memcpy function with the same signature as the standard memcpy.
Replaces all memset calls with a custom implementation. When enabled, you must define a mld_memset function with the same signature as the standard memset.
See the configuration examples in mldsa/src/config.h and test configurations in test/custom_*_config.h for usage examples and implementation requirements.