(06-28-2023, 03:45 AM)JosJuice Wrote: You probably didn't initialize the submodules: git submodule update --init
Doh! Right you are...that fix that problem and now I am met with a new error:
Code:
error: too many arguments to function ‘void mbedtls_rsa_init(mbedtls_rsa_context*)’
397 | mbedtls_rsa_init(&rsa, MBEDTLS_RSA_PKCS_V15, 0);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/paul/dolphin/Source/Core/Core/IOS/IOSC.cpp:16:
/usr/include/mbedtls/rsa.h:145:6: note: declared here
145 | void mbedtls_rsa_init(mbedtls_rsa_context *ctx);
| ^~~~~~~~~~~~~~~~
/home/paul/dolphin/Source/Core/Core/IOS/IOSC.cpp:400:34: error: ‘mbedtls_rsa_context’ {aka ‘struct mbedtls_rsa_context’} has no member named ‘N’
400 | mbedtls_mpi_read_binary(&rsa.N, entry->data.data(), entry->data.size());
| ^
/home/paul/dolphin/Source/Core/Core/IOS/IOSC.cpp:401:34: error: ‘mbedtls_rsa_context’ {aka ‘struct mbedtls_rsa_context’} has no member named ‘E’
401 | mbedtls_mpi_read_binary(&rsa.E, reinterpret_cast<const u8*>(&entry->misc_data), 4);
| ^
/home/paul/dolphin/Source/Core/Core/IOS/IOSC.cpp:402:9: error: ‘mbedtls_rsa_context’ {aka ‘struct mbedtls_rsa_context’} has no member named ‘len’
402 | rsa.len = entry->data.size();
| ^~~
/home/paul/dolphin/Source/Core/Core/IOS/IOSC.cpp:404:64: error: ‘MBEDTLS_RSA_PUBLIC’ was not declared in this scope; did you mean ‘MBEDTLS_RSA_C’?
404 | int ret = mbedtls_rsa_pkcs1_verify(&rsa, nullptr, nullptr, MBEDTLS_RSA_PUBLIC, MBEDTLS_MD_SHA1,
