2024-04-16 04:37 AM
Hello,
recently I was testing HTTP webserver project on a NUCLEO-F429ZI board and it works ok. I have created a driver for LAN9303 (dual port PHY) tested it using shield based on this https://github.com/ATM-HSW/MbedOS-with-LAN9303
After it worked, I successfully modified my project to use HTTPS and it works ok, but it is really slow. I guess that is the case when there is no hardware crypto. Which MCU would be sufficient for task of running HTTPS webserver stored in flash? I guess 2MB flash is minimum (1MB for firmware and 1MB for server contents), but what kind of peripherals are required for hardware HTTPS crypto? Also, would that be difficult to implement offloading crypto operations to hardware? Or should the compiler take care of that?
I found this model: STM32H573RIV6, but I don't know if it has proper hardware for HTTPS. Is it a good choice? If not, please could anyone suggest proper MCU model?
Thanks
Solved! Go to Solution.
2024-07-05 08:15 AM
Hello @Faust ,
Thank you for your interest in STM32 products. now answering your requests
i think that the Most suitable STM32 for your use case would be the H5 series.
In fact, STM32H573RIV6 is Suitable for Your HTTPS Webserver
Hardware Cryptography Acceleration
Memory Requirements
High-Performance Core
Peripheral Support
Regards
2024-07-05 08:15 AM
Hello @Faust ,
Thank you for your interest in STM32 products. now answering your requests
i think that the Most suitable STM32 for your use case would be the H5 series.
In fact, STM32H573RIV6 is Suitable for Your HTTPS Webserver
Hardware Cryptography Acceleration
Memory Requirements
High-Performance Core
Peripheral Support
Regards
2024-07-05 08:26 AM
Hello, @STea
Thank you for your answer. Although I have already chosen said MCU for the project, I appreciate your help.
You mentioned mbedTLS as easy to integrate with HW crypto. Are there any examples showing how to create https webserver using this library? Can I use that library for commercial product?
I wonder if that would be easier to implement than tinkering with NetXDuo example (I am currently modifying NetXDuo crypto library on my own to support hw acceleration for AES GCM since ST stated that they won't add such support).
Regards
2024-07-08 04:27 AM
Hello @Faust ,
Indeed, MbedTLS could be easily implemented and leverage the Hardware Crypto accelerators on you MCU this is done for the stm32L5 series:
you will need to have an alternate implementation of the AES GCM for example instead of the software implementation.
take a look at this file :
2024-07-09 02:34 AM