此算法对基于多重取幂密码协议的快速运作是很有效用的。
The algorithm is useful to speed up the operation for some cryptographic protocols based on multiple exponentiation.
基于进入系统的时间,写操作具有幂等性(不管操作多少次结果都不变的性质,比如取绝对值的函数就具有幂等性)和交换性(操作顺序不影响结果,比如加法就具有交换性)。
Write operations are idempotent and commutative, based on the time they enter the system.
如果表达式不是常量,就调用另一个宏函数把值向上取整到2的幂。
Otherwise, if the expression is not a constant, another macro function is called to round up the value to a power of two.
应用推荐