|
|
@ -396,7 +396,7 @@ func BenchmarkPrecompiledBLS12381G2MultiExpWorstCase(b *testing.B) { |
|
|
|
// Benchmarks the sample inputs from the P256VERIFY precompile.
|
|
|
|
// Benchmarks the sample inputs from the P256VERIFY precompile.
|
|
|
|
func BenchmarkPrecompiledP256Verify(bench *testing.B) { |
|
|
|
func BenchmarkPrecompiledP256Verify(bench *testing.B) { |
|
|
|
t := precompiledTest{ |
|
|
|
t := precompiledTest{ |
|
|
|
Input: "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b98243744ca2b25ce52b927841120de9d5e5a454acabea2ebacaa1f76850934cb0c7c818200fa5e4b4607eeea9593071a6097b132d77c10661c441b5a66eb36856e1251c078c2c1367932e25bf657f6b2e378a26a27e238196295e1c59e2225d372fe603c229d85ea9eb0b090274c59a0600becd11d0df3f91fe44677977119c4ff03", |
|
|
|
Input: "4cee90eb86eaa050036147a12d49004b6b9c72bd725d39d4785011fe190f0b4da73bd4903f0ce3b639bbbf6e8e80d16931ff4bcf5993d58468e8fb19086e8cac36dbcd03009df8c59286b162af3bd7fcc0450c9aa81be5d10d312af6c66b1d604aebd3099c618202fcfe16ae7770b0c49ab5eadf74b754204a3bb6060e44eff37618b065f9832de4ca6ca971a7a1adc826d0f7c00181a5fb2ddf79ae00b4e10e", |
|
|
|
Expected: "0000000000000000000000000000000000000000000000000000000000000001", |
|
|
|
Expected: "0000000000000000000000000000000000000000000000000000000000000001", |
|
|
|
Name: "p256Verify", |
|
|
|
Name: "p256Verify", |
|
|
|
} |
|
|
|
} |
|
|
|