OP-TEE / optee_os

Trusted side of the TEE
Other
1.59k stars 1.07k forks source link

mbedtls cfb symmetric cipher mode not working #6938

Closed supernovagr closed 3 months ago

supernovagr commented 4 months ago

Hello everyone, I am using op-tee latest master version (i am guessing that is 4.3.0-rc1) on linux with qemu v8.

I am also using mbedtls version 3.6.0 for the cryptographic operations of my trusted applications. When developing a new application, i do it in x86 again using mbedtls, and then convert it into a trusted application so i do not have to rebuild or cross compile every time i have to make a change.

When running my application in x86 environment, i get no errors, but when i build optee with my TA in the optee_examples folder, there is an error about mbedtls_aes_crypt_cfb128.

Is this function not enabled in optee, if yes why not, and how can i enable it?

Thanks in advance.

jenswi-linaro commented 4 months ago

TAs use a minimal mbedtls configuration, see lib/libmbedtls/include/mbedtls_config_uta.h

github-actions[bot] commented 3 months ago

This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.