|
113 | 113 | \[ |
114 | 114 | \scenPrecompileWeightedSum _{i} |
115 | 115 | \define |
116 | | - \left[ \begin{array}{l} |
117 | | - + \; \mathtt{0x\,01} \phantom{0} \cdot \scenEcrecover _{i} \\ |
118 | | - + \; \mathtt{0x\,02} \phantom{0} \cdot \scenShaTwo _{i} \\ |
119 | | - + \; \mathtt{0x\,03} \phantom{0} \cdot \scenRipemd _{i} \\ |
120 | | - + \; \mathtt{0x\,04} \phantom{0} \cdot \scenIdentity _{i} \\ |
121 | | - + \; \mathtt{0x\,05} \phantom{0} \cdot \scenModexp _{i} \\ |
122 | | - + \; \mathtt{0x\,06} \phantom{0} \cdot \scenEcadd _{i} \\ |
123 | | - + \; \mathtt{0x\,07} \phantom{0} \cdot \scenEcmul _{i} \\ |
124 | | - + \; \mathtt{0x\,08} \phantom{0} \cdot \scenEcpairing _{i} \\ |
125 | | - + \; \mathtt{0x\,09} \phantom{0} \cdot \scenBlake _{i} \\ |
126 | | - + \; \mathtt{0x\,0a} \phantom{0} \cdot \scenPointEvaluation _{i} \\ |
127 | | - + \; \mathtt{0x\,0b} \phantom{0} \cdot \scenBlsGOneAdd _{i} \\ |
128 | | - + \; \mathtt{0x\,0c} \phantom{0} \cdot \scenBlsGOneMsm _{i} \\ |
129 | | - + \; \mathtt{0x\,0d} \phantom{0} \cdot \scenBlsGTwoAdd _{i} \\ |
130 | | - + \; \mathtt{0x\,0e} \phantom{0} \cdot \scenBlsGTwoMsm _{i} \\ |
131 | | - + \; \mathtt{0x\,0f} \phantom{0} \cdot \scenBlsPairingCheck _{i} \\ |
132 | | - + \; \mathtt{0x\,10} \phantom{0} \cdot \scenBlsMapFpToGOne _{i} \\ |
133 | | - + \; \mathtt{0x\,11} \phantom{0} \cdot \scenBlsMapFpTwoToGTwo _{i} \\ |
134 | | - + \; \mathtt{0x\,100} \cdot \scenPVerify _{i} \\ |
| 116 | + \left[ \begin{array}{rcl} |
| 117 | + + \; \mathtt{0x\,01} & \cdot & \scenEcrecover _{i} \\ |
| 118 | + + \; \mathtt{0x\,02} & \cdot & \scenShaTwo _{i} \\ |
| 119 | + + \; \mathtt{0x\,03} & \cdot & \scenRipemd _{i} \\ |
| 120 | + + \; \mathtt{0x\,04} & \cdot & \scenIdentity _{i} \\ |
| 121 | + + \; \mathtt{0x\,05} & \cdot & \scenModexp _{i} \\ |
| 122 | + + \; \mathtt{0x\,06} & \cdot & \scenEcadd _{i} \\ |
| 123 | + + \; \mathtt{0x\,07} & \cdot & \scenEcmul _{i} \\ |
| 124 | + + \; \mathtt{0x\,08} & \cdot & \scenEcpairing _{i} \\ |
| 125 | + + \; \mathtt{0x\,09} & \cdot & \scenBlake _{i} \\ |
| 126 | + + \; \mathtt{0x\,0a} & \cdot & \scenPointEvaluation _{i} \\ |
| 127 | + + \; \mathtt{0x\,0b} & \cdot & \scenBlsGOneAdd _{i} \\ |
| 128 | + + \; \mathtt{0x\,0c} & \cdot & \scenBlsGOneMsm _{i} \\ |
| 129 | + + \; \mathtt{0x\,0d} & \cdot & \scenBlsGTwoAdd _{i} \\ |
| 130 | + + \; \mathtt{0x\,0e} & \cdot & \scenBlsGTwoMsm _{i} \\ |
| 131 | + + \; \mathtt{0x\,0f} & \cdot & \scenBlsPairingCheck _{i} \\ |
| 132 | + + \; \mathtt{0x\,10} & \cdot & \scenBlsMapFpToGOne _{i} \\ |
| 133 | + + \; \mathtt{0x\,11} & \cdot & \scenBlsMapFpTwoToGTwo _{i} \\ |
| 134 | + + \; \mathtt{0x\,100} & \cdot & \scenPVerify _{i} \\ |
135 | 135 | \end{array} \right] |
136 | 136 | \] |
137 | 137 | We also define the following |
|
0 commit comments