How to use OpenSSL RSA in trusty?

hello zjfsharp,

the RSA should be enabled.
may I know what’s toolchain you’re using for building Trusty sources?

FYI,
TOS consists of 32-bit trusted applications (TAs) which run on top of a 64-bit kernel. therefore, both 32-bit and 64-bit toolchains are necessary.
could you please refer to Jetson Linux Driver Package Toolchain for getting aarch64 toolchain.
you may also access armhf (32-bit) toolchain, for example, arm-linux-gnueabihf.

we had confirmed we could build trusty sources,
please refer to below.

$ export CROSS_COMPILE_AARCH64=~/l4t-gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-  
$ export CROSS_COMPILE_ARM=~/l4t-gcc/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- 
$ make t186 PROJECT=t186 TARGET=t186 BUILDROOT=./t194ref TOOLCHAIN_PREFIX="${CROSS_COMPILE_AARCH64}" ARCH_arm_TOOLCHAIN_PREFIX="${CROSS_COMPILE_ARM}" ARCH_arm64_TOOLCHAIN_PREFIX="${CROSS_COMPILE_AARCH64}" DEBUG=0 DEBUG_LVL=0 DEFAULT_OTE_APP_DEBUGLEVEL=1 NOECHO=@ TRUSTY_VARIANT=l4t-public TRUSTY_MULTI_GUEST_CONFIGURATION= TARGET_SOC=t194
...
generating image: t194ref/build-t186/lk.bin
$ ls -la t194ref/build-t186/lk.bin
-rwxrwxr-x 1 jerry jerry 282632 Oct 29 14:38 t194ref/build-t186/lk.bin*

please also have confirmation,
thanks