Skip to content

Feature Request: pull RNG calls out of wh_test_crypto.c individual tests for clarity and ease of use #163

@dcanthony68

Description

@dcanthony68

Many of the tests in wh_test_crypto.c pass in a pointer to a RNG context solely to generate random data for the test. Generating the random value at the top level of whTest_CryptoClientConfig() and then passing the randomly generated value into the individual tests makes test failures much easier to diagnose. It allows for easy modification to use values with known results when troubleshooting and avoid failures in the RNG propagating into the rest of the test cases.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions