Searched refs:ZVec (Results 1 – 5 of 5) sorted by relevance
23 use keystore2_crypto::ZVec;120 pub fn get_sealing_key(&self, identifier: &[u8], key_length: usize) -> Result<ZVec> { in get_sealing_key() argument124 let mut key = ZVec::new(key_length)?; in get_sealing_key()
25 use keystore2_crypto::ZVec;72 V2 { dice_artifacts: OwnedDiceArtifactsWithExplicitKey, skp_secret: ZVec },125 skp_secret: ZVec::try_from(skp_secret.to_vec())?, in new()
41 use keystore2_crypto::ZVec;728 let mut key = ZVec::new(ENCRYPTEDSTORE_KEYSIZE)?; in prepare_encryptedstore()
327 pub fn ec_private_key(&self) -> Result<ZVec> { in ec_private_key() argument529 pub struct ZVec(Vec<u8>); struct531 impl ZVec { impl538 impl From<Vec<u8>> for ZVec { implementation
43 pub use ec_key::{EcKey, ZVec};