STM32F4 [ECC] X-CUBE-CRYPTOLIB support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-14 5:35 AM
Hello,
I am using the Nucleo-STM32F411RE development board and require support for cryptographic functions, particularly ECC Point Generation.
input: w0, N
output: Y, y
Begin
generate random scalar y on chosen curve
Y=y×G+w0×N (G as defined NIST P-256)
return Y
end
To achieve this, I downloaded the X-CUBE-CRYPTOLIB v4.3.0 package, But I could not find any API's suitable for above operations like (ECC scalar multiplication or addition) which are very basic operations in ECC algorithm.
Could anyone please help me with suggestions are feedback.
Best regards,
Akash M
@Imen.D Please help.
- Labels:
-
CRC
-
Cryptography
-
STM32 Security
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-18 5:20 AM
Hi @tobbymathew
Please help!!
Best Regards,
Akash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-28 7:04 AM
Hello @Akash_M,
The STM32 cryptographic library, X-CUBE-CRYPTOLIB, provides abstraction of elementary cryptographic APIs including operations like elliptic curve scalar multiplication and addition .... This abstraction simplifies the implementation of complex cryptographic algorithms, such as key generation and digital signatures, enabling developers to integrate robust security features into their applications efficiently.
See wiki for supported algos: Introduction to cryptographic library with STM32 - stm32mcu
If possible to change the STM32F411 with other STM32 series (L4+, L5, U5, H5, H7 ...) which provide hardware accelerator of all elementary private key computations ( peripheral is called PKA).
Best Regards,
Younes
