Searched refs:p (Results 1 – 10 of 10) sorted by relevance
/optee_rust/examples/random-rs/ta/src/ |
A D | main.rs | 50 let mut p = unsafe { params.0.as_memref().unwrap()}; in random_number_generate() variables 51 let mut buf = vec![0; p.buffer().len() as usize]; in random_number_generate() 52 buf.copy_from_slice(p.buffer()); in random_number_generate() 55 p.buffer().copy_from_slice(&buf); in random_number_generate()
|
/optee_rust/optee-utee/src/ |
A D | crypto_op.rs | 1272 let p: Vec<raw::TEE_Attribute> = params.iter().map(|p| p.raw()).collect(); in encrypt() 1278 p.as_ptr() as _, in encrypt() 1315 let p: Vec<raw::TEE_Attribute> = params.iter().map(|p| p.raw()).collect(); in decrypt() 1321 p.as_ptr() as _, in decrypt() 1364 let p: Vec<raw::TEE_Attribute> = params.iter().map(|p| p.raw()).collect(); in sign_digest() 1369 p.as_ptr() as _, in sign_digest() 1411 let p: Vec<raw::TEE_Attribute> = params.iter().map(|p| p.raw()).collect(); in verify_digest() 1415 p.as_ptr() as _, in verify_digest() 1531 let p: Vec<raw::TEE_Attribute> = params.iter().map(|p| p.raw()).collect(); in derive() 1535 p.as_ptr() as _, in derive()
|
A D | object.rs | 587 let p: Vec<raw::TEE_Attribute> = attrs.iter().map(|p| p.raw()).collect(); in populate() 589 raw::TEE_PopulateTransientObject(self.0.handle(), p.as_ptr() as _, attrs.len() as u32) in populate() 812 let p: Vec<raw::TEE_Attribute> = params.iter().map(|p| p.raw()).collect(); in generate_key() 817 p.as_slice().as_ptr() as _, in generate_key() 818 p.len() as u32, in generate_key()
|
/optee_rust/examples/serde-rs/ta/src/ |
A D | main.rs | 61 let mut p = unsafe { params.0.as_memref().unwrap() }; in invoke_command() variables 62 let mut buffer = p.buffer(); in invoke_command() 70 unsafe { (*p.raw()).size = len as u32 }; in invoke_command()
|
/optee_rust/examples/serde-rs/host/src/ |
A D | main.rs | 36 let p: Point = serde_json::from_slice(&buffer[..updated_size]).unwrap(); in serde() 37 println!("{:?}", p); in serde()
|
/optee_rust/examples/hotp-rs/ta/src/ |
A D | main.rs | 88 let mut p = unsafe { params.0.as_memref().unwrap() }; in register_shared_key() variables 89 let buffer = p.buffer(); in register_shared_key() 107 let mut p = unsafe { params.0.as_value().unwrap() }; in get_hotp() variables 108 p.set_a(hotp_val); in get_hotp()
|
/optee_rust/examples/digest-rs/ta/src/ |
A D | main.rs | 78 let mut p = unsafe { params.0.as_memref().unwrap() }; in update() variables 79 let buffer = p.buffer(); in update()
|
/optee_rust/tests/ |
A D | optee-qemuv8.sh | 33 -device virtio-9p-device,fsdev=fsdev0,mount_tag=host \
|
/optee_rust/docs/ |
A D | getting-started-with-optee-for-qemu-armv8.md | 21 $ mkdir -p ~/bin 55 $ mkdir shared && mount -t 9p -o trans=virtio host shared 100 $ nc -l 127.0.0.1 -p 54320 101 $ nc -l 127.0.0.1 -p 54321
|
/optee_rust/.github/workflows/ |
A D | ci.yml | 75 mkdir -p ~/bin
|
Completed in 18 milliseconds