Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cryptolib] csrng driver #14372

Merged
merged 2 commits into from
Aug 30, 2022
Merged

[cryptolib] csrng driver #14372

merged 2 commits into from
Aug 30, 2022

Commits on Aug 29, 2022

  1. [test] Enable passing arguments to the functest harness

    Move the required args to the end and name them the "test commands."
    Pass the test commands via an environment variable, and place them at
    the end of the invocation.
    
    This makes the test commands unable to be overridden by test_arg
    arguments, and simultaneously, it allows the user to specify test_arg
    arguments on the bazel command line to modify arguments to opentitantool
    and friends. Those test_arg arguments can override or supplement the
    test harness's arguments provided by the bazel rule.
    
    Signed-off-by: Alexander Williams <[email protected]>
    Signed-off-by: Miguel Osorio <[email protected]>
    a-will authored and moidx committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    257289b View commit details
    Browse the repository at this point in the history
  2. [cryptolib] csrng driver

    This commit introduces the a driver for the software instance of the
    csrng. The driver interface supports regular DRBG functions, i.e.
    instantiate, reseed, update and generate functions.
    
    The focus of this commit is functionality, so there are a few things
    that will be addressed in future commits:
    
    - Handling of blocking operations. This is currently an area where we
      need to come up with a strategy for the crypto library as indefinite
      blocking operations may need an unconditional timeout when called in
      higher application layers.
    - alert and state checks.
    
    Signed-off-by: Miguel Osorio <[email protected]>
    moidx committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    3643f63 View commit details
    Browse the repository at this point in the history