Crypto lib - STM32 crpto lib vs Openssl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-08-31 9:29 AM
Hello, Admin and everyone.
Please let me ask,
Can we use Openssl with STM32 nucleo board ? if possible, how ?
I cannot read the lib on Keil.
and can we migrate from Opennssl to STM32 crypto lib ?
Thanks.
#stm32-crypto-openssl- Labels:
-
Cryptography
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-01 4:38 AM
Hi s-shige,
YEs you can , just enable the CRC before using the crypto lib and ensure that the CRC and CRYP Enable macros are uncommented in the hal_conf.h :Check:
in hal_conf.h enabled:
#define HAL_CRC_MODULE_ENABLED
#define HAL_CRYP_MODULE_ENABLED
in your init function:
/* Enable CRC clock */
__CRC_CLK_ENABLE();
-Hannibal-- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-02 9:47 AM
Hello, Hannibal.
Please let me confirm and ask again.
Does it mean that ST32 cyrpt lib comatible with Openssl, right ?
I can use Openssl apps with ST32 cyrpt lib with your configuration.
Is my understanding correct ?
Regards,
Shigenori
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-02 10:18 AM
I think you'll need to evaluate how easy it is to port, the algorithms are clearly the same, and defined, but the interfaces to various API, and the functionality at a hardware level (data length, alignment, etc) tend to complicate things.
I'm not sufficiently familiar with OpenSSL to know it's needs, but the ST code does work.Up vote any posts that you find helpful, it shows what's working..
