Skip to content

Difference between poseidon optimized implementations #6

@RadNi

Description

@RadNi

I initially thought the optimized poseidon implemented here follows what it's described in Appendix B of the paper. Which is also outlined here in more details. Iden3's implementation also follows the same description.
But I think the version implemented here is different than the others. I was counting the number of multiplications and additions that we're using in total. According to my calculation, this version has R_p + 1 - t^2 - t less additions and t^2 more multiplications.
Can someone explain what's the optimization that's used here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions