Tool/software:
I understand that the bootloader (in SDK example) is using TI version of MCUBOOT. Comparing to the publicity version of MCUBOOT, it uses TI crypto libraries.
However, the crypto part isn't open-source and non-configurable.
I made a slightly change to the SDK, simply replace the public key verification with uECC (micro-ECC). I further optimized the build options of uECC, removing unused signature type (signing method, we only use secp256r1, aka ). I found out that the bootloader size could be reduced by 3784 bytes. What I am thinking about, probably following reasons:
- uECC has higher efficiency of ECC signature verification.
- Ti current library has multiple crypto support, such as RSA, and/or different bits support for ECC and RSA. Since we don't use other crypto suite at all, then we have benefit to use our customized uECC
So, the call-out is that what if:
- Can Ti provide relate source code and corresponding build script (makefile, etc..) to have further build option to reduce the size of the crypto library?
- By setting different flag, some crypto may not be supported, hence, save size.
- If open-source isn't available, can Ti provide multiple library that for each one, only support certain (/w combination) crypto suite?
- e.g., bimsupport-ecc256.a, bimsupport-rsapss2048.a, ...