Lines Matching refs:from
221 pub fn encrypt(&self, from: &[u8], to: &mut [u8]) -> Result<usize, ErrorStack> {
228 from.as_ptr(),
229 from.len(),
241 pub fn encrypt_len(&self, from: &[u8]) -> Result<usize, ErrorStack> {
248 from.as_ptr(),
249 from.len(),
440 pub fn decrypt(&self, from: &[u8], to: &mut [u8]) -> Result<usize, ErrorStack> {
447 from.as_ptr(),
448 from.len(),
460 pub fn decrypt_len(&self, from: &[u8]) -> Result<usize, ErrorStack> {
467 from.as_ptr(),
468 from.len(),