Loading security/dice/aidl/vts/functional/dice_demote_test.rs +1 −9 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. use diced_open_dice_cbor as dice; use diced_sample_inputs; use diced_utils; use std::convert::TryInto; Loading Loading @@ -44,14 +43,7 @@ fn demote_test() { ) .unwrap(); let input_values: Vec<diced_utils::InputValues> = input_values .iter() .map(|v| v.into()) .collect(); let artifacts = artifacts .execute_steps(input_values.iter().map(|v| v as &dyn dice::InputValues)) .unwrap(); let artifacts = artifacts.execute_steps(input_values.iter()).unwrap(); let (cdi_attest, cdi_seal, bcc) = artifacts.into_tuple(); let from_former = diced_utils::make_bcc_handover( cdi_attest[..].try_into().unwrap(), Loading security/dice/aidl/vts/functional/dice_test.rs +2 −10 Original line number Diff line number Diff line Loading @@ -12,10 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. use diced_open_dice_cbor as dice; use diced_sample_inputs; use diced_utils; use std::convert::{TryInto, Into}; use std::convert::TryInto; mod utils; use utils::with_connection; Loading Loading @@ -44,14 +43,7 @@ fn equivalence_test() { ) .unwrap(); let input_values: Vec<diced_utils::InputValues> = input_values .iter() .map(|v| v.into()) .collect(); let artifacts = artifacts .execute_steps(input_values.iter().map(|v| v as &dyn dice::InputValues)) .unwrap(); let artifacts = artifacts.execute_steps(input_values.iter()).unwrap(); let (cdi_attest, cdi_seal, bcc) = artifacts.into_tuple(); let from_former = diced_utils::make_bcc_handover( cdi_attest[..].try_into().unwrap(), Loading Loading
security/dice/aidl/vts/functional/dice_demote_test.rs +1 −9 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. use diced_open_dice_cbor as dice; use diced_sample_inputs; use diced_utils; use std::convert::TryInto; Loading Loading @@ -44,14 +43,7 @@ fn demote_test() { ) .unwrap(); let input_values: Vec<diced_utils::InputValues> = input_values .iter() .map(|v| v.into()) .collect(); let artifacts = artifacts .execute_steps(input_values.iter().map(|v| v as &dyn dice::InputValues)) .unwrap(); let artifacts = artifacts.execute_steps(input_values.iter()).unwrap(); let (cdi_attest, cdi_seal, bcc) = artifacts.into_tuple(); let from_former = diced_utils::make_bcc_handover( cdi_attest[..].try_into().unwrap(), Loading
security/dice/aidl/vts/functional/dice_test.rs +2 −10 Original line number Diff line number Diff line Loading @@ -12,10 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. use diced_open_dice_cbor as dice; use diced_sample_inputs; use diced_utils; use std::convert::{TryInto, Into}; use std::convert::TryInto; mod utils; use utils::with_connection; Loading Loading @@ -44,14 +43,7 @@ fn equivalence_test() { ) .unwrap(); let input_values: Vec<diced_utils::InputValues> = input_values .iter() .map(|v| v.into()) .collect(); let artifacts = artifacts .execute_steps(input_values.iter().map(|v| v as &dyn dice::InputValues)) .unwrap(); let artifacts = artifacts.execute_steps(input_values.iter()).unwrap(); let (cdi_attest, cdi_seal, bcc) = artifacts.into_tuple(); let from_former = diced_utils::make_bcc_handover( cdi_attest[..].try_into().unwrap(), Loading