Tamas Ban | f8b0b2d | 2020-10-26 13:03:13 +0000 | [diff] [blame] | 1 | # ----------------------------------------------------------- |
| 2 | # Copyright (c) 2020, Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | # ----------------------------------------------------------- |
Balint Matyi | b7d1288 | 2020-05-14 10:32:55 +0100 | [diff] [blame] | 7 | |
| 8 | #Groups of functions that can be always shared with no exceptions |
| 9 | mbedtls_asn1 |
| 10 | |
| 11 | mbedtls_mpi |
| 12 | |
| 13 | mbedtls_platform |
| 14 | |
Tamas Ban | f8b0b2d | 2020-10-26 13:03:13 +0000 | [diff] [blame] | 15 | mbedtls_rsa |
Balint Matyi | b7d1288 | 2020-05-14 10:32:55 +0100 | [diff] [blame] | 16 | |
| 17 | #This group is only relevant if BL2 image encryption is on |
| 18 | mbedtls_md |
| 19 | |
| 20 | #This group has two functions that cause runtime errors when shared, so the |
| 21 | #error-free ones are listed piece by piece |
| 22 | mbedtls_internal_sha256 |
| 23 | mbedtls_sha256_free |
| 24 | mbedtls_sha256_init |
| 25 | mbedtls_sha256_ret |
| 26 | mbedtls_sha256_starts_ret |
| 27 | |
| 28 | #Symbols necessary to make sharing additional functions possible |
| 29 | mbedtls_calloc |
| 30 | mbedtls_free |
| 31 | |
| 32 | #Miscellaneous functions |
| 33 | mbedtls_exit |
| 34 | memset_func |