Home
last modified time | relevance | path

Searched refs:into (Results 1 – 20 of 20) sorted by relevance

/trusty/user/app/keymint/keys/
Dlegacy.rs183 self.aes.begin_aead(aes_key.into(), mode, crypto::SymmetricOperation::Decrypt)?; in convert_key()
207 crypto::KeyMaterial::Aes(crypto::aes::Key::new(raw_key_material)?.into()) in convert_key()
211 crypto::KeyMaterial::TripleDes(crypto::des::Key::new(raw_key_material)?.into()) in convert_key()
214 crypto::KeyMaterial::Hmac(crypto::hmac::Key::new(raw_key_material).into()) in convert_key()
220 Algorithm::Rsa => crypto::KeyMaterial::Rsa(crypto::rsa::Key(raw_key_material).into()), in convert_key()
243 crypto::ec::Key::P224(crypto::ec::NistKey(raw_key_material)).into(), in convert_key()
248 crypto::ec::Key::P256(crypto::ec::NistKey(raw_key_material)).into(), in convert_key()
253 crypto::ec::Key::P384(crypto::ec::NistKey(raw_key_material)).into(), in convert_key()
258 crypto::ec::Key::P521(crypto::ec::NistKey(raw_key_material)).into(), in convert_key()
/trusty/user/app/keymint/secure_storage_manager/
Dsoftware.rs365 key: KeyMaterial::Rsa(rsa::Key(hex_decode(RSA_ATTEST_KEY).unwrap()).into()), in new()
379 ec::Key::P256(ec::NistKey(hex_decode(EC_ATTEST_KEY).unwrap())).into(), in new()
/trusty/device/arm/generic-arm64/project/hafnium/
Dtrusty.dts24 gp-register-num = <0>; /* Place boot data into x0 */
/trusty/user/base/sdk/
DREADME.md5 Trusty applications for integration into the Trusty TEE.
18 Makefile suitable for including into an existing build system. Sets up the
/trusty/user/base/lib/hwwsk/rust/src/
Derr.rs52 match rc.into() { in from_status()
/trusty/user/base/lib/hwkey/rust/src/
Derr.rs42 match rc.into() { in from_hwkey_rc()
Dlib.rs215 kdf_version: args.kdf_version.into(), in derive()
216 rollback_version_source: args.rollback_version_source.into(), in derive()
291 fn into(self) -> u32 { in into() method
371 fn into(self) -> u32 { in into() method
/trusty/user/app/sample/hwcryptohal/server/
Dservice_encryption_key.rs91 kek.into(), in encrypt_content_service_encryption_key()
117 kek.into(), in decrypt_content_service_encryption_key()
200 .value(KEY_DERIVATION_VERSION_COSE_LABEL, Value::Integer(value.header_version.into())) in try_from()
Dopaque_key.rs524 crypto::aes::Key::Aes128(key_vec_to_array(key_bytes)?).into(), in generate_key_material()
531 crypto::aes::Key::Aes256(key_vec_to_array(key_bytes)?).into(), in generate_key_material()
549 Ok(KeyMaterial::Hmac(crypto::hmac::Key::new(key_bytes).into())) in generate_key_material()
/trusty/user/base/lib/tipc/rust/src/
Derr.rs88 let sys_err: Error = rc.into(); in from_uapi()
Dservice.rs813 self.services.push_unchecked(service.into());
/trusty/user/app/sample/rust-hello-world/
DREADME.md48 … TA. In addition, the source file for the app TA, `main.rs`, simply calls into `lib.rs` to start t…
50 …rs` - This simply contains the `main` function that runs on app startup, which calls into `lib.rs`.
61 …the logic for turning incoming IPC messages into a string to process, and the logic for turning a …
Dlib.rs69 } else if bytes.len() - MESSAGE_OFFSET != bytes[1].into() { in deserialize()
/trusty/user/app/keymint/
Dkeys.rs208 let kdf_version: u32 = ctx.kdf_version.into(); in to_raw()
260 Ok(crypto::hmac::Key::new(key_buffer.to_vec()).into()) in root_kek()
279 Ok(crypto::aes::Key::Aes256(key_buffer).into()) in kak()
/trusty/user/base/lib/storage/rust/src/
Dlib.rs715 let code = code.into(); in check_return_code()
743 let long_code = code.into(); in check_non_negative()
Dtest.rs429 assert_eq!(Some(Ok((file_a.into(), FileState::Committed))), dir_iter.next()); in list_during_transaction()
430 assert_eq!(Some(Ok((file_b.into(), FileState::Added))), dir_iter.next()); in list_during_transaction()
/trusty/kernel/lib/ubsan/
Dexemptlist76 # calls from C++ into Rust and the latter does not support CFI.
/trusty/user/base/make/
DREADME.md6 built independently into static library archives and their build flags are
Dlibrary.mk259 $(error Please move $(MODULE) from MODULE_DEPS into MODULE_LIBRARY_DEPS)
/trusty/vendor/google/aosp/
Dpylintrc45 # Allow loading of arbitrary C extensions. Extensions are imported into the
50 # be loaded. Extensions are loading into the active Python interpreter and may