latest.ipv8.test.attestation.wallet.pengbaorange.test_boudot

Module Contents

Classes

TestBoudot

Tests related to Boudot proofs.

class latest.ipv8.test.attestation.wallet.pengbaorange.test_boudot.TestBoudot(methodName: str = 'runTest')

Bases: latest.ipv8.test.base.TestBase

Tests related to Boudot proofs.

pk
bitspace = 32
el
sqr
test_el_serialize() None

Check if Boudot equality checks are correctly serialized.

test_el_equal() None

Check if the Boudot commitment equality holds.

test_el_modify_commitment() None

Check if the Boudot commitment equality fails if the commitment message changes.

test_el_modify_shadow_commitment() None

Check if the Boudot commitment equality fails if the shadow commitment message changes.

test_el_modify_commitments() None

Check if the Boudot commitment equality fails if the shadow+commitment messages change.

test_sqr() None

Check if the Boudot commitment-is-square holds.

test_sqr_modify_commitment() None

Check if the Boudot commitment-is-square fails if the commitment message changes.

test_sqr_modify_shadow_commitment() None

Check if the Boudot commitment-is-square fails if the shadow commitment message changes.

test_sqr_serialize() None

Check if Boudot commitment-is-square checks are correctly serialized.