Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align protocol with specs #5

Merged
merged 1 commit into from
Jan 23, 2023
Merged

Align protocol with specs #5

merged 1 commit into from
Jan 23, 2023

Conversation

survived
Copy link
Contributor

No description provided.

@survived survived requested a review from maurges January 17, 2023 14:18
@survived survived changed the base branch from m to profiling January 17, 2023 14:18
@github-actions
Copy link

github-actions bot commented Jan 17, 2023

Benchmark Result

Benchmarks
Tests seed: 86454ad38f2e65e4bff063b053ee96b90f27ad40fa4f1ed01aeed6cbb3c3e587
n = 3
Protocol Performance:
  - Protocol took 2.21s to complete
In particular:
  - Setup: 28.49ms
    - Validate security level: 5.70µs (0.0%)
    - Retrieve auxiliary data: 28.47ms (99.9%)
    - Precompute execution id and security params: 6.10µs (0.0%)
    - Setup networking: 3.80µs (0.0%)
    - Unstaged: 500.00ns (0.0%)
  - Round 1: 178.86ms
    - Generate local ephemeral secrets (k_i, y_i, p_i, v_i): 46.20µs (0.0%)
    - Encrypt G_i and K_i: 52.28ms (29.2%)
    - Prove ψ0_j: 126.53ms (70.7%)
    - Unstaged: 1.30µs (0.0%)
  - Round 2: 1.05s
    - Hash received msgs (reliability check): 60.80µs (0.0%)
    - Verify ψ0 proofs: 112.77ms (10.8%)
    - Sample random r, rˆ, s, sˆ, β, βˆ: 93.40µs (0.0%)
    - Encrypt D_ji: 73.27ms (7.0%)
    - Encrypt F_ji: 67.24ms (6.4%)
    - Encrypt Dˆ_ji: 73.98ms (7.1%)
    - Encrypt Fˆ_ji: 67.91ms (6.5%)
    - Prove ψ_ji: 262.48ms (25.1%)
    - Prove ψˆ_ji: 262.81ms (25.1%)
    - Prove ψ_prime_ji : 125.53ms (12.0%)
    - Unstaged: 1.70µs (0.0%)
  - Round 3: 835.72ms
    - Assert other parties hashed messages (reliability check): 400.00ns (0.0%)
    - Retrieve auxiliary data: 6.30µs (0.0%)
    - Validate ψ: 253.93ms (30.4%)
    - Validate ψˆ: 251.17ms (30.1%)
    - Validate ψ_prime: 114.98ms (13.8%)
    - Compute Γ, Delta_i, delta_i, chi_i: 90.70ms (10.9%)
    - Prove ψ_prime_prime: 124.92ms (14.9%)
    - Unstaged: 900.00ns (0.0%)
  - Presig output: 115.45ms
    - Validate ψ_prime_prime: 115.01ms (99.6%)
    - Calculate presignature: 434.82µs (0.4%)
    - Unstaged: 300.00ns (0.0%)
  - Partial signing: 21.40µs
  - Signature reconstruction: 599.82µs

@survived survived changed the base branch from profiling to m January 18, 2023 14:58
@survived survived changed the base branch from m to profiling January 18, 2023 14:59
@survived
Copy link
Contributor Author

@d86leader can't merge this one before #4, I need your approval there too

@survived
Copy link
Contributor Author

Rebased onto m

@survived survived merged commit f4a5707 into m Jan 23, 2023
@survived survived deleted the update-protocol branch January 23, 2023 15:12
survived added a commit that referenced this pull request Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants