mbedtls/include/psa
Darryl Green 2f0eb51aae psa: Define mbedtls_ecc_group_to_psa() inline
On dual world platforms, we want to run the PK module (pk.c) on the NS
side so TLS can use PSA APIs via the PK interface. PK currently has a
hard dependency on mbedtls_ecc_group_to_psa() which is declared in
crypto_extra.h, but only defined in psa_crypto.c, which is only built
for the S side.

Without this change, dual world platforms get error messages like the
following.

    [Error] @0,0: L6218E: Undefined symbol mbedtls_ecc_group_to_psa (referred from BUILD/LPC55S69_NS/ARM/mbed-os/features/mbedtls/mbed-crypto/src/pk.o)

Make mbedtls_ecc_group_to_psa() inline within crypto_extra.h so that it
is available to both NS and S world code.

Fixes #3300

Signed-off-by: Darryl Green <darryl.green@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-05-05 12:41:48 +01:00
..
crypto.h Define EC curve family constants 2020-01-31 10:15:32 +01:00
crypto_accel_driver.h Pacify check-names.sh 2019-03-06 18:29:57 +01:00
crypto_compat.h Change the compatibility API to inline functions 2020-02-10 17:26:22 +00:00
crypto_driver_common.h Split crypto_driver.h into one for each driver type 2018-12-21 18:17:10 +01:00
crypto_entropy_driver.h Doxygen changes to match the code changes. clarifications. 2019-02-15 17:23:42 -06:00
crypto_extra.h psa: Define mbedtls_ecc_group_to_psa() inline 2020-05-05 12:41:48 +01:00
crypto_platform.h Merge pull request #139 from Patater/des-faster-and-typo-fix 2019-09-04 12:18:39 +01:00
crypto_se_driver.h SE driver: validate_slot_number: support changing persistent data 2019-10-01 14:27:23 +02:00
crypto_sizes.h Define EC curve family constants 2020-01-31 10:15:32 +01:00
crypto_struct.h Change key types to a 16-bit encoding 2020-01-31 10:24:21 +01:00
crypto_types.h Document the vendor range for EC curve and DH group families 2020-01-31 10:24:21 +01:00
crypto_values.h Change the encoding of key types to have a parity bit 2020-01-31 10:24:21 +01:00