Can the library function of libcryptsetup be called in TA to decrypt the partition?

I want to decrypt an encrypted partition when TA starts. I saw that the libcryptsetup library function can implement partition encryption and decryption, but I don’t know if it can be called within TA.

thanks!

hello Barlow,

may I know which Jetpack release you’re working with?

you may refer to OP-TEE samples,
for instance
./optee/samples/luks-srv/ta/luks_srv_ta.c
./optee/samples/luks-srv/host/luks_srv_ca.c

please see-also developer guide as see-also, OP-TEE: Open Portable Trusted Execution Environment.

Version 32.7.3;
Excuse me, may I ask in which package the.c file of this OP-TEE example is included

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.