Affected by GO-2024-3122
and 1 other vulnerabilities
GO-2024-3122: Groth16 commitment extension unsound for more than one commitment in github.com/consensys/gnark
GO-2025-3929: Denial of service when computing scalar multiplication using fake-GLV algorithm in github.com/consensys/gnark
package
Version:
v0.5.2
Opens a new window with list of versions in this module.
Published: Nov 3, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IsZero expects len(inputs) == 1
inputs[0] == a
returns m = 1 - a^(modulus-1)
IthBit expects len(inputs) == 2
inputs[0] == a
inputs[1] == n
returns bit number n of a
UUID returns a unique ID for a hint function name
Source Files
¶
Click to show internal directories.
Click to hide internal directories.