Lines Matching refs:u8
163 pub fn aes_gcm_decrypt(&self, data: &[u8], iv: &[u8], tag: &[u8]) -> Result<ZVec> { in aes_gcm_decrypt() argument
178 nonce: Vec<u8>,
179 ciphertext: Vec<u8>, // with tag appended
183 fn new(key: &[u8], to_encrypt: &Arc<SuperKey>) -> Result<Self> { in new() argument
436 blob: &'a [u8], in unwrap_key_if_required() argument
456 fn unwrap_key_with_key(blob: &[u8], metadata: &BlobMetaData, key: &SuperKey) -> Result<ZVec> { in unwrap_key_with_key() argument
661 super_key: &[u8], in encrypt_with_password() argument
663 ) -> Result<(Vec<u8>, BlobMetaData)> { in encrypt_with_password() argument
687 key_blob: &[u8], in super_encrypt_on_key_init() argument
688 ) -> Result<(Vec<u8>, BlobMetaData)> { in super_encrypt_on_key_init() argument
708 key_blob: &[u8], in encrypt_with_aes_super_key() argument
710 ) -> Result<(Vec<u8>, BlobMetaData)> { in encrypt_with_aes_super_key() argument
735 key_blob: &[u8], in handle_super_encryption_on_key_init() argument
736 ) -> Result<(Vec<u8>, BlobMetaData)> { in handle_super_encryption_on_key_init() argument
801 key_after_upgrade: &'a [u8], in reencrypt_if_required() argument
1198 NonSensitive(Vec<u8>),
1199 Ref(&'a [u8]),
1214 type Target = [u8];