NTAG 424 encrypted file data

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

NTAG 424 encrypted file data

跳至解决方案
2,245 次查看
MPucci
Contributor III

Hello community,

talking about NTAG424 and SDMENCFileData: is it possible to add to static file data a random padding? The goal is to have at any NDEF reading a different value, because even if the mirror is crypted, is always the same.

Thanks

Mario

0 项奖励
回复
1 解答
2,191 次查看
MPucci
Contributor III

Hi Fabian,

my fault. I discovered that my enc data was just an encryption of static file without the algorithm inside ntag. Maybe i messed up the offsets that prevents the algorithm to work properly.

Thanks

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,192 次查看
MPucci
Contributor III

Hi Fabian,

my fault. I discovered that my enc data was just an encryption of static file without the algorithm inside ntag. Maybe i messed up the offsets that prevents the algorithm to work properly.

Thanks

0 项奖励
回复
2,177 次查看
Fabian_R
NXP TechSupport
NXP TechSupport

No problem. I'm glad you were able to identify the root cause.

Best Regards,
Fabian
0 项奖励
回复
2,219 次查看
Fabian_R
NXP TechSupport
NXP TechSupport

Hello, my name is Fabian, I've been assigned to support your case.
Thank you for your interest in our products.
SDMENCFileData is already an encrypted file, its structure and format are defined by some proprietary security mechanisms. For this reason, the encryption protocol used typically includes padding schemes, these are implemented in order to meet specific block sizes.
Unfortunately, since there are some proprietary implementations, we cannot share any specifics regarding this procedure.

Best Regards,
Fabian
0 项奖励
回复
2,207 次查看
MPucci
Contributor III

Thanks Fabian,

i've all the info necessary to decrypt it from the NDEF message. My problem is different if i understood correctly the documentation: take for example page 13 of AN12196. The StaticFileData is 7878787878787878778.... and the corresponding SDMENCFileData is 94592FDE69FA06E8E3B6CA686A22842B. This value of SDMENCFile data is fixed, i mean is always the same at every read of NDEF. This can lead a malicoius to think that in this position there is a static data, even if encrypted. I'd like to change the SDMENCFiledata at every read with "Static data + random data". From my algorithm, once decripted i know where is the static and where is the random.

0 项奖励
回复