Skip to main content
Visitor II
July 9, 2026
Question

A simple question about x-cube-stse01 stsafea_verify_entity_signature() function

  • July 9, 2026
  • 1 reply
  • 23 views

Hello everyone,

 

stse_ReturnCode_t stsafea_verify_entity_signature(
    stse_Handler_t *pSTSE,
    PLAT_UI8 slot_number,
    stse_ecc_key_type_t key_type,
    PLAT_UI8 *pSignature,
    PLAT_UI8 *pSignature_validity)

 

this is the declaration of the function, my question is:

against which hash/payload does the function verify the signature?

 

Thanks,

Giorgio.

 

1 reply

ST Employee
August 21, 2026

Hi ​@bonafrect ,

 

This function is part of the Entity Authentication procedure which use the Generate Challenge to generate a challenge and verify the signature over this challenge. Therefore you don’t need to provide the hash for this command.

 

If you want to use the STSAFE-A as a crypto coprocessor to verify ECDSA signature, you need to use the stsafea_ecc_verify_signature() function

 

Best Regards,

 

Benjamin