Home
last modified time | relevance | path

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

/optee_rust/examples/diffie_hellman-rs/ta/src/
A Dmain.rs24 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType};
77 dh.key = TransientObject::allocate(TransientObjectType::DhKeypair, KEY_SIZE).unwrap(); in generate_key()
108 TransientObject::allocate(TransientObjectType::GenericSecret, KEY_SIZE).unwrap(); in derive_key()
/optee_rust/examples/acipher-rs/ta/src/
A Dmain.rs25 use optee_utee::{TransientObject, TransientObjectType};
65 TransientObject::allocate(TransientObjectType::RsaKeypair, key_size as usize).unwrap(); in gen_key()
/optee_rust/examples/hotp-rs/ta/src/
A Dmain.rs24 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType};
120 match TransientObject::allocate(TransientObjectType::HmacSha1, hotp.key_len * 8) { in hmac_sha1()
/optee_rust/examples/aes-rs/ta/src/
A Dmain.rs25 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType};
130 aes.key_object = TransientObject::allocate(TransientObjectType::Aes, aes.key_size * 8).unwrap(); in alloc_resources()
/optee_rust/examples/authentication-rs/ta/src/
A Dmain.rs24 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType};
106 let mut key_object = TransientObject::allocate(TransientObjectType::Aes, KEY_SIZE * 8).unwrap(); in prepare()
/optee_rust/optee-utee/src/
A Dobject.rs414 pub enum TransientObjectType { enum
528 pub fn allocate(object_type: TransientObjectType, max_object_size: usize) -> Result<Self> { in allocate() argument

Completed in 14 milliseconds