Skip to content

Deserialization test failing for BLS12-381 #499

@matteosz

Description

@matteosz

Hello,

I was working on Kyber library, a crypto library in Go, and we were using your implementation of BLS12-381.
We also leverage another implementation of BLS12-381 from Kilic.

We were then adding some deserialization tests (from this commit) and noticed that one in particular fails on the Circl implementation, while it succeeds on the Kilic one. Here's the deserialization test:

Filename: deserialization_fails_with_b_flag_and_a_flag_true.yaml

input: {signature: e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000}
output: null

Here's the test code for reproducibility (TestZKCryptoVectorsG1Compressed and TestZKCryptoVectorsG2Compressed tests).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions