File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ pub fn slice_to_be32(v: &[u8]) -> u32 {
10
10
( ( v[ 2 ] as u32 ) << 8 * 1 ) |
11
11
( ( v[ 3 ] as u32 ) << 8 * 0 )
12
12
}
13
+ #[ cfg( not( feature = "fuzztarget" ) ) ] // Used only by poly1305
13
14
#[ inline]
14
15
pub fn slice_to_le32 ( v : & [ u8 ] ) -> u32 {
15
16
( ( v[ 0 ] as u32 ) << 8 * 0 ) |
@@ -54,6 +55,7 @@ pub fn be32_to_array(u: u32) -> [u8; 4] {
54
55
v[ 3 ] = ( ( u >> 8 * 0 ) & 0xff ) as u8 ;
55
56
v
56
57
}
58
+ #[ cfg( not( feature = "fuzztarget" ) ) ] // Used only by poly1305
57
59
#[ inline]
58
60
pub fn le32_to_array ( u : u32 ) -> [ u8 ; 4 ] {
59
61
let mut v = [ 0 ; 4 ] ;
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ pub mod ser;
6
6
7
7
pub ( crate ) mod byte_utils;
8
8
pub ( crate ) mod chacha20;
9
+ #[ cfg( not( feature = "fuzztarget" ) ) ]
9
10
pub ( crate ) mod poly1305;
10
11
pub ( crate ) mod chacha20poly1305rfc;
11
12
pub ( crate ) mod internal_traits;
You can’t perform that action at this time.
0 commit comments