Home
last modified time | relevance | path

Searched refs:from_ref (Results 1 – 5 of 5) sorted by relevance

/optee_rust/examples/diffie_hellman-rs/ta/src/
A Dmain.rs73 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()
101 let received_public = AttributeMemref::from_ref(AttributeId::DhPublicValue, p0.buffer()); in derive_key()
/optee_rust/examples/aes-rs/ta/src/
A Dmain.rs132 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/examples/hotp-rs/ta/src/
A Dmain.rs126 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, &tmp_key); in hmac_sha1()
/optee_rust/examples/authentication-rs/ta/src/
A Dmain.rs107 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, key); in prepare()
/optee_rust/optee-utee/src/
A Dobject.rs91 pub fn from_ref(id: AttributeId, buffer: &'attrref [u8]) -> Self { in from_ref() method

Completed in 7 milliseconds