Commit c2d85cb
[noup] crypto: mbedtls: Include pk.h for EC paths without ECDH
CRYPTO_MBEDTLS_CRYPTO_EC (WPA3, etc.) uses mbedtls_pk_* but mbedtls/pk.h
was only included when CRYPTO_MBEDTLS_CRYPTO_ECDH or EC_DPP is set. Builds
with WPA3 and WPS/P2P but without PSA_WANT_ALG_ECDH fail to compile.
Add the same pk.h setup and ECC PSA helper declarations at the start of
the EC block.
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Assisted-by: Cursor: Auto1 parent 0c05d78 commit c2d85cb
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2077 | 2077 | | |
2078 | 2078 | | |
2079 | 2079 | | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
2080 | 2092 | | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
2081 | 2098 | | |
2082 | 2099 | | |
2083 | 2100 | | |
| |||
0 commit comments