Home
last modified time | relevance | path

Searched refs:in_out_len (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/ring/src/aead/
Dshift.rs24 let in_out_len = in_out.len().checked_sub(in_prefix_len).unwrap(); localVariable
26 for i in (0..in_out_len).step_by(BLOCK_LEN) {
41 let (block, in_out_len) = { in shift_partial()
43 let in_out_len = input.len(); in shift_partial() localVariable
44 if in_out_len == 0 { in shift_partial()
47 debug_assert!(in_out_len < BLOCK_LEN); in shift_partial()
48 (transform(input), in_out_len) in shift_partial()
50 in_out[..in_out_len].copy_from_slice(&block.as_ref()[..in_out_len]); in shift_partial()
Daes.rs98 let in_out_len = in_out.len().checked_sub(in_prefix_len).unwrap(); in ctr32_encrypt_blocks_() localVariable
99 assert_eq!(in_out_len % BLOCK_LEN, 0); in ctr32_encrypt_blocks_()
101 let blocks = in_out_len / BLOCK_LEN; in ctr32_encrypt_blocks_()
210 let in_out_len = in_out.len().checked_sub(in_prefix_len).unwrap(); in ctr32_encrypt_blocks() localVariable
212 assert_eq!(in_out_len % BLOCK_LEN, 0); in ctr32_encrypt_blocks()
233 let in_out = if in_out_len >= 8 * BLOCK_LEN { in ctr32_encrypt_blocks()
234 let remainder = in_out_len % (8 * BLOCK_LEN); in ctr32_encrypt_blocks()
236 in_out_len - remainder in ctr32_encrypt_blocks()
238 in_out_len in ctr32_encrypt_blocks()
Dchacha.rs99 in_out_len: usize, in encrypt()
105 assert!(in_out_len <= 32); in encrypt()
122 GFp_ChaCha20_ctr32(output, input, in_out_len, self, &iv); in encrypt()
Daes_gcm.rs129 let in_out_len = in_out.len() - in_prefix_len; in aead() localVariable
132 let whole_len = in_out_len - (in_out_len % BLOCK_LEN); in aead()
Dchacha20_poly1305.rs98 let in_out_len = match direction { in aead() localVariable
114 LittleEndian::from(polyfill::u64_from_usize(in_out_len)), in aead()
/external/rust/crates/ring/src/
Daead.rs654 fn check_per_nonce_max_bytes(alg: &Algorithm, in_out_len: usize) -> Result<(), error::Unspecified> { in check_per_nonce_max_bytes()
655 if polyfill::u64_from_usize(in_out_len) > alg.max_input_len { in check_per_nonce_max_bytes()
/external/rust/crates/quiche/src/
Dcrypto.rs256 let in_out_len = in seal_with_u64_counter() localVariable
259 let (in_out, tag_out) = buf.split_at_mut(in_out_len); in seal_with_u64_counter()