Lines Matching refs:update
449 /// let mut count = encrypter.update(plaintexts[0], &mut ciphertext).unwrap();
450 /// count += encrypter.update(plaintexts[1], &mut ciphertext[count..]).unwrap();
474 /// let mut count = decrypter.update(ciphertexts[0], &mut plaintext).unwrap();
475 /// count += decrypter.update(ciphertexts[1], &mut plaintext[count..]).unwrap();
561 /// `update`.
581 pub fn update(&mut self, input: &[u8], output: &mut [u8]) -> Result<usize, ErrorStack> {
590 /// `update` should not be called after this method.
700 let count = c.update(data, &mut out)?;
734 let count = c.update(data, &mut out)?;
765 let count = c.update(data, &mut out)?;
818 assert_eq!(c.update(&[0u8; 15], &mut [0u8; 15]).unwrap(), 15);
819 assert_eq!(c.update(&[0u8; 1], &mut [0u8; 1]).unwrap(), 1);
849 let count = c.update(&p0, &mut r0).unwrap();
863 let count = c.update(&r0, &mut p1).unwrap();
893 let count = cr.update(&ciphered_data, &mut unciphered_data).unwrap();
936 let count = c.update(&ct, &mut out).unwrap();
1622 let count = c.update(&pt, &mut r).unwrap();
1628 c.update(&r[..block_size], &mut r1).unwrap();