mbedTLS RSA in KM34 MCU

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

mbedTLS RSA in KM34 MCU

752 次查看
Mr7
Contributor II

Hi Community,

I am working on implementing the RSA algorithm on a KM34Z256 MCU using the mbedTLS library. Currently, I am using the self-test example code provided in the 'rsa.c' file. However, the code is unable to encrypt data as the return value from 'mbedtls_rsa_pkcs1_encrypt' is  not equal to 0. I suspect that the 'mbedtls_mpi_exp_mod'  API is not executing properly.

Please guide me on implementing the RSA algorithm.

Thank You

0 项奖励
回复
1 回复

684 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suppose that the example in SDK is okay, pls check the macro or compiling setting.

Hope it can help you

BR

XiangJun Rong

0 项奖励
回复