Topic: Import ecc key is hanging/returning err after compression
Hello geeks,
We are using wolfssl in our project which is based on Silabs BLE mcu (BGM210PA32).
Initially we were using the wc_ecc_export_x963 and wc_ecc_import_x963, and the export and import was working fine.
Now when I use the export with compression wc_ecc_export_x963_ex ( it is successfully compressing to 33bytes) and then during the import the program is getting hanged indefinitely. Also sometimes I observed the error,
WC_HW_E = -248, /* Error with hardware crypto use */
I am quite sure the controller we use has Wolfssl Hardware acceleration support, but still couldn't understand why we get the -248 err.
Could you please comment on the hanging issue we observe while using the enabling the compression api.
For your info, these api's we use in our project to import and export:
wc_ecc_init()
wc_ecc_make_key_ex()
wc_ecc_export_x963_ex()
wc_ecc_import_x963
Thanks in advance.