2025-03-27 6:19 AM
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
Solved! Go to Solution.
2025-03-31 9:16 AM
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
2025-03-31 1:33 AM
Hello Jonas,
we will check the point and come back to you ASAP.
BR,
Cedric
2025-03-31 9:16 AM
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