Overview of BLS12-381 Elliptic Curve Syscalls (SIMD 0388)
mainSIMD 0388 introduces a new family of syscalls to provide native support for cryptographic operations on the BLS12-381 elliptic curve. This allows BPF programs to perform high-security (128-bit security level) pairing-based cryptography efficiently, which was previously limited to the alt_bn128 (BN254) curve.
The syscalls cover:
- Group operations: Addition, subtraction/negation, and scalar multiplication in G1 and G2.
- Point validation: Verifying points in G1 and G2.
- Pairing operations: Executing the pairing operation.
- Decompression operations: Decompressing points in G1 and G2.
Note: Poseidon hash support is explicitly excluded from this SIMD.