-
公开(公告)号:EP4262134A1
公开(公告)日:2023-10-18
申请号:EP23167642.0
申请日:2023-04-12
发明人: LU, Yufei , WANG, Lei , ZHANG, Lei , CUI, Jinming
IPC分类号: H04L9/00
摘要: Embodiments of this specification provide computer-implemented methods, apparatuses, computer-readable media and systems for secure multi-party computation. According to an example computer-implemented method, a first party performs a first mapping operation and homomorphic encryption on first plaintext data to obtain a first converted ciphertext in a Montgomery state, where the first mapping operation converts data from an integer ring to the Montgomery state. The first party sends the first converted ciphertext to a second party. Then, the second party performs a first homomorphic operation in the Montgomery state based on the first converted ciphertext to obtain a first result ciphertext in the Montgomery state, where the first homomorphic operation includes a modular multiplication operation.
-
2.
公开(公告)号:EP3944174A1
公开(公告)日:2022-01-26
申请号:EP21181715.0
申请日:2021-06-25
发明人: GUO, Xuepeng , ZHAO, Kuan , GUO, Ren , GAO, Haiyuan , REN, Qibin , HUANG, Zucheng , ZHANG, Lei , PAN, Guozhen , WEI, Changzheng , CHEN, Zhijian , YAN, Ying
摘要: Embodiments of the present specification provide methods and processors for performing resource deduction for execution of a smart contract. The method is performed by a processor, the processor includes a special purpose register, and the special purpose register stores a first resource balance for executing the smart contract. The method includes: reading a first extended instruction, where the first extended instruction includes a resource deduction quota corresponding to a predetermined code set, and performing the following operations based on the first extended instruction: reading the first resource balance from the special purpose register; comparing the first resource balance with the resource deduction quota; if the comparison result is that the first resource balance is greater than or equal to the resource deduction quota, subtracting the resource deduction quota from the first resource balance to obtain a second resource balance; and storing the second resource balance in the special purpose register.
-
3.
公开(公告)号:EP3962002A1
公开(公告)日:2022-03-02
申请号:EP21182263.0
申请日:2021-06-29
发明人: XIE, Youpeng , KOU, Guannan , JIN, Wenxiang , YE, Rungui , KONG, Lingtao , ZENG, Chao , HOU, Liman , CHEN, Yifan , WANG, Jiang , SUN, He , LIU, Ke , ZHANG, Lei , XIAO, Han
IPC分类号: H04L12/701 , H04L12/751 , H04L12/761 , H04L29/08 , H04L9/32 , H04L12/803
摘要: Embodiments of the present specification disclose a communication optimization system of a blockchain network, a registration method, and a message forwarding method, where the system includes two or more relay nodes and a global node. The relay node is configured to: establish a connection with a blockchain node in response to a connection request of the blockchain node; receive a registration request of the blockchain node, where the registration request includes an ID of the blockchain node and an ID of a relay node connected to the blockchain node; generate a registration event based on the registration request and transmit the registration event to the global node, where the registration event includes the ID of the blockchain node and the ID of the relay node connected to the blockchain node; update a local routing table based on the obtained registration event, where the local routing table includes a corresponding relationship between the ID of the blockchain node and the ID of the relay node connected to the blockchain node; and forward a message of the blockchain node based on the local routing table. The global node is configured to transmit a registration event of any relay node to another relay node.
-
-