Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented polynomial interpolation with hazmat gf256 code #2

Merged
merged 2 commits into from
Sep 6, 2019

Conversation

howech
Copy link

@howech howech commented Sep 6, 2019

This PR reimplements all gf256 operations using Daan Sprenkels code from the parent directory. Note that the hazmat.c file in this directory is a copy of the original, but with the interpolation code replaced by a new implementation that is compliant with slip39s interpolation needs.

Tests passing with hazmat gf256 code.

TODO: make propagate the 32-byte secret limitation out from interpolate
to avoid the impedence mismatch copy of y-values.

removed non-hazmat gf256 code
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS)
$(MEMCHECK) ./$@
#gf256%.o: gf256&%.c hazmat.h gf256%.h
# $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $<
Copy link

Choose a reason for hiding this comment

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

Remove?

@ChristopherA ChristopherA merged commit 4b07a7c into BlockchainCommons:master Sep 6, 2019
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