Hello,
Thank you for your reply.
Regarding Q1, indeed I needed to perform some changes in function 'mbedtls_rsa_rsaes_oaep_encrypt()'. When 'mbedtls_md( md_info, label, label_len, p )' is called, I needed to make sure 'p' is 32 bytes aligned. I did that using an intermediate static variable and '__ALIGNED(32)' tag. I wonder if this doesn't have something to see with DMA or data cache.
I didn't find any SDK example execising 'mbedtls_rsa_pkcs1_encrypt()' function.
Regarding Q2, ok with your answer.