Home
last modified time | relevance | path

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

/system/keymint/tests/tests/
Dkeyblob_test.rs19 let mut root_key = crypto::RawKeyMaterial(vec![0u8; 32]); in test_encrypted_keyblob_roundtrip() localVariable
20 rng.fill_bytes(&mut root_key.0); in test_encrypted_keyblob_roundtrip()
43 &root_key, in test_encrypted_keyblob_roundtrip()
51 keyblob::decrypt(None, &aes, &hmac, &root_key, encrypted_keyblob, hidden).unwrap(); in test_encrypted_keyblob_roundtrip()
/system/keymint/common/src/
Dkeyblob.rs268 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in derive_kek()
280 let data = match root_key {
321 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in encrypt()
360 derive_kek(kdf, root_key, &key_derivation_input, characteristics.clone(), hidden, sdd)?; in encrypt()
396 root_key: &crypto::OpaqueOr<crypto::hmac::Key>, in decrypt()
418 root_key, in decrypt()
/system/keymaster/tests/
Dattestation_record_test.cpp349 const cppbor::Int* root_key = eat_key->asInt(); in TEST() local
350 if ((EatClaim)root_key->value() == EatClaim::SUBMODS) { in TEST()