We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 599fdab commit 968ae5cCopy full SHA for 968ae5c
testdata/asm/bench/trm.zkasm
@@ -1,5 +1,5 @@
1
const MAX_PRC_CONTIGUOUS_ADDRESS = 0x11
2
-;; const P256_VERIFY_ADDRESS = 0x100
+const P256_VERIFY_ADDRESS = 0x100
3
4
;; The address trimming module does two things: (i) reduce 256bit
5
;; addresses into u160 addresses (i.e. modulo 2^160); (b) identify
@@ -38,7 +38,7 @@ fn trm(RAW_ADDRESS u256) -> (ADDRESS_HI u32, IS_PRECOMPILE u1) {
38
IS_PRECOMPILE=1
39
return
40
check_p256_verify:
41
- IS_PRECOMPILE = low == 0x100 ? 1 : 0
+ IS_PRECOMPILE = low == P256_VERIFY_ADDRESS ? 1 : 0
42
43
exit_0:
44
;; no, not precompile
0 commit comments