Home
last modified time | relevance | path

Searched refs:block (Results 1 – 8 of 8) sorted by relevance

/webrtc/dtls/src/crypto/
H A Dpadding.rs6 fn pad_block(block: &mut [u8], pos: usize) -> Result<(), PadError> { in pad_block()
7 if pos == block.len() { in pad_block()
11 let padding_length = block.len() - pos - 1; in pad_block()
16 set(&mut block[pos..], padding_length as u8); in pad_block()
64 let original = block[0..original_length].to_vec(); in padding_length_is_amount_of_bytes_excluding_the_padding_length_itself()
67 for byte in block[original_length..].iter() { in padding_length_is_amount_of_bytes_excluding_the_padding_length_itself()
70 assert_eq!(block[0..original_length], original); in padding_length_is_amount_of_bytes_excluding_the_padding_length_itself()
80 let mut block = vec![0; original_length]; in full_block_is_padding_error() localVariable
113 let mut block = vec![0; padding_length + 1]; in one_of_the_padding_bytes_with_value_different_than_padding_length_is_unpadding_error() localVariable
114 DtlsPadding::pad_block(&mut block, 0).unwrap(); in one_of_the_padding_bytes_with_value_different_than_padding_length_is_unpadding_error()
[all …]
/webrtc/constraints/src/algorithms/fitness_distance/value_range_constraint/
H A Dtests.rs56 validate: |$a:ident| $b:block
88 validate: |$a:ident| $b:block
131 validate: |$ai:ident, $ei:ident| $b:block
/webrtc/constraints/src/algorithms/fitness_distance/value_sequence_constraint/
H A Dtests.rs56 validate: |$a:ident| $b:block
88 validate: |$a:ident| $b:block
131 validate: |$ai:ident, $ei:ident| $b:block
/webrtc/constraints/src/algorithms/fitness_distance/value_constraint/
H A Dtests.rs56 validate: |$a:ident| $b:block
88 validate: |$a:ident| $b:block
131 validate: |$ai:ident, $ei:ident| $b:block
/webrtc/srtp/src/
H A Dkey_derivation.rs46 let block = Aes128::new(key); in aes_cm_key_derivation() localVariable
56 block.encrypt_block(out_key); in aes_cm_key_derivation()
/webrtc/dtls/
H A DCargo.toml29 block-modes = "0.7.0"
/webrtc/examples/examples/broadcast/
H A DREADME.md5 This could serve as the building block to building conferencing software, and other applications wh…
/webrtc/
H A DCargo.lock376 name = "block-buffer"
385 name = "block-modes"
390 "block-padding",
395 name = "block-padding"
787 "block-buffer",
2702 "block-modes",