Skip to main content
Explorer II
March 27, 2025
Solved

ST25FTM Encryption

  • March 27, 2025
  • 2 replies
  • 540 views

Hi,

I am currently working with the example projects from the ST25FTM library inside the STSW-ST25R-LIB. In the AN5512 it is mentionend that the file "st25ftm_config_hal.h" needs to be provided and is the same for all NFC readers.
This file (in the examples) contains the macro "#define ST25FTM_CRYPTO_ENABLE 0". But the AN5512 doesn't mention this macro and also when I search for references to this macro in the project it doesn't find any.

My question is: does this macro do anything when defined as 1? And if not, what other options are there for the ST25R3916B reader (or STM readers in general) in terms of encryption?

Kind regards,
Jonas

    This topic has been closed for replies.
    Best answer by Brian TIDAL

    Hi,

    ST25FTM_CRYPTO_ENABLE is not used in the STSW-ST25R-LIB packages.

    ST25R3916B is an NFC Analog Front End (AFE) and does not have support for encryption features. I would suggest to use the STM32 for encryption features (see X-CUBE-CRYPTOLIB for an STM32 cryptographic library package).

    Rgds

    BT

     

    2 replies

    ST Employee
    March 31, 2025

    Hello Jonas,

    we will check the point and come back to you ASAP.

     

    BR,

    Cedric

    Technical Moderator
    March 31, 2025

    Hi,

    ST25FTM_CRYPTO_ENABLE is not used in the STSW-ST25R-LIB packages.

    ST25R3916B is an NFC Analog Front End (AFE) and does not have support for encryption features. I would suggest to use the STM32 for encryption features (see X-CUBE-CRYPTOLIB for an STM32 cryptographic library package).

    Rgds

    BT