Skip to content

Commit

Permalink
anemoi: added formal reference to the eprint version of the Anemoi pa…
Browse files Browse the repository at this point in the history
…per (cf. #65 (comment))
  • Loading branch information
Vesselin Velichkov committed Oct 31, 2022
1 parent 5f936ed commit 2274160
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion libsnark/gadgetlib1/gadgets/hashes/anemoi/anemoi_components.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@

#include <libsnark/gadgetlib1/gadgets/basic_gadgets.hpp>

/// Implementation of the Anenoi arithmetization-oriented hash function
///
/// Reference:
/// - \[BBCPSVW22]:
/// Title: "New Design Techniques for Efficient
/// Arithmetization-Oriented Hash Functions: Anemoi Permutations and
/// Jive Compression Mode", Clemence Bouvier, Pierre Briaud, Pyrros
/// Chaidos, Leo Perrin, Robin Salen, Vesselin Velichkov, Danny
/// Willems, Cryptology ePrint Archive, Report 2022/840, 2019,
/// <https://eprint.iacr.org/2022/840>

namespace libsnark
{

Expand Down Expand Up @@ -232,7 +243,7 @@ class flystel_E_root_five_gadget : public gadget<FieldT>
/// y0 = x0 - a0 + a2
/// y1 = x1 - a1
///
/// \note: in the paper (x0,x1)->(y0,y1) is denoted with (x,y)->(u,v)
/// \note: in [BBCPSVW22] (x0,x1)->(y0,y1) is denoted with (x,y)->(u,v)
template<typename FieldT, size_t generator>
class flystel_prime_field_gadget : public gadget<FieldT>
{
Expand Down

0 comments on commit 2274160

Please sign in to comment.