Open oldoldcoder opened 9 months ago
As you see here,(https://github.com/OP-TEE/optee_os/issues/6411) optee doesn't support openssl in ta(you can import openssl only in ca). So I used MbedTLS, instead.
@nolzaheo thank you for your reply ,Maybe I should to refactor my code,Salute you
@nolzaheo I spent a day refactoring the code, but currently when compiling, I can't add in the mbedTls dependency in ca as per the previous method, can you tell me how you did it?
@nolzaheo I spent a day refactoring the code, but currently when compiling, I can't add in the mbedTls dependency in ca as per the previous method, can you tell me how you did it?
Have you followed these steps in this link? (https://optee.readthedocs.io/en/latest/architecture/libraries.html#libmbedtls)
Be careful the info is bit wrong.
CFG_CRYPTOLIB_DIR=core/lib/libmbedtls (x) CFG_CRYPTOLIB_DIR=/lib/libmbedtls (o)
@nolzaheo Since I'm a newbie, so maybe I don't understand the above very well, my problem is that when I use some mbedtls header files in ca, it prompts during compilation that it can't find the:
According to the previous author's reply, I use:
to work it out, but seem to have run into some problems, i.e. I still don't know at the moment what the process is that I need to do when I need to add a different non-standard library to ca.
@nolzaheo I just need a standardized process for adding non-standard libraries to CA and TA,It doesn't seem to be found in the document
@oldoldcoder Have you tried modifying config values in optee_os/mk/config.mk like below?
At present, I also need to use OpenSsl on the TA side to implement the requirements. I saw you said that you will use mbedTLS in the future.
but in document: https://optee.readthedocs.io/en/latest/faq/faq.html#q-how-do-i-link-a-library-into-a-trusted-application I saw that you can manually import the library into it, so I want to ask:
Have you tried manually integrating the OpenSsl library as per (https://optee.readthedocs.io/en/latest/faq/faq.html#q-how-do-i-link-a-library-into-a-trusted- application), have you tried this step?
Sorry to bother you, hope to receive your reply