-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
secp256k1: Add GeneratePrivateKeyFromRand tests.
This adds tests for the newly added GeneratePrivateKeyFromRand func to restore test coverage. It also takes advantage of the ability to specify the random source to inject faults to improve the test coverage of private key generation in general to achieve 100% branch coverage.
- Loading branch information
Showing
1 changed file
with
86 additions
and
0 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