forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Silabs] Add partial hardware acceleration of SPAKE2+ on EFR32xG2x (p…
…roject-chip#24845) * Reuse curve parameters stored in object instead of recreating * Speed up SPAKE2+ point multiplication on devices with HSE Silicon Labs devices with SEMAILBOX have a feature to return the full result of the ECDH key derivation operation, which is equal to the result of a scalar ECPoint multiplication operation. Leverage that hardware- accelerated primitive to speed up the commissioning process versus doing ECP calculations in pure software. * Speed up SPAKE2+ point multiplication on devices with HSE (2) Now that the base point multiplication operation is accelerated, split up the AddMul function in two (accelerated) multiplications and one software-backed addition. * Speed up SPAKE2+ point multiplication on devices with HSE (3) Replace the last instance of mbedtls_ecp_mul with the accelerated operation * Restyled by clang-format * Add error handling to EFR32 accelerated version of PointAddMul --------- Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
1 parent
00530e3
commit 4f4f110
Showing
1 changed file
with
162 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters