Skip to content

Commit 9044f9b

Browse files
committed
add doc comments
Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
1 parent f0b3986 commit 9044f9b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

modules/remote-attestation/src/dcap.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub const INTEL_ROOT_CA_HASH: [u8; 32] = [
2323
59, 178, 70, 13, 249, 208, 27, 51, 61, 112, 9,
2424
];
2525

26+
/// Run DCAP remote attestation
2627
pub fn run_dcap_ra(
2728
key_manager: &EnclaveKeyManager,
2829
target_enclave_key: Address,

modules/remote-attestation/src/dcap_simulation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ pub const DCAP_SIM_ROOT_CA_HASH: [u8; 32] = [
6767
167, 12, 187, 58, 171, 31, 90, 176, 35, 91, 43,
6868
];
6969

70+
/// DCAP RA Simulation Options
7071
#[derive(Debug, Clone)]
7172
pub struct DCAPRASimulationOpts {
7273
root_cert: X509,

modules/remote-attestation/src/ias_simulation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use keymanager::EnclaveKeyManager;
88
use log::*;
99
use rsa::signature::{SignatureEncoding, Signer};
1010

11+
/// Run IAS RA simulation
1112
pub fn run_ias_ra_simulation(
1213
key_manager: &EnclaveKeyManager,
1314
target_enclave_key: Address,

0 commit comments

Comments
 (0)