Replies: 3 comments 11 replies
-
I have no idea on how the ESP32 deals with crypto performance and what the possible improvements can be done, but wanted to add my two cents regarding this topic: The way FAST transaction is implemented, it requires reader to brute-force (search) all possible cryptograms at runtime. |
Beta Was this translation helpful? Give feedback.
-
yeah, it's basically what kormax says, however that may be only part of the current slowdown as looking at the logs it seems that it hangs when reading the public key and x coordinate during this part main.cpp#L1224C1-L1227C132. |
Beta Was this translation helpful? Give feedback.
-
Hello again, I’ve made some modifications as part of my planned restructuring and also made some optimizations along the way. Through my testing, the fast flow should now be around 580 ms when only one device is enrolled, haven’t yet tested it with multiple devices and the standard flow is just under 2s at around 1.9s Give it a go when you can and let me know how it goes. Make sure to erase the ESP as I’ve made some changes to the data structure. |
Beta Was this translation helpful? Give feedback.
-
I know it's early, but was wondering if you've experimented with ways of improving the authentication speed. I'm noticing some slight delay when authenticating. It's not awful but noticeable, maybe because I've seen how fast the authentication can get (on official locks or with @kormax's
nfcpy
UART home-key-reader project).Did some quick tests and the whole transaction is taking about
1.25-2 s
on the ESP32 while only220 ms
with the nfcpy project, both onfast
transaction flow, the latter feeling instant.esp32.mov
nfcpy.mov
There's certainly a hardware limitation implicated as well but I'm bringing this up here in case we can improve latency somehow.
Beta Was this translation helpful? Give feedback.
All reactions