Home
last modified time | relevance | path

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

/system/secretkeeper/dice_policy/src/
Dlib.rs167 pub node_constraints_list: Box<[NodeConstraints]>, field
182 Ok(Self { version, node_constraints_list: node_cons_list.into_boxed_slice() }) in from_cbor_value()
186 let mut res: Vec<Value> = Vec::with_capacity(1 + self.node_constraints_list.len()); in to_cbor_value()
188 for node_cons in self.node_constraints_list.into_vec() { in to_cbor_value()
205 if dice_chain.len() != self.node_constraints_list.len() { in matches_dice_chain()
209 self.node_constraints_list.len() in matches_dice_chain()
214 zip(dice_chain, self.node_constraints_list.iter()).enumerate() in matches_dice_chain()
/system/see/authmgr/authmgr-common/src/
Dlib.rs99 if dice_policy.node_constraints_list.is_empty() { in match_dice_cert_with_policy()
108 dice_policy::check_constraints_on_node(&dice_policy.node_constraints_list[0], dice_node) in match_dice_cert_with_policy()
125 let mut parent_node_constraints = parent_policy.node_constraints_list.to_vec(); in extend_dice_policy_with()
126 parent_node_constraints.extend_from_slice(&child_policy.node_constraints_list); in extend_dice_policy_with()
129 node_constraints_list: parent_node_constraints.into_boxed_slice(), in extend_dice_policy_with()
/system/see/authmgr/authmgr-common/util/src/
Dlib.rs53 node_constraints_list: constraints_list.into_boxed_slice(), in policy_for_dice_node()
/system/secretkeeper/dice_policy/tests/
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()
/system/secretkeeper/dice_policy/building/src/
Dlib.rs261 node_constraints_list: constraints_list.into_boxed_slice(), in policy_for_dice_chain()