Skip to content
This repository has been archived by the owner on Jun 3, 2019. It is now read-only.

BLS381 Test Vectors & Consensus #4

Merged
merged 6 commits into from
Feb 15, 2019
Merged

BLS381 Test Vectors & Consensus #4

merged 6 commits into from
Feb 15, 2019

Conversation

kirk-baird
Copy link
Member

Add a range of test vectors from:
https://github.com/ethereum/eth2.0-tests/blob/master/bls/test_bls.yml

Switch hashing function from blake2b to Keccak256

Modify existing code so it conforms with above test vectors.

Add compressing and decompressing for G1 and G2 points to match test vectors.
Note: these currently do not match Eth2.0 specs as I have chosen to match them to the test vectors.

@kirk-baird kirk-baird changed the title [WIP] BLS381 Test Vectors & Consensus BLS381 Test Vectors & Consensus Feb 14, 2019
@paulhauner paulhauner merged commit 21dcf50 into master Feb 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants