Skip to content

Conversation

@VanhGer
Copy link
Contributor

@VanhGer VanhGer commented Sep 12, 2025

No description provided.

@eigmax eigmax merged commit 7ec37f5 into GOATNetwork:main Sep 12, 2025
@VanhGer
Copy link
Contributor Author

VanhGer commented Oct 8, 2025

Benchmarks:
Server configuration: 32 core.

program Gates AES Garbling (ms) Poseidon2 Garbling (ms)
fq6_mul_by_fq2_montgomery and variants: 950814
xor variants: 2834772
not: 9192
total: 3794778
165.919 2 315.534
fq6_mul_montgomery and variants: 1803466
xor variants: 4865342
not: 57782
total: 6726590
660.623 4 422.723
g1_projective_to_affine_montgomery and variants: 11585394
xor variants: 13012187
not: 269244
total: 24866825
2 338.33 27 520.413
deserialize_compressed_g2 and variants: 122185357
xor variants: 350864003
not: 550724
total: 473600084
36 565.743 309 663.789

However, AES is slight slower than Poseidon2 in circuit (with precompile):
ProjectZKM/Ziren#314 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants