Skip to content

Commit

Permalink
Merge pull request #447 from mythi/rust-180
Browse files Browse the repository at this point in the history
ci: fix doc_lazy_continuation checks added in rust 1.80.0
  • Loading branch information
mkulke authored Aug 2, 2024
2 parents 4a83e3b + 140dcd3 commit a64ccfe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions attestation-service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,19 +154,19 @@ impl AttestationService {
/// Evaluate Attestation Evidence.
/// Issue an attestation results token which contain TCB status and TEE public key. Input parameters:
/// - `evidence`: TEE evidence bytes. This might not be the raw hardware evidence bytes. Definitions
/// are in `verifier` crate.
/// are in `verifier` crate.
/// - `tee`: concrete TEE type
/// - `runtime_data`: These data field will be used to check against the counterpart inside the evidence.
/// The concrete way of checking is decide by the enum type. If this parameter is set `None`, the comparation
/// will not be performed.
/// The concrete way of checking is decide by the enum type. If this parameter is set `None`, the comparation
/// will not be performed.
/// - `init_data`: These data field will be used to check against the counterpart inside the evidence.
/// The concrete way of checking is decide by the enum type. If this parameter is set `None`, the comparation
/// will not be performed.
/// The concrete way of checking is decide by the enum type. If this parameter is set `None`, the comparation
/// will not be performed.
/// - `hash_algorithm`: The hash algorithm that is used to calculate the digest of `runtime_data` and
/// `init_data`.
/// `init_data`.
/// - `policy_ids`: The policy ids that used to check this evidence. Any check fails against a policy will
/// not cause this function to return error. The result check against every policy will be included inside
/// the finally Token returned by CoCo-AS.
/// not cause this function to return error. The result check against every policy will be included inside
/// the finally Token returned by CoCo-AS.
#[allow(clippy::too_many_arguments)]
pub async fn evaluate(
&self,
Expand Down
10 changes: 5 additions & 5 deletions rvps/src/reference_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ fn primitive_date_time_from_str<'de, D: Deserializer<'de>>(
/// * `name`: name of the artifact related to this reference value.
/// * `expired`: expired time for this reference value.
/// * `hash_value`: A set of key-value pairs, each indicates a hash
/// algorithm and its relative hash value for the artifact.
/// The actual struct deliver from RVPS to AS is
/// [`TrustedDigest`], whose simple structure is easy
/// for AS to handle.
/// algorithm and its relative hash value for the artifact.
/// The actual struct deliver from RVPS to AS is
/// [`TrustedDigest`], whose simple structure is easy
/// for AS to handle.
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq)]
pub struct ReferenceValue {
#[serde(default = "default_version")]
Expand Down Expand Up @@ -140,7 +140,7 @@ impl ReferenceValue {
/// AS, it will include:
/// * `name`: The name of the artifact, e.g., `linux-1.1.1`
/// * `hash_values`: digests that have been verified and can
/// be trusted, so we can refer them as `trusted digests`.
/// be trusted, so we can refer them as `trusted digests`.
#[derive(Serialize, Deserialize, Clone, Default, Debug, PartialEq, Eq)]
pub struct TrustedDigest {
/// The resource name.
Expand Down

0 comments on commit a64ccfe

Please sign in to comment.