cancel
Showing results for 
Search instead for 
Did you mean: 

ST25FTM Encryption

JonasHSLU
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Brian TIDAL
ST Employee

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

 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Cedric Dalban
ST Employee

Hello Jonas,

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

 

BR,

Cedric

Brian TIDAL
ST Employee

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

 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.