pk: align library and tests code to the new internal functions

Note = programs are not aligned to this change because:
- the original mbedtls_pk_ec is not ufficially deprecated
- that function is used in tests when ECP_C is defined, so
  the legacy version of that function is available in that
  case

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
Valerio Setti 2023-05-15 11:18:46 +02:00
parent 229bf1031f
commit 77a75685ed
10 changed files with 48 additions and 43 deletions

View file

@ -27,6 +27,7 @@
#include "mbedtls/asn1.h"
#include "mbedtls/pk.h"
#include "pk_internal.h"
#if defined(MBEDTLS_RSA_C)
#include "mbedtls/rsa.h"