Home
last modified time | relevance | path

Searched refs:generate_key (Results 1 – 4 of 4) sorted by relevance

/optee_rust/examples/diffie_hellman-rs/host/src/
A Dmain.rs22 fn generate_key(session: &mut Session) -> Result<(Vec<u8>, Vec<u8>)> { in generate_key() function
72 let (mut key0_public, key0_private) = generate_key(&mut session).unwrap(); in main()
73 let (key1_public, key1_private) = generate_key(&mut session).unwrap(); in main()
/optee_rust/examples/diffie_hellman-rs/ta/src/
A Dmain.rs62 fn generate_key(dh: &mut DiffieHellman, params: &mut Parameters) -> Result<()> { in generate_key() function
82 .generate_key(KEY_SIZE, &[attr_prime.into(), attr_base.into()])?; in generate_key()
128 return generate_key(sess_ctx, params); in invoke_command()
/optee_rust/examples/acipher-rs/ta/src/
A Dmain.rs66 rsa.key.generate_key(key_size as usize, &[])?; in gen_key()
/optee_rust/optee-utee/src/
A Dobject.rs811 pub fn generate_key(&self, key_size: usize, params: &[Attribute]) -> Result<()> { in generate_key() method

Completed in 7 milliseconds