Searched refs:generate_aes256_key (Results 1 – 3 of 3) sorted by relevance
51 pub fn generate_aes256_key() -> Result<ZVec, Error> { in generate_aes256_key() function488 let key = generate_aes256_key().unwrap(); in test_wrapper_roundtrip()
44 aes_gcm_decrypt, aes_gcm_encrypt, generate_aes256_key, generate_salt, Password, ZVec,754 (generate_aes256_key().context(ks_err!("Failed to generate AES-256 key."))?, None) in create_super_key()896 let encrypting_key = generate_aes256_key()?; in lock_unlocked_device_required_keys()1156 generate_aes256_key().context(ks_err!("Failed to generate AES 256 key."))?; in init_user()
4997 let super_key = keystore2_crypto::generate_aes256_key()?; in test_unbind_keys_for_user_removes_superkeys()5085 let super_key = keystore2_crypto::generate_aes256_key()?; in test_unbind_auth_bound_keys_for_user()5139 let super_key = keystore2_crypto::generate_aes256_key()?; in test_store_super_key()