Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

BLAKE2b hash function and BLAKE2b-512 compression function of EIP-152 #56

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Commits on Jan 17, 2023

  1. Create Cargo.toml

    AlekseiVambol authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    9dbcce9 View commit details
    Browse the repository at this point in the history
  2. Add files via upload

    AlekseiVambol authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    4e867da View commit details
    Browse the repository at this point in the history
  3. Add files via upload

    AlekseiVambol authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    e5d6ec2 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Add files via upload

    AlekseiVambol authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    b0045c5 View commit details
    Browse the repository at this point in the history
  2. Update lib.rs

    AlekseiVambol authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    0678ec5 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Add files via upload

    The code I have shown 30/01/23.
    AlekseiVambol authored Jan 31, 2023
    Configuration menu
    Copy the full SHA
    23ed14d View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. Delete main.rs

    AlekseiVambol authored Feb 7, 2023
    Configuration menu
    Copy the full SHA
    7c82788 View commit details
    Browse the repository at this point in the history
  2. Add files via upload

    AlekseiVambol authored Feb 7, 2023
    Configuration menu
    Copy the full SHA
    8d82e42 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. Delete main.rs

    AlekseiVambol authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    4b4f8bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a012bcf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c9150c3 View commit details
    Browse the repository at this point in the history
  4. Rename zkevm-circuits/src/blake2b/circuit/Cargo.toml to zkevm-circuit…

    …s/src/blake2b/hash/Cargo.toml
    AlekseiVambol authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    43305b9 View commit details
    Browse the repository at this point in the history
  5. Rename zkevm-circuits/src/blake2b/tests/integration.rs to zkevm-circu…

    …its/src/blake2b/hash/tests/integration.rs
    AlekseiVambol authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    2c2bead View commit details
    Browse the repository at this point in the history
  6. Add files via upload

    AlekseiVambol authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    1481510 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. Delete lib.rs

    AlekseiVambol authored May 11, 2023
    Configuration menu
    Copy the full SHA
    587964e View commit details
    Browse the repository at this point in the history
  2. Add files via upload

    AlekseiVambol authored May 11, 2023
    Configuration menu
    Copy the full SHA
    ba48da2 View commit details
    Browse the repository at this point in the history
  3. Add files via upload

    AlekseiVambol authored May 11, 2023
    Configuration menu
    Copy the full SHA
    bc9527b View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Add files via upload

    AlekseiVambol authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    f8197a1 View commit details
    Browse the repository at this point in the history
  2. Add files via upload

    AlekseiVambol authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    b3959f4 View commit details
    Browse the repository at this point in the history
  3. Add files via upload

    AlekseiVambol authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    92e15c3 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Add files via upload

    AlekseiVambol authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    06a42ca View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. Delete Stats.ods

    AlekseiVambol authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    0f6d4ce View commit details
    Browse the repository at this point in the history
  2. Add files via upload

    AlekseiVambol authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    de96f71 View commit details
    Browse the repository at this point in the history
  3. Add files via upload

    AlekseiVambol authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    edde7c6 View commit details
    Browse the repository at this point in the history
  4. Add files via upload

    AlekseiVambol authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    e7b5b7d View commit details
    Browse the repository at this point in the history
  5. Add files via upload

    AlekseiVambol authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    5090ee8 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. Update zkevm-circuits/src/blake2b/circuit/Cargo.toml

    Co-authored-by: Victor Lopes <[email protected]>
    AlekseiVambol and vlopes11 authored Jul 10, 2023
    Configuration menu
    Copy the full SHA
    394ef0f View commit details
    Browse the repository at this point in the history
  2. Update zkevm-circuits/src/blake2b/circuit/Cargo.toml

    Co-authored-by: Victor Lopes <[email protected]>
    AlekseiVambol and vlopes11 authored Jul 10, 2023
    Configuration menu
    Copy the full SHA
    b946c7e View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Update lib.rs

    AlekseiVambol authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    0a5185c View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Delete zkevm-circuits/src/blake2b/hash directory

    This crate is not used in the circuit and is not going to be integrated in zk-EVM. It was the first step towards the circuit. Some code from this crate was a bit rewritten and added to the circuit-related files.
    AlekseiVambol authored Jul 28, 2023
    Configuration menu
    Copy the full SHA
    8d62c17 View commit details
    Browse the repository at this point in the history
  2. Delete zkevm-circuits/src/blake2b/circuit directory

    Deleted to be replaced with the updated version, which has new folder structure.
    AlekseiVambol authored Jul 28, 2023
    Configuration menu
    Copy the full SHA
    b083887 View commit details
    Browse the repository at this point in the history
  3. Updated BLAKE2b compression function circuit

    Cargo.toml:
    1. Default comment was removed.
    2. "hex = "0.4"" was added instead of "hex = "0.4.3"".
    
    Cargo.lock: Recreated.
    
    blake2.rs: The new file containing the "blake2b" module, almost all content of which (except for the "test" and "benchmark" submodules) is the same as the one of "lib.rs" just before it undergone the last change from the list below. The content of the "test" submodule is related to the one of "integration.rs" in the similar way. The same is true about the relation between the "test" submodule and "bench.rs".
    
    lib.rs:
    1. "Chunks" instead of "chunks" at the end of the comments for "fn create_chuncks".
    2. "pub" was removed from many places: now the data types of the circuit's basic building blocks are not exported.
    3. Trailing spaces were removed.
    4. "Thus, 56 * 8 + 32 cells or 240 cell pairs are required" was added after "56 byte-column chunks of height 8 and 32 byte-column cells".
    5. The comment "14 bit columns are required: 10 collumns for..." was added.
    6. The end of "fn synthesize" was rewritten in order to check the correctness of the computation only if tests are run.
    7  The "blake2" submodule was renamed into "compression".
    8. The content is moved to the "blake2b" module and replaced with "mod blake2b;".
    
    integration.rs:
    1. Trailing spaces were removed.
    2. The content is moved to the "test" submodule of the "blake2b" module; the file was deleted.
    
    bench.rs:
    1. Trailing spaces were removed.
    2. The comment describing the correct way of running "fn bench()" was added.
    3. The content is moved to the "benchmark" submodule of the "blake2b" module; the file was deleted.
    AlekseiVambol authored Jul 28, 2023
    Configuration menu
    Copy the full SHA
    34e0961 View commit details
    Browse the repository at this point in the history
  4. Update blake2b.rs

    Changing the comment describing the correct way of running "fn bench()".
    AlekseiVambol authored Jul 28, 2023
    Configuration menu
    Copy the full SHA
    e2dd84c View commit details
    Browse the repository at this point in the history