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

mirage-crypto-rng: use string instead of cstruct #212

Merged
merged 14 commits into from
Mar 11, 2024

Commits on Mar 5, 2024

  1. mirage-crypto-rng: use string instead of cstruct

    across pk, ec, rng: use digestif instead of Mirage_crypto.Hash
    hannesm committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    c1e96c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8faf85d View commit details
    Browse the repository at this point in the history
  3. minimize

    hannesm committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    ef59028 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. rng: eio/async fixes

    hannesm committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    813e0d8 View commit details
    Browse the repository at this point in the history
  2. further rng async/eio fixes

    hannesm committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    bce88e8 View commit details
    Browse the repository at this point in the history
  3. Update rng/hmac_drbg.ml

    Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
    hannesm and reynir committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    058ac88 View commit details
    Browse the repository at this point in the history
  4. Update ec/mirage_crypto_ec.ml

    Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
    hannesm and reynir committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    09dbc01 View commit details
    Browse the repository at this point in the history
  5. no b

    hannesm committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    172f627 View commit details
    Browse the repository at this point in the history
  6. unsafe

    hannesm committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    3004f1c View commit details
    Browse the repository at this point in the history
  7. rename cs to buf in fortuna

    hannesm committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    4664b90 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. rng: provide a generate_into : ?g -> bytes -> ?off:int -> int -> unit

    and reimplement the generate in terms of generate_into
    
    this keeps the allocation at the API boundary if desired
    hannesm committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    72d4c48 View commit details
    Browse the repository at this point in the history
  2. use rng.generate_into

    hannesm committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    2521630 View commit details
    Browse the repository at this point in the history
  3. address @reynir review comments

    hannesm committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    1fad230 View commit details
    Browse the repository at this point in the history
  4. address @reynir review comments

    hannesm committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    20ed49f View commit details
    Browse the repository at this point in the history