Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
krakhit committed Nov 3, 2024
1 parent e09848a commit 14d296a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/icicle/primitives/hash.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ eIcicleErr err = keccak256.hash(input.data(), input.size() / config.batch, confi

### 4. Posidon sponge function

Currently the poseidon sponge function isn't implemented.
Currently the poseidon sponge function (Sec 2.1 of https://eprint.iacr.org/2019/458.pdf ) isn't implemented.

### Supported Bindings

Expand Down
1 change: 1 addition & 0 deletions icicle/include/icicle/hash/poseidon.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ namespace icicle {
* contexts and use cases. The width parameter (`t`) determines the number of elements in the state,
* influencing the security level and output structure of the hash. The optional `domain_tag` pointer parameter
* enables domain separation, allowing isolation of hash outputs across different contexts or applications.
* (See here for a detailed explanation: https://hackmd.io/@7dpNYqjKQGeYC7wMlPxHtQ/ByIbpfX9c#SAFE-Sponge-API-for-Field-Elements-–-A-Toolbox-for-ZK-Hash-Applications)
*
* @param S Represents the type of the field element used by the hash (e.g., a field element class).
*
Expand Down

0 comments on commit 14d296a

Please sign in to comment.