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:
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
Here's the test code for reproducibility (
TestZKCryptoVectorsG1Compressed
andTestZKCryptoVectorsG2Compressed
tests).