Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

renegade-dealer: dealer: Test alegraic identities and macs on values #2

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

joeykraut
Copy link
Member

Purpose

This PR tests the algebraic and MAC integrity of each value generated by the dealer. That is, for each value generated by the dealer, we:

  • Open the value to the parties
  • Check the mac
  • Check any identities that must be satisfied (e.g. a * b = 1)

Testing

  • Unit tests pass
  • Ad hoc tests give correct values via the API

Adds test cases for each type of value generated by the dealer. For each
value, the test recovers the value, checks the mac, and checks any
identities the value is expected to satisfy
@joeykraut joeykraut merged commit d5e0740 into master Apr 21, 2024
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant