-
Notifications
You must be signed in to change notification settings - Fork 756
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This CL adjusts the libcrypto <-> BCM ECDSA interface. Previously, we used ECDSA_do_sign and ECDSA_do_verify. This meant we have an allocated BIGNUM-based type (ECDSA_SIG) at the boundary. Instead use the fixed-width P1363 format at the boundary, which is nice and straightforward. For now, I haven't exported it out of anything, though we do have some things (Channel ID, WebCrypto) which actually want this format, so that may be worth revisiting later. Bug: 42290602 Change-Id: Ifbe0600fd23addc5f05141d18baad21a669ceca8 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/66829 Reviewed-by: Bob Beck <bbe@google.com> Commit-Queue: Bob Beck <bbe@google.com> Auto-Submit: David Benjamin <davidben@google.com>
- Loading branch information
Showing
7 changed files
with
268 additions
and
175 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
Oops, something went wrong.