purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
purify::accountable::testing Namespace Reference

Data Structures

struct  RecoveryRootContributionCircuitShape

Functions

Result< RecoveryRootContributionCircuitShape > recovery_root_contribution_circuit_shape_for_testing (const RecoveryRootShare &share)
Status recovery_root_share_count_valid_for_testing (std::size_t member_count)
Result< bool > recovery_root_contribution_assignment_satisfies_for_testing (const RecoveryRootShare &circuit_share, const RecoveryRootShare &assignment_share, const FieldElement &effective_scalar)

Function Documentation

◆ recovery_root_contribution_assignment_satisfies_for_testing()

Result< bool > purify::accountable::testing::recovery_root_contribution_assignment_satisfies_for_testing ( const RecoveryRootShare & circuit_share,
const RecoveryRootShare & assignment_share,
const FieldElement & effective_scalar )
nodiscard

Definition at line 801 of file recovery_root.cpp.

References PURIFY_ASSIGN_OR_RETURN.

◆ recovery_root_contribution_circuit_shape_for_testing()

Result< RecoveryRootContributionCircuitShape > purify::accountable::testing::recovery_root_contribution_circuit_shape_for_testing ( const RecoveryRootShare & share)
nodiscard

Return the fixed centered-share circuit shape for qualification tests.

Definition at line 781 of file recovery_root.cpp.

References PURIFY_ASSIGN_OR_RETURN, and PURIFY_RETURN_IF_ERROR.

◆ recovery_root_share_count_valid_for_testing()

Status purify::accountable::testing::recovery_root_share_count_valid_for_testing ( std::size_t member_count)
nodiscard

Definition at line 796 of file recovery_root.cpp.