- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I want to know and understand how to enable the in-built micro-ecc in WICED Studio. I can see that WICED offers micro-ecc feature located in folder: 43xxx_Wi-Fi\WICED\security\BESL\crypto_internal\micro-ecc.
Kindly suggest how to turn on this feature to be able to use it in the file: "wiced_ota2_image.c" located in folder: 43xxx_Wi-Fi\libraries\filesystems\ota2
Solved! Go to Solution.
- Labels:
-
WICED Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can enable the uECC (micro-ecc) in WICED Studio by enabling the macro WICED_CONFIG_ENABLE_MBEDTLS_ECC_ALT in config.h file .
Location : 43xxx_Wi-Fi\WICED\security\BESL\mbedtls_open\include\mbedtls\config.h .
This macro will invoke uECC functions for ECC crypto operations.
Also, which elliptic curve have you planned to use in your application?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can enable the uECC (micro-ecc) in WICED Studio by enabling the macro WICED_CONFIG_ENABLE_MBEDTLS_ECC_ALT in config.h file .
Location : 43xxx_Wi-Fi\WICED\security\BESL\mbedtls_open\include\mbedtls\config.h .
This macro will invoke uECC functions for ECC crypto operations.
Also, which elliptic curve have you planned to use in your application?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AditiB_81,
I am planning on using SECP256R1-ECDSA algorithm.
More suggestions will be appreciated from your end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AditiB_81,
How can I integrate this internal micro-ecc with the bootloader code to be able to verify the signature using SECP256R1-ECDSA algorithm?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you specify what exactly you want to verify? What bootloader code are you referring to? Is it your custom bootloader or waf.bootloader or waf.ota2_bootloader?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What did I do to enable inbuilt uECC?
1. Defined the WICED_CONFIG_ENABLE_MBEDTLS_ECC_ALT in the location: 43xxx_Wi-Fi\WICED\security\BESL\mbedtls_open\include\mbedtls\config.h.
2. In the Make file: ota2_bootloader.mk, added a line : GLOBAL_INCLUDES += ..\..\..\WICED\security\BESL\mbedtls_open\include\mbedtls. Did this change in the Make file so that I can include "uECC.h" in waf\ota2_bootloader\ota2_bootloader.c.
SHA256 library used was imported from GitHub and modified. Currently working towards enabling the internal SHA256 library and modifying accordingly for the same purpose.