-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf noup] Implement Spake2pVerifier for PSA crypto
When Spake2+ implementation for PSA crypto API is enabled: - do not build the generic Spake2p nor its subclasses - do not build Spake2pVerifier::Generate method that generates the verifier key out of the passcode, salt and iteration count. Instead, provide the implementation Spake2pVerifier::Generate that uses PSA crypto API. Note that using Spake2pVerifier::Generate requires setting CONFIG_PSA_WANT_ALG_PBKDF2_HMAC and CONFIG_PSA_WANT_KEY_TYPE_SPAKE2P_KEY_PAIR_DERIVE Kconfig options. Signed-off-by: Damian Krolik <[email protected]> (cherry picked from commit aa2e056) Signed-off-by: Adrian Gielniewski <[email protected]>
- Loading branch information
1 parent
7aa947a
commit 9cfd6e1
Showing
2 changed files
with
88 additions
and
22 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
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