Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a5a387a authored by Chan Wang's avatar Chan Wang
Browse files

Update housing crate for OwnedDiceArtifactsWithExplicitKey

Bug: 394052196

Test: atest VtsSecretkeeperTargetTest
Test: m libsecretkeeper_test
Test: m secretkeeper_cli
Change-Id: I17f5875e8a699b3e427ef2bea755f51f7aa598fb
parent bcf8e249
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ rust_library {
        "libciborium",
        "libcoset",
        "libdiced_open_dice",
        "libexplicitkeydice",
        "libhex",
        "liblog_rust",
        "libsecretkeeper_client",
@@ -54,6 +55,7 @@ rust_test {
        "libciborium",
        "libcoset",
        "libdice_policy_builder",
        "libexplicitkeydice",
        "liblog_rust",
        "libsecretkeeper_client",
        "libsecretkeeper_comm_nostd",
@@ -77,6 +79,7 @@ rust_binary {
        "libclap",
        "libcoset",
        "libdice_policy_builder",
        "libexplicitkeydice",
        "libhex",
        "liblog_rust",
        "libsecretkeeper_client",
+1 −1
Original line number Diff line number Diff line
@@ -34,8 +34,8 @@ use diced_open_dice::{
    retry_bcc_main_flow, retry_dice_main_flow, Config, DiceArtifacts, DiceConfigValues, DiceError,
    DiceMode, InputValues, OwnedDiceArtifacts, HASH_SIZE, HIDDEN_SIZE,
};
use explicitkeydice::OwnedDiceArtifactsWithExplicitKey;
use log::error;
use secretkeeper_client::dice::OwnedDiceArtifactsWithExplicitKey;

/// Sample UDS used to perform the root DICE flow by `make_sample_bcc_and_cdis`.
const UDS: &[u8; CDI_SIZE] = &[
+2 −1
Original line number Diff line number Diff line
@@ -29,7 +29,8 @@ use dice_policy_builder::{
    WILDCARD_FULL_ARRAY,
};

use secretkeeper_client::{dice::OwnedDiceArtifactsWithExplicitKey, SkSession};
use explicitkeydice::OwnedDiceArtifactsWithExplicitKey;
use secretkeeper_client::SkSession;
use secretkeeper_comm::data_types::{
    error::SecretkeeperError,
    packet::{ResponsePacket, ResponseType},
+1 −1
Original line number Diff line number Diff line
@@ -22,8 +22,8 @@ use authgraph_boringssl as boring;
use authgraph_core::key;
use coset::{CborOrdering, CborSerializable, CoseEncrypt0, CoseKey};
use dice_policy_builder::{TargetEntry, ConstraintSpec, ConstraintType, MissingAction, WILDCARD_FULL_ARRAY, policy_for_dice_chain};
use explicitkeydice::OwnedDiceArtifactsWithExplicitKey;
use rdroidtest::{ignore_if, rdroidtest};
use secretkeeper_client::dice::OwnedDiceArtifactsWithExplicitKey;
use secretkeeper_client::{SkSession, Error as SkClientError};
use secretkeeper_core::cipher;
use secretkeeper_comm::data_types::error::SecretkeeperError;