File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -684,11 +684,11 @@ pub fn overhead(cipher_meta: CipherMeta) -> usize {
684684
685685/// Slit plaintext__and_tag__and_nonce in (plaintext, tag, nonce)
686686fn split_plaintext_tag_nonce_mut (
687- data : & mut [ u8 ] ,
687+ data : & mut [ u8 ] ,
688688 plaintext_len : usize ,
689689 tag_len : usize ,
690690 nonce_len : usize ,
691- ) -> ( & mut [ u8 ] , & mut [ u8 ] , & mut [ u8 ] ) {
691+ ) -> ( & mut [ u8 ] , & mut [ u8 ] , & mut [ u8 ] ) {
692692 let ( plaintext, tag_and_nonce_and_free) = data. split_at_mut ( plaintext_len) ;
693693 let ( tag, nonce_and_free) = tag_and_nonce_and_free. split_at_mut ( tag_len) ;
694694 let ( nonce, _) = nonce_and_free. split_at_mut ( nonce_len) ;
@@ -697,10 +697,10 @@ fn split_plaintext_tag_nonce_mut(
697697
698698/// Slit plaintext__and_tag__and_nonce in (plaintext_and_tag, nonce)
699699fn split_plaintext_and_tag_nonce_mut (
700- data : & mut [ u8 ] ,
700+ data : & mut [ u8 ] ,
701701 plaintext_and_tag_and_nonce_len : usize ,
702702 nonce_len : usize ,
703- ) -> ( & mut [ u8 ] , & mut [ u8 ] ) {
703+ ) -> ( & mut [ u8 ] , & mut [ u8 ] ) {
704704 let ( plaintext_and_tag, nonce_and_free) =
705705 data. split_at_mut ( plaintext_and_tag_and_nonce_len - nonce_len) ;
706706 let ( nonce, _) = nonce_and_free. split_at_mut ( nonce_len) ;
You can’t perform that action at this time.
0 commit comments