forked from latchset/pkcs11-provider
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support co create ECDH public key from params
OpenSSL expects to be able to create an EC PKEY and only "generate" params, then fill in the key with a public key received from a peer. So split the common gen_init into per key type ones as each type needs slightly different setup and conditions now. Also modify the code that sets public EC keys to allow setting a key on a base object that does not already have key attributes at all. Signed-off-by: Simo Sorce <[email protected]>
- Loading branch information
Showing
3 changed files
with
241 additions
and
72 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
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