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

[bn254] Replace bn254 bench scalar bytes to worst-case #4467

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samkim-crypto
Copy link

@samkim-crypto samkim-crypto commented Jan 15, 2025

Problem

The bench logic for bn254 multiplication uses a randomly generated scalar value. However, these benches are generally used to measure worst-case performance.

Summary of Changes

Updated the constant scalar value for the bench logic to the highest number so that it gives the worst-case bench performance.

Fixes #

@samkim-crypto samkim-crypto marked this pull request as ready for review January 15, 2025 07:06
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