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

chacha20: returning rand_core feature #333

Merged
merged 96 commits into from
Apr 29, 2024

Commits on Oct 25, 2023

  1. added rand_core feature back

    nstilt1 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    b1fa885 View commit details
    Browse the repository at this point in the history
  2. Delete .vscode directory

    nstilt1 authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    c5226a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04aabff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ec262fd View commit details
    Browse the repository at this point in the history
  5. Update rng.rs

    nstilt1 authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    8a1755f View commit details
    Browse the repository at this point in the history
  6. Update rng.rs

    nstilt1 authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    2117c30 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f5b9a4d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    53a51a7 View commit details
    Browse the repository at this point in the history
  9. cargo fmt

    nstilt1 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    425c159 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a241489 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6af37f1 View commit details
    Browse the repository at this point in the history
  12. revised set_stream() comment

    nstilt1 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    56462ef View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c52c607 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. add chacha20rng bench code

    nstilt1 committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    aac6b9e View commit details
    Browse the repository at this point in the history
  2. aarch64 bench compatibility

    Noah Stiltner committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    0357ad6 View commit details
    Browse the repository at this point in the history
  3. fix benches for avx2

    nstilt1 committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    71a1a5b View commit details
    Browse the repository at this point in the history
  4. adjusted aarch64 bench and added results

    Noah Stiltner committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    9d992e1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f32ee71 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    63fcd30 View commit details
    Browse the repository at this point in the history
  7. fmt :/

    nstilt1 committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    e765489 View commit details
    Browse the repository at this point in the history
  8. Delete .vscode directory

    nstilt1 authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    6fb4d82 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d1907c5 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Configuration menu
    Copy the full SHA
    694c592 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3c3189 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bf3f700 View commit details
    Browse the repository at this point in the history
  4. fmt

    nstilt1 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    fd65576 View commit details
    Browse the repository at this point in the history
  5. all tests passing

    nstilt1 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    4bd6e5a View commit details
    Browse the repository at this point in the history
  6. safety switch

    nstilt1 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    2dbb429 View commit details
    Browse the repository at this point in the history
  7. fmt

    nstilt1 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    b227065 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. remove rand_core-0.7-dependent test; remove unnecessary comments; ren…

    …ame LesserBlock to Block
    nstilt1 committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    5713e7e View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Configuration menu
    Copy the full SHA
    de69a46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c77dcc2 View commit details
    Browse the repository at this point in the history
  3. if set_word_pos_bytes is desirable, pick your poison between this com…

    …mit and what is there now, or suggest something prettier
    nstilt1 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    842d0de View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    21b0862 View commit details
    Browse the repository at this point in the history
  5. added Seed wrapper, moved impl of ChaChaCore to rng.rs, corrected a c…

    …omment and variable name, passed some tests
    nstilt1 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    3b6f4cb View commit details
    Browse the repository at this point in the history
  6. exporting Seed for rand_core

    nstilt1 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    af09157 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9d46dd6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fb489ef View commit details
    Browse the repository at this point in the history
  9. using Generic inputs to convert to zeroizable inputs, as well as elim…

    …inating *_bytes() methods and removing the need for users to have .into()
    nstilt1 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    03bf69a View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. allow for [u8; 12] stream_id, and set_stream() is now slightly optimi…

    …zed for it instead of u128; removed [u8; 16] stream_id possibility. Added support for ZeroizeOnDrop for all inputs
    nstilt1 committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    a3a2350 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. Configuration menu
    Copy the full SHA
    5472286 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72c9e0b View commit details
    Browse the repository at this point in the history
  3. fix ZeroizeOnDrop impl

    nstilt1 committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    5997225 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. added zeroize tests; tests failed :(; tried a non-copyable seed wrapp…

    …er--still failed; not sure how to fix
    nstilt1 committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    ef30ccc View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. replaced some wrappers with a macro, ensured zeroization of some inpu…

    …ts, fixed the internal zeroize test
    nstilt1 committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    ea32536 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c10c4b6 View commit details
    Browse the repository at this point in the history
  3. fmt

    nstilt1 committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    26668af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ac09d24 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. Configuration menu
    Copy the full SHA
    13aa494 View commit details
    Browse the repository at this point in the history
  2. updated docs for clarity*

    nstilt1 committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2d71ada View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b013266 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2023

  1. Configuration menu
    Copy the full SHA
    7833e11 View commit details
    Browse the repository at this point in the history
  2. Delete .DS_Store

    nstilt1 authored Nov 12, 2023
    Configuration menu
    Copy the full SHA
    a687937 View commit details
    Browse the repository at this point in the history
  3. remove some minor zeroizings

    nstilt1 committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    73088f6 View commit details
    Browse the repository at this point in the history
  4. remove minor zeroizing

    nstilt1 committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    bdb43c0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    255b481 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Configuration menu
    Copy the full SHA
    a691b4a View commit details
    Browse the repository at this point in the history
  2. replace BlockRng and BlockRngCore impl to allow for Results buffer to…

    … be zeroized on demand
    nstilt1 committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    bf7c307 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f245d5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    65e42e8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e8c2df0 View commit details
    Browse the repository at this point in the history
  6. edit benches README

    nstilt1 committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    ac51b24 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2023

  1. Configuration menu
    Copy the full SHA
    cec3726 View commit details
    Browse the repository at this point in the history
  2. aligned and tested set_word_pos. removed the index checks in the test…

    … since they were mainly for debugging
    nstilt1 committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    5603c3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    11ebab3 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2023

  1. baby steps

    nstilt1 committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    141d54c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d8f9732 View commit details
    Browse the repository at this point in the history
  3. update TODO

    nstilt1 committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    7695fb6 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2023

  1. Configuration menu
    Copy the full SHA
    0c0e338 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. working on ChaChaCore::new(); had issues with avx2_cpuid/sse2_cpuid w…

    …hen using chacha20_force_soft, so am moving it to lib.rs
    nstilt1 committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    14ee01e View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Configuration menu
    Copy the full SHA
    5e15c4a View commit details
    Browse the repository at this point in the history
  2. was benching wrong Rng lol... CPB: 0.99 for avx2, 5.16 for soft, 2.89…

    … for sse2; will tackle cipher next
    nstilt1 committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    5d6d0ad View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Configuration menu
    Copy the full SHA
    a0c19e8 View commit details
    Browse the repository at this point in the history
  2. fixed neon

    nstilt1 committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    32c7662 View commit details
    Browse the repository at this point in the history
  3. fmt

    nstilt1 committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    5df80ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e95e3ca View commit details
    Browse the repository at this point in the history
  5. fix checks

    nstilt1 committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    8d30f5c View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Configuration menu
    Copy the full SHA
    d2d980b View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2023

  1. generate() is now in rng.rs; added rng feature because rng.rs tests w…

    …eren't running with GitHub Actions; removed one of my unnecessary debugging tests; added fill_bytes_v2 test
    nstilt1 committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    8465a4d View commit details
    Browse the repository at this point in the history
  2. fixed cargo bench --no-run

    nstilt1 committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    45a78d3 View commit details
    Browse the repository at this point in the history
  3. fix cargo bench --no-run

    nstilt1 committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    30386f4 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. updated neon and gitignore

    nstilt1 committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    06ff9a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed4ac1c View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. rebasing RustCrypto#338

    nstilt1 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    f501a4f View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. rebasing RustCrypto#339; also added public get/set_block_pos; added F…

    …rom<[u32; 3]> for StreamId and From<[u8; 4]> for BlockPos
    nstilt1 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    758a0b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d3d870 View commit details
    Browse the repository at this point in the history
  3. fmt and fixing loose ends

    nstilt1 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    303714a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0295f7c View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. fixed benches; tried to make set_word_pos more coherent by changing t…

    …he WordPosInput struct and adjusting the documentation; added checks in test_set_and_get_equivalence
    nstilt1 committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    a8cd5c3 View commit details
    Browse the repository at this point in the history
  2. fmt

    nstilt1 committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    14e45bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0f494ff View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    70a9f2d View commit details
    Browse the repository at this point in the history
  2. removed getrandom dependency, removed .cargo folders that were for te…

    …sting (and stopped working), fixed some spelling
    nstilt1 committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    86fd8ed View commit details
    Browse the repository at this point in the history
  3. Update .gitignore

    nstilt1 authored Mar 13, 2024
    Configuration menu
    Copy the full SHA
    bee5798 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. updated rand_core to alpha; impl'd BlockRngCore; moved get/set_word_p…

    …os to Rng instead of RngCore; updated docs to reflect changes
    nstilt1 committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    304f2bb View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Configuration menu
    Copy the full SHA
    1d15d68 View commit details
    Browse the repository at this point in the history