Skip to content

Commit

Permalink
WIP: kbs_protocol updates for ITA
Browse files Browse the repository at this point in the history
Signed-off-by: Mikko Ylinen <[email protected]>
  • Loading branch information
mythi committed Jun 13, 2024
1 parent 9bcc7c1 commit 7b97a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions attestation-agent/kbs_protocol/src/client/rcar_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use log::{debug, warn};
use resource_uri::ResourceUri;
use serde::Deserialize;
use serde_json::json;
use sha2::{Digest, Sha384};
use sha2::{Digest, Sha512};

use crate::{
api::KbsClientCapabilities,
Expand Down Expand Up @@ -189,7 +189,7 @@ impl KbsClient<Box<dyn EvidenceProvider>> {
nonce: String,
) -> Result<String> {
debug!("Challenge nonce: {nonce}");
let mut hasher = Sha384::new();
let mut hasher = Sha512::new();
hasher.update(runtime_data);

let ehd = match tee {
Expand Down

0 comments on commit 7b97a8b

Please sign in to comment.