Skip to content

Commit

Permalink
[review] tree wide: remove leftover references to libmap
Browse files Browse the repository at this point in the history
I removed to wrong stuf!!! It was TEE_STRING_MODE_HEX_UC
and TEE_STRING_MODE_HEX_LC that i wanted to remove.

I'll fix the commit message to:

    Removes references to libmpa removed since OP-TEE release tag 3.9.0,
    by commit 7fb525f ("Remove libmpa in favor of libmbedtls").

    This change removes TEE_STRING_MODE_HEX_UC and TEE_STRING_MODE_HEX_LC
    macros that relate to MPA_STRING_MODE_HEX_UC which is was removed
    by the above mentioned commit.

Signed-off-by: Etienne Carriere <[email protected]>
  • Loading branch information
etienne-lms committed Nov 10, 2023
1 parent 099c269 commit 2d65e71
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/libutee/include/tee_arith_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@
*/
#define TEE_MATHAPI_EXPORT

/*
* The modes for String Conversion
*/
#define TEE_STRING_MODE_HEX_UC MPA_STRING_MODE_HEX_UC
#define TEE_STRING_MODE_HEX_LC MPA_STRING_MODE_HEX_UC

/*------------------------------------------------------------
*
* Define IN, OUT, INBUF and OUTBUF to keep format from the spec.
Expand Down
5 changes: 5 additions & 0 deletions mk/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,11 @@ CFG_TA_BIGNUM_MAX_BITS ?= 2048
# Set this to a lower value to reduce the memory footprint.
CFG_CORE_BIGNUM_MAX_BITS ?= 4096

# Not used since libmpa was removed. Force the values to catch build scripts
# that would set = n.
$(call force,CFG_TA_MBEDTLS_MPI,y)
$(call force,CFG_TA_MBEDTLS,y)

# Compile the TA library mbedTLS with self test functions, the functions
# need to be called to test anything
CFG_TA_MBEDTLS_SELF_TEST ?= y
Expand Down
1 change: 1 addition & 0 deletions ta/ta.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ta-mk-file-export-vars-$(sm) += CFG_CACHE_API
ta-mk-file-export-vars-$(sm) += CFG_SECURE_DATA_PATH
ta-mk-file-export-vars-$(sm) += CFG_TA_MBEDTLS_SELF_TEST
ta-mk-file-export-vars-$(sm) += CFG_TA_MBEDTLS
ta-mk-file-export-vars-$(sm) += CFG_TA_MBEDTLS_MPI
ta-mk-file-export-vars-$(sm) += CFG_SYSTEM_PTA
ta-mk-file-export-vars-$(sm) += CFG_FTRACE_SUPPORT
ta-mk-file-export-vars-$(sm) += CFG_UNWIND
Expand Down

0 comments on commit 2d65e71

Please sign in to comment.