Optimize interruptible key agreement dispatch through ECDH #9719
Labels
component-crypto
Crypto primitives and low-level interfaces
enhancement
size-s
Estimated task size: small (~2d)
PSA interruptible key agreement dispatches has a long dispatch chain:
psa_crypto.c
psa_crypto_ecp.c
ecdh.c
ecp.c
The dispatch through ECDH has known inefficiencies where we're copying data around, but don't need to. The goal of this task is, at a minimum, to optimize this. Furthermore, look for other inefficiencies in the ECDH indirection and analyze how we might optimize those. The answer might be to eliminate ECDH altogether, or to change the ECDH interface. Note that starting in TF-PSA-Crypto 1.0,
ecdh.h
is an unstable or internal interface and we can change it at any time.The text was updated successfully, but these errors were encountered: