mirror of
https://github.com/arnaucube/gnark-plonky2-verifier.git
synced 2026-01-12 00:51:33 +01:00
fix for V-SCT-VUL-007 and V-SCT-VUL-011
This commit is contained in:
@@ -71,10 +71,15 @@ func (p *PlonkChip) evalL0(x gl.QuadraticExtensionVariable, xPowN gl.QuadraticEx
|
||||
glApi.ScalarMulExtension(x, p.DEGREE),
|
||||
p.DEGREE_QE,
|
||||
)
|
||||
return glApi.DivExtension(
|
||||
|
||||
quotient, hasQuotient := glApi.DivExtension(
|
||||
evalZeroPoly,
|
||||
denominator,
|
||||
)
|
||||
|
||||
p.api.AssertIsEqual(hasQuotient, frontend.Variable(1))
|
||||
|
||||
return quotient
|
||||
}
|
||||
|
||||
func (p *PlonkChip) checkPartialProducts(
|
||||
|
||||
Reference in New Issue
Block a user