LayerXcom / confidential-computing-modules

A Module for Privacy-preserving State Transitions with Verifiability
90 stars 9 forks source link

ビルド時の命令暗号化方式のfeatureを設定可能に #539

Open osuketh opened 3 years ago

osuketh commented 3 years ago

host側、enclave側共に命令の暗号化方式について defaultを enclave_keyで、 treekemも設定可能なようにする

https://github.com/LayerXcom/anonify/blob/90c06ec8976dbd668d3f34903e0ad5cf53647162/modules/anonify-enclave/src/commands/mod.rs#L3-L4

osuketh commented 3 years ago

related: https://github.com/LayerXcom/anonify/issues/541

cipepser commented 3 years ago

register_report もtreekemでしか使わないので、cfg attribute付与対象

https://github.com/LayerXcom/anonify/blob/bfc4b73280e55c55d6b67a22efb7128408a94143/modules/anonify-eth-driver/src/eth/sender.rs#L70