Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: witness changes in file sponge.hpp (#10345)
Static analyzer found that initial values in cache and state arrays weren't properly constrained. Initially state fill in 0 + iv value, but these values weren't constrained as witnesses. We replaced witness_t constructor with function create_constant_witness from class witness_t in file sponge.hpp. All tests for poseidon2s passed after fix.
- Loading branch information