Searched refs:TransientObject (Results 1 – 7 of 7) sorted by relevance
/optee_rust/examples/diffie_hellman-rs/ta/src/ |
A D | main.rs | 24 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType}; 29 pub key: TransientObject, 35 key: TransientObject::null_object(), in default() 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 D | main.rs | 25 use optee_utee::{TransientObject, TransientObjectType}; 29 pub key: TransientObject, 35 key: TransientObject::null_object(), in default() 65 TransientObject::allocate(TransientObjectType::RsaKeypair, key_size as usize).unwrap(); in gen_key()
|
/optee_rust/examples/aes-rs/ta/src/ |
A D | main.rs | 25 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType}; 33 pub key_object: TransientObject, 41 key_object: TransientObject::null_object(), in default() 130 aes.key_object = TransientObject::allocate(TransientObjectType::Aes, aes.key_size * 8).unwrap(); in alloc_resources()
|
/optee_rust/examples/hotp-rs/ta/src/ |
A D | main.rs | 24 use optee_utee::{AttributeId, AttributeMemref, TransientObject, TransientObjectType}; 120 match TransientObject::allocate(TransientObjectType::HmacSha1, hotp.key_len * 8) { in hmac_sha1()
|
/optee_rust/examples/authentication-rs/ta/src/ |
A D | main.rs | 24 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 D | object.rs | 485 pub struct TransientObject(ObjectHandle); struct 487 impl TransientObject { impls 827 impl ObjHandle for TransientObject { implementation 833 impl Drop for TransientObject { implementation
|
A D | crypto_op.rs | 18 use crate::{Attribute, Error, ObjHandle, Result, TransientObject}; 1530 pub fn derive(&self, params: &[Attribute], object: &mut TransientObject) { in derive() argument
|
Completed in 13 milliseconds