mirror of
https://github.com/vacp2p/zk-explorations.git
synced 2026-01-08 19:47:54 -05:00
typo fix
This commit is contained in:
@@ -3,12 +3,12 @@ name = "poseidon-starky"
|
||||
version = "0.1.0"
|
||||
|
||||
categories = ["cryptography"]
|
||||
description = "Implementation of the Poseidon2 hash function"
|
||||
description = "Implementation of the Poseidon hash function"
|
||||
edition = "2021"
|
||||
keywords = ["crypto", "zero-knowledge"]
|
||||
license = "Apache-2.0"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/0xmozak/hashes"
|
||||
repository = "https://github.com/vacp2p/zk-explorations"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.71"
|
||||
|
||||
@@ -122,7 +122,7 @@ fn generate_outputs<Field: RichField>(preimage: &[Field; STATE_SIZE]) -> [Field;
|
||||
outputs
|
||||
}
|
||||
|
||||
/// Function to generate the Poseidon2 trace
|
||||
/// Function to generate the Poseidon trace
|
||||
pub fn generate_poseidon_trace<F: RichField>(step_rows: &Vec<Row<F>>) -> [Vec<F>; NUM_COLS] {
|
||||
let trace_len = step_rows.len();
|
||||
let mut trace: Vec<Vec<F>> = vec![vec![F::ZERO; trace_len]; NUM_COLS];
|
||||
|
||||
Reference in New Issue
Block a user