Home
last modified time | relevance | path

Searched refs:node_constraints_list (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/system/secretkeeper/dice_policy/src/
H A Dlib.rs170 pub node_constraints_list: Box<[NodeConstraints]>, field
185 Ok(Self { version, node_constraints_list: node_cons_list.into_boxed_slice() }) in from_cbor_value()
189 let mut res: Vec<Value> = Vec::with_capacity(1 + self.node_constraints_list.len()); in to_cbor_value()
191 for node_cons in self.node_constraints_list.into_vec() { in to_cbor_value()
208 if dice_chain.len() != self.node_constraints_list.len() { in matches_dice_chain()
212 self.node_constraints_list.len() in matches_dice_chain()
217 zip(dice_chain, self.node_constraints_list.iter()).enumerate() in matches_dice_chain()
/aosp_15_r20/system/secretkeeper/dice_policy/tests/
H A Dtest.rs101 node_constraints_list: Box::new([ in get_example()
362 assert_eq!(policy.node_constraints_list.len(), COMPOS_CHAIN_SIZE_EXPLICIT_KEY); in policy_dice_size_is_same()
/aosp_15_r20/system/secretkeeper/dice_policy/building/src/
H A Dlib.rs261 node_constraints_list: constraints_list.into_boxed_slice(), in policy_for_dice_chain()