Skip to content

GF(2) field#31

Merged
frozenspider merged 4 commits intomainfrom
feature/f2
Mar 3, 2026
Merged

GF(2) field#31
frozenspider merged 4 commits intomainfrom
feature/f2

Conversation

@frozenspider
Copy link
Collaborator

Added prime field modulo 2 represented by underlying boolean.
Also separated Inner from Modulus types because inner can't always hold modulus.

@maksimryndin
Copy link

I thought we got rid off ark deps, didn't we?

@frozenspider
Copy link
Collaborator Author

We can still use them if we want to, they're feature gated just as crypto-bigint wrappers are. Having multiple field implementations comes in handy to compare performance sometimes - besides, this library aims to be general, not Zinc specific.
As for the GF(2) field itself, it does not rely on ark.

# Conflicts:
#	src/semiring/boolean.rs
Copy link
Collaborator

@ElijahVlasov ElijahVlasov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@frozenspider frozenspider merged commit 2cf39db into main Mar 3, 2026
9 checks passed
@frozenspider frozenspider deleted the feature/f2 branch March 3, 2026 10:35
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.

3 participants