Home
last modified time | relevance | path

Searched refs:AttributeMemref (Results 1 – 6 of 6) sorted by relevance

/optee_rust/examples/diffie_hellman-rs/ta/src/
A Dmain.rs29 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType};
78 let attr_prime = AttributeMemref::from_ref(AttributeId::DhPrime, prime_slice); in generate_key()
79 let attr_base = AttributeMemref::from_ref(AttributeId::DhBase, base_slice); in generate_key()
106 let received_public = AttributeMemref::from_ref(AttributeId::DhPublicValue, p0.buffer()); in derive_key()
/optee_rust/examples/signature_verification-rs/ta/src/
A Dmain.rs28 use optee_utee::{AlgorithmId, AttributeId, AttributeMemref, Digest, Asymmetric, OperationMode};
138 let mod_attr = AttributeMemref::from_ref(AttributeId::RsaModulus, &pub_key_mod); in verify()
139 let exp_attr = AttributeMemref::from_ref(AttributeId::RsaPublicExponent, &pub_key_exp); in verify()
/optee_rust/examples/aes-rs/ta/src/
A Dmain.rs31 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType};
137 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, &key); in alloc_resources()
152 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, &key); in set_aes_key()
/optee_rust/examples/hotp-rs/ta/src/
A Dmain.rs29 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType};
131 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, &tmp_key); in hmac_sha1()
/optee_rust/optee-utee/src/
A Dobject.rs41 impl<'attrref> From<AttributeMemref<'attrref>> for Attribute {
42 fn from(attr: AttributeMemref) -> Self { in from()
56 pub struct AttributeMemref<'attrref> { struct
61 impl<'attrref> AttributeMemref<'attrref> { implementation
96 let mut res = AttributeMemref::new_ref(); in from_ref()
/optee_rust/examples/authentication-rs/ta/src/
A Dmain.rs30 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType};
113 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, key); in prepare()

Completed in 26 milliseconds