Home
last modified time | relevance | path

Searched refs:to_raw (Results 1 – 2 of 2) sorted by relevance

/trusty/user/app/keymint/
Dkeys.rs201 fn to_raw(&self) -> Result<Vec<u8>, Error> { in to_raw() method
265 .to_raw() in kek_context()
378 let context1 = TrustyKekContext::from_raw(&context1.unwrap().to_raw().unwrap()).unwrap(); in kek_with_different_context_return_different_keys()
397 .root_kek(&context1.to_raw().expect("Couldn't serialize kek1 context")) in kek_with_different_context_return_different_keys()
401 .root_kek(&context2.to_raw().expect("Couldn't serialize kek2 context")) in kek_with_different_context_return_different_keys()
419 .root_kek(&context1.to_raw().expect("Couldn't serialize kek1 context")) in legacy_kek_is_different_than_non_legacy()
423 .root_kek(&context2.to_raw().expect("Couldn't serialize kek2 context")) in legacy_kek_is_different_than_non_legacy()
473 let mut ctx_raw = good_ctx.to_raw().unwrap(); in deserializing_bad_kek_context_fails()
495 let recovered_ctx = TrustyKekContext::from_raw(&original_ctx.to_raw().unwrap()).unwrap(); in test_kek_context_serialization()
498 let recovered_ctx = TrustyKekContext::from_raw(&original_ctx.to_raw().unwrap()).unwrap(); in test_kek_context_serialization()
/trusty/user/app/keymint/keys/
Dlegacy.rs164 .to_raw()?; in convert_key()