Skip to content

Commit

Permalink
non constant time comments
Browse files Browse the repository at this point in the history
  • Loading branch information
olga24912 committed Dec 21, 2023
1 parent 8453fed commit 60edc7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neps/nep-0488.md
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ You can find a draft implementation in nearcore, which is based on this library,

The implementation's security depends on the chosen library's security, supporting operations with BLS curves.

Within this NEP, a constant execution time for all operations isn't mandated. This isn't an issue when employing host functions for BLS signature/zkSNARKs verification. However, refrain from using these host functions if a constant-time algorithm is necessary.
Within this NEP, a constant execution time for all operations isn't mandated. All the computations executed by smart contract are entirely public anyway, so there would be no advantage to a constant-time algorithm.

BLS12-381 offers more security bits compared to the already existing pairing-friendly curve BN254. Consequently, the security of projects requiring a pairing-friendly curve will be enhanced.

Expand Down

0 comments on commit 60edc7f

Please sign in to comment.