This repository was archived by the owner on Jan 22, 2025. It is now read-only.
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
compression_batch_size
is set to 0 (ottersec #3) #33506Closed
Description
Problem
The discrete log computation setting has an optimization parameter compression_batch_size
, which specifies how fast the discrete log algorithm traverses a list of potential solutions for decryption. The default is set to 32.
If the compression_batch_size
parameter is set to 0, the program panics.
Note: This is client side logic and does not impact on-chain programs.
Proposed Solution
Add a check on compression_batch_size
in the discrete log logic so that the program errors gracefully.
Metadata
Metadata
Assignees
No one assignedLabels
No labels