Searched refs:root_key (Results 1 – 9 of 9) sorted by relevance
/system/secretkeeper/client/src/ |
D | dice.rs | 90 let root_key = it in to_explicit_chain() localVariable 95 let mut root_key = CoseKey::from_cbor_value(root_key)?; in to_explicit_chain() localVariable 96 root_key.canonicalize(CborOrdering::Lexicographic); in to_explicit_chain() 98 let root_key = root_key.to_vec()?; in to_explicit_chain() localVariable 99 res.push(Value::Bytes(root_key)); in to_explicit_chain()
|
D | authgraph_dev.rs | 156 let root_key = identity.validate(ecdsa)?; in validate_peer_identity() localVariable 161 if root_key.get_key_ref() != expected_key { in validate_peer_identity() 168 Ok(root_key) in validate_peer_identity()
|
/system/keymint/tests/tests/ |
D | keyblob_test.rs | 33 let mut root_key = crypto::hmac::Key(vec![0u8; 32]); in test_encrypted_keyblob_roundtrip() localVariable 34 rng.fill_bytes(&mut root_key.0); in test_encrypted_keyblob_roundtrip() 35 let root_key = crypto::OpaqueOr::Explicit(root_key); in test_encrypted_keyblob_roundtrip() localVariable 58 &root_key, in test_encrypted_keyblob_roundtrip() 67 keyblob::decrypt(None, &aes, &hmac, &root_key, encrypted_keyblob, hidden).unwrap(); in test_encrypted_keyblob_roundtrip()
|
/system/keymint/common/src/ |
D | keyblob.rs | 292 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in derive_kek() 304 let data = match root_key { 345 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in encrypt() 384 derive_kek(kdf, root_key, &key_derivation_input, characteristics.clone(), hidden, sdd)?; in encrypt() 420 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in decrypt() 442 root_key, in decrypt()
|
/system/authgraph/core/src/ |
D | key.rs | 308 pub root_key: EcVerifyKey, field 531 if !self.root_key.is_canonicalized() { in validate() 537 self.root_key.validate_cose_key_params()?; in validate() 539 None => Ok(self.root_key.clone()), in validate() 541 let mut parent_pub_sign_key = &self.root_key; in validate() 629 root_key: root_cose_key, in from_cbor_value() 642 self.root_key.canonicalize_cose_key(); in to_cbor_value() 643 array.push(Value::Bytes(self.root_key.get_key().to_vec()?)); in to_cbor_value()
|
/system/authgraph/boringssl/src/ |
D | tests.rs | 291 root_key: EcVerifyKey::P256(pub_key), in test_get_identity_with_root_key_in_incorrect_canonical_form() 318 root_key: EcVerifyKey::P256(pub_key), in test_get_identity_with_root_key_in_correct_canonical_form()
|
D | test_device.rs | 101 root_key: EcVerifyKey::P256(pub_key), in get_identity()
|
/system/keymaster/tests/ |
D | attestation_record_test.cpp | 349 const cppbor::Int* root_key = eat_key->asInt(); in TEST() local 350 if ((EatClaim)root_key->value() == EatClaim::SUBMODS) { in TEST()
|
/system/secretkeeper/core/src/ |
D | ta.rs | 132 root_key: pub_key, in new_with_session_limit() 165 let cose_key = self.identity.cert_chain.root_key.clone().get_key(); in process_bootloader()
|