You've already forked piv-authenticator
mirror of
https://github.com/trussed-dev/piv-authenticator.git
synced 2026-03-11 16:36:14 -07:00
PIN validation on windows needs to be faster than 750ms. The decryption operation of the user private key over HPKE is pretty slow This PR moves this operation to future steps that need access to the key. It's mostly moving the cost to later, non time-sensitive operations, but it also saves computation for operations that need to be authenticated but don't need access to the key