/optee_rust/optee-teec/src/ |
A D | parameter.rs | 41 let raw = raw::TEEC_Value { a, b }; in new() 46 pub fn a(&self) -> u32 { in a() method 47 self.raw.a in a() 94 pub struct ParamTmpRef<'a> { 97 _marker: marker::PhantomData<&'a mut [u8]>, 100 impl<'a> ParamTmpRef<'a> { 104 pub fn new_input(buffer: &'a [u8]) -> Self { in new_input() 119 pub fn new_output(buffer: &'a mut [u8]) -> Self { in new_output() 136 impl<'a> Param for ParamTmpRef<'a> { 248 fn from(a: ParamTypes) -> u32 { in from() [all …]
|
A D | extension.rs | 42 pub struct PluginParameters<'a> { 45 pub inout: &'a mut [u8], 48 impl<'a> PluginParameters<'a> { 49 pub fn new(cmd: u32, sub_cmd: u32, inout: &'a mut [u8]) -> Self { in new()
|
/optee_rust/ |
A D | SECURITY.md | 3 ## Reporting a Vulnerability 5 We take a very active stance in eliminating security problems in Teaclave. We 7 first (private@teaclave.apache.org), before disclosing them in a public forum.
|
A D | DISCLAIMER-WIP | 3 Incubation is required of all newly accepted projects until a further review 5 have stabilized in a manner consistent with other successful ASF projects. 6 While incubation status is not necessarily a reflection of the completeness or 12 conditions. What follows is a list of known issues the project is currently 18 be aware that you will need to conduct a thorough licensing review to determine
|
A D | LICENSE | 32 transformation or translation of a Source form, including but 37 Object form, made available under the License, as indicated by a 68 this License, each Contributor hereby grants to You a perpetual, 83 institute patent litigation against any entity (including a 95 (a) You must give any other recipients of the Work or 96 Derivative Works a copy of this License; and 107 (d) If the Work includes a "NOTICE" text file as part of its 115 within a display generated by the Derivative Works, if and 127 for any such Derivative Works as a whole, provided Your use, 185 comment syntax for the file format. We also recommend that a [all …]
|
/optee_rust/examples/hello_world-rs/host/src/ |
A D | main.rs | 26 println!("original value is {:?}", operation.parameters().0.a()); in hello_world() 29 println!("inc value is {:?}", operation.parameters().0.a()); in hello_world() 32 println!("dec value is {:?}", operation.parameters().0.a()); in hello_world()
|
/optee_rust/optee-utee/src/ |
A D | parameter.rs | 43 pub fn a(&self) -> u32 { in a() method 44 unsafe { (*self.raw).a } in a() 51 pub fn set_a(&mut self, a: u32) { in set_a() 53 (*self.raw).a = a; in set_a()
|
/optee_rust/licenses/ |
A D | LICENSE-rust.txt | 31 transformation or translation of a Source form, including but 36 Object form, made available under the License, as indicated by a 67 this License, each Contributor hereby grants to You a perpetual, 74 this License, each Contributor hereby grants to You a perpetual, 82 institute patent litigation against any entity (including a 83 cross-claim or counterclaim in a lawsuit) alleging that the Work 94 (a) You must give any other recipients of the Work or 95 Derivative Works a copy of this License; and 106 (d) If the Work includes a "NOTICE" text file as part of its 114 within a display generated by the Derivative Works, if and [all …]
|
A D | LICENSE-compiler-builtins.txt | 6 Illinois "BSD-Like" license and the MIT license. As a user of this code you may 7 choose to use it under either license. As a contributor, you agree to allow 29 Permission is hereby granted, free of charge, to any person obtaining a copy of 60 Permission is hereby granted, free of charge, to any person obtaining a copy
|
/optee_rust/examples/hello_world-rs/ta/src/ |
A D | main.rs | 54 values.set_a(values.a() + 100); in invoke_command() 58 values.set_a(values.a() - 100); in invoke_command()
|
/optee_rust/optee-utee/optee-utee-sys/src/ |
A D | utee_types.rs | 50 a: u64, field
|
/optee_rust/docs/ |
A D | getting-started-with-optee-for-qemu-armv8.md | 22 $ curl https://storage.googleapis.com/git-repo-downloads/repo-1 > ~/bin/repo && chmod a+x ~/bin/repo 37 Create a shared folder to share example host apps and TAs with QEMU guest system. 75 Note that if you are under a environment without GUI, you please comment out the following code in … 78 diff --git a/qemu_v8.mk b/qemu_v8.mk 80 --- a/qemu_v8.mk
|
A D | overview-of-optee-rust-examples.md | 18 …`057f4b66-bdab-11eb-96cf-33d6e41cc849` | Generate an RSA key pair, encrypt a supplied string and … 27 | random-rs | `197c710c-bdab-11eb-8f3f-17a5f698d23b` | Generate a random UUID. … 30 | supp_plugin-rs | `255fc838-de89-42d3-9a8e-d044c50fa57c` | TA actively invokes a com…
|
/optee_rust/examples/diffie_hellman-rs/host/src/ |
A D | main.rs | 41 let public_size = operation.parameters().1.a() as usize; in generate_key() 60 let key_size = operation.parameters().2.a() as usize; in derive_key()
|
/optee_rust/examples/secure_storage-rs/host/src/ |
A D | main.rs | 77 if obj1_data.iter().zip(read_data.iter()).all(|(a, b)| a == b) { in main()
|
/optee_rust/examples/aes-rs/ta/src/ |
A D | main.rs | 115 let algo_value = unsafe { params.0.as_value().unwrap().a() }; in alloc_resources() 116 let key_size_value = unsafe { params.1.as_value().unwrap().a() }; in alloc_resources() 117 let mode_id_value = unsafe { params.2.as_value().unwrap().a() }; in alloc_resources()
|
/optee_rust/examples/aes-rs/host/src/ |
A D | main.rs | 114 if clear.iter().zip(tmp.iter()).all(|(a, b)| a == b) { in main()
|
/optee_rust/examples/authentication-rs/host/src/ |
A D | main.rs | 111 .all(|(a, b)| a == b) in main()
|
/optee_rust/examples/hotp-rs/host/src/ |
A D | main.rs | 50 let hotp_value = p0.a(); in get_hotp()
|
/optee_rust/examples/digest-rs/ta/ |
A D | ta_aarch64.lds | 80 * Note that PROVIDE() above defines a symbol only if it is 82 * This also provides a way to detect at runtime if the TA is
|
A D | ta_arm.lds | 80 * Note that PROVIDE() above defines a symbol only if it is 82 * This also provides a way to detect at runtime if the TA is
|
/optee_rust/examples/tcp_client-rs/ta/ |
A D | ta_aarch64.lds | 80 * Note that PROVIDE() above defines a symbol only if it is 82 * This also provides a way to detect at runtime if the TA is
|
/optee_rust/examples/hello_world-rs/ta/ |
A D | ta_aarch64.lds | 80 * Note that PROVIDE() above defines a symbol only if it is 82 * This also provides a way to detect at runtime if the TA is
|
A D | ta_arm.lds | 80 * Note that PROVIDE() above defines a symbol only if it is 82 * This also provides a way to detect at runtime if the TA is
|
/optee_rust/examples/time-rs/ta/ |
A D | ta_aarch64.lds | 80 * Note that PROVIDE() above defines a symbol only if it is 82 * This also provides a way to detect at runtime if the TA is
|