mbedTLS RSA in KM34 MCU

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

mbedTLS RSA in KM34 MCU

775件の閲覧回数
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 返信

707件の閲覧回数
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 件の賞賛
返信