Add option to disable built-in aes implementation.
For time being, there are only two aes implementations for known architectures. I define runtime detection function as const when built-in was disabled. In this case, compiler will remove dead built-in code. Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
9661f8ab0d
commit
0d4f4e5b01
7 changed files with 24 additions and 1 deletions
|
@ -4006,4 +4006,9 @@
|
|||
*/
|
||||
//#define MBEDTLS_ECP_WITH_MPI_UINT
|
||||
|
||||
/*
|
||||
* Platform independent implementation for crypto algorithms.
|
||||
*/
|
||||
//#define MBEDTLS_AES_HAS_NO_BUILTIN /* Uncomment to disable built-in platform independent code of AES */
|
||||
|
||||
/** \} name SECTION: Module configuration options */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue