mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-16 14:06:19 +08:00
Updated is my code constant time? (markdown)
parent
1ed25116a3
commit
d975764eb9
@ -46,4 +46,8 @@ __INLINE void cpSM2KE_reduction_x2w(BNU_CHUNK_T *r, const BNU_CHUNK_T *a, const
|
||||
r[num_copy_bc - 1] = (r[num_copy_bc - 1] & mask) + vadd;
|
||||
return;
|
||||
}
|
||||
```
|
||||
```
|
||||
相对而言,第四步计算tB运算需要实现素数为Order n的montgomery运算:
|
||||
1. 纯golang可以通过代码生成。
|
||||
1. amd64/arm64,至少需要实现加法,乘法已经有了。
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user