[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <55c512d6-6be4-41c2-b417-9f803c1c118d@kernel.org>
Date: Tue, 2 Sep 2025 14:19:07 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Juraj Šarinay <juraj@...inay.com>, netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, horms@...nel.org, mingo@...nel.org,
tglx@...utronix.de
Subject: Re: [PATCH net-next v3] net: nfc: nci: Increase NCI_DATA_TIMEOUT to
3000 ms
On 02/09/2025 13:36, Juraj Šarinay wrote:
> An exchange with a NFC target must complete within NCI_DATA_TIMEOUT.
> A delay of 700 ms is not sufficient for cryptographic operations on smart
> cards. CardOS 6.0 may need up to 1.3 seconds to perform 256-bit ECDH
> or 3072-bit RSA. To prevent brute-force attacks, passports and similar
> documents introduce even longer delays into access control protocols
> (BAC/PACE).
>
> The timeout should be higher, but not too much. The expiration allows
> us to detect that a NFC target has disappeared.
>
> Signed-off-by: Juraj Šarinay <juraj@...inay.com>
> ---
> v3:
Thanks!
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists