Searched refs:AttributeId (Results 1 – 5 of 5) sorted by relevance
/optee_rust/examples/diffie_hellman-rs/ta/src/ |
A D | main.rs | 24 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType}; 73 let attr_prime = AttributeMemref::from_ref(AttributeId::DhPrime, prime_slice); in generate_key() 74 let attr_base = AttributeMemref::from_ref(AttributeId::DhBase, base_slice); in generate_key() 85 .ref_attribute(AttributeId::DhPublicValue, &mut public_buffer) in generate_key() 90 .ref_attribute(AttributeId::DhPrivateValue, &mut private_buffer) in generate_key() 101 let received_public = AttributeMemref::from_ref(AttributeId::DhPublicValue, p0.buffer()); in derive_key() 111 .ref_attribute(AttributeId::SecretValue, p1.buffer()) in derive_key()
|
/optee_rust/examples/aes-rs/ta/src/ |
A D | main.rs | 25 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType}; 132 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, &key); in alloc_resources() 147 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, &key); in set_aes_key()
|
/optee_rust/optee-utee/src/ |
A D | object.rs | 91 pub fn from_ref(id: AttributeId, buffer: &'attrref [u8]) -> Self { in from_ref() argument 138 pub fn from_value(id: AttributeId, a: u32, b: u32) -> Self { in from_value() argument 242 fn ref_attribute(&self, id: AttributeId, buffer: &mut [u8]) -> Result<usize> { in ref_attribute() argument 359 pub enum AttributeId { enum 688 pub fn ref_attribute(&self, id: AttributeId, buffer: &mut [u8]) -> Result<usize> { in ref_attribute() argument 1141 pub fn ref_attribute(&self, id: AttributeId, buffer: &mut [u8]) -> Result<usize> { in ref_attribute() argument
|
/optee_rust/examples/hotp-rs/ta/src/ |
A D | main.rs | 24 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType}; 126 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, &tmp_key); in hmac_sha1()
|
/optee_rust/examples/authentication-rs/ta/src/ |
A D | main.rs | 24 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType}; 107 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, key); in prepare()
|
Completed in 10 milliseconds