Home
last modified time | relevance | path

Searched refs:set_key (Results 1 – 7 of 7) sorted by relevance

/optee_rust/examples/aes-rs/host/src/
A Dmain.rs46 fn set_key(session: &mut Session, key: &[u8]) -> optee_teec::Result<()> { in set_key() function
92 set_key(&mut session, &key)?; in main()
105 set_key(&mut session, &key)?; in main()
/optee_rust/optee-utee/src/
A Dcrypto_op.rs215 fn set_key<T: ObjHandle>(&self, object: &T) -> Result<()> { in set_key() method
693 pub fn set_key<T: ObjHandle>(&self, object: &T) -> Result<()> { in set_key() method
694 self.0.set_key(object) in set_key()
915 pub fn set_key<T: ObjHandle>(&self, object: &T) -> Result<()> { in set_key() method
916 self.0.set_key(object) in set_key()
1198 pub fn set_key<T: ObjHandle>(&self, object: &T) -> Result<()> { in set_key() method
1199 self.0.set_key(object) in set_key()
1452 pub fn set_key<T: ObjHandle>(&self, object: &T) -> Result<()> { in set_key() method
1453 self.0.set_key(object) in set_key()
1568 pub fn set_key<T: ObjHandle>(&self, object: &T) -> Result<()> { in set_key() method
[all …]
/optee_rust/examples/acipher-rs/ta/src/
A Dmain.rs94 cipher.set_key(&rsa.key)?; in encrypt()
115 cipher.set_key(&rsa.key)?; in decrypt()
/optee_rust/examples/aes-rs/ta/src/
A Dmain.rs134 aes.cipher.set_key(&aes.key_object)?; in alloc_resources()
152 aes.cipher.set_key(&aes.key_object)?; in set_aes_key()
/optee_rust/examples/diffie_hellman-rs/ta/src/
A Dmain.rs106 operation.set_key(&dh.key)?; in derive_key()
/optee_rust/examples/hotp-rs/ta/src/
A Dmain.rs128 mac.set_key(&key_object)?; in hmac_sha1()
/optee_rust/examples/authentication-rs/ta/src/
A Dmain.rs109 ae.op.set_key(&key_object)?; in prepare()

Completed in 11 milliseconds