Skip to main content
angeletti2
Associate III
February 13, 2017
Question

STM32 CryptoLib - Verifyin on Linux machine

  • February 13, 2017
  • 2 replies
  • 937 views
Posted on February 13, 2017 at 13:01

Hello everybody,

I'm tryin to make a Nucleo-F401 sign a message and then verify this message on a Linux machine. Currently I am able to inject both private and public key into the STM32F401RE (and, starting from ECDSA keygen and sign example, I checked that it works). However, the public keys given by Python ECDSA and CryptoLib are different. Since I'm using the same curve for both (FIPS 186-3 NIST256P), what can cause this behaviour?

Regards,

Fabio

#cryptographic-library #ecc #cryptography #elliptic-curve #ecdsa #x-cube-cryptolib
This topic has been closed for replies.

2 replies

Nesrine M_O
Associate
February 13, 2017
Posted on February 13, 2017 at 14:36

Hi

Angeletti.Fabio

,

  • Try to make sure that you use the same private key forPythonECDSA and CryptoLib

  • Verify that the CRC module is enabled on your case

-Nesrine-

angeletti2
Associate III
February 13, 2017
Posted on February 13, 2017 at 14:59

I verified both, it is exactly what I found scavenging on google. Already tried with both endians. Any other suggestion?

angeletti2
Associate III
March 1, 2017
Posted on March 01, 2017 at 16:16

I'm still tryin to solve the issue. The Private Key seems to be the same, anyone has some working source code to share? It's really strange that it is not working as expected

Wei Zhang
Associate
March 23, 2018
Posted on March 23, 2018 at 03:30

Hi Fabio, I am doing the same thing. Hope we can nail it down together.  Pls leave me a contact if you agree to make it a team work. Thanks.