File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -704,7 +704,7 @@ pub enum ControlMessage<'a> {
704
704
ScmCredentials ( & ' a libc:: ucred ) ,
705
705
706
706
/// Set IV for `AF_ALG` crypto API.
707
- /// AF_ALG is only supported on linux and android.
707
+ ///
708
708
/// For further information, please refer to the
709
709
/// [`documentation`](https://kernel.readthedocs.io/en/sphinx-samples/crypto-API.html)
710
710
#[ cfg( any(
@@ -714,17 +714,17 @@ pub enum ControlMessage<'a> {
714
714
AlgSetIv ( & ' a [ u8 ] ) ,
715
715
/// Set crypto operation for `AF_ALG` crypto API. It may be one of
716
716
/// `ALG_OP_ENCRYPT` or `ALG_OP_DECRYPT`
717
- /// AF_ALG is only supported on linux and android.
717
+ ///
718
718
/// For further information, please refer to the
719
719
/// [`documentation`](https://kernel.readthedocs.io/en/sphinx-samples/crypto-API.html)
720
720
#[ cfg( any(
721
721
target_os = "android" ,
722
722
target_os = "linux" ,
723
723
) ) ]
724
724
AlgSetOp ( & ' a libc:: c_int ) ,
725
- /// Set the length of associated authentication data (AAD) (applicable only to AEAD algoritms )
725
+ /// Set the length of associated authentication data (AAD) (applicable only to AEAD algorithms )
726
726
/// for `AF_ALG` crypto API.
727
- /// AF_ALG is only supported on linux and android.
727
+ ///
728
728
/// For further information, please refer to the
729
729
/// [`documentation`](https://kernel.readthedocs.io/en/sphinx-samples/crypto-API.html)
730
730
#[ cfg( any(
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ pub fn test_scm_rights() {
186
186
close ( w) . unwrap ( ) ;
187
187
}
188
188
189
- // Disable the test on emulated platforms due to a lack of support of AF_ALG in QEMU
189
+ // Disable the test on emulated platforms due to not enabled support of AF_ALG in QEMU from rust cross
190
190
#[ cfg_attr( not( any( target_arch = "x86_64" , target_arch = "i686" ) ) , ignore) ]
191
191
#[ cfg( any( target_os = "linux" , target_os= "android" ) ) ]
192
192
#[ test]
@@ -250,7 +250,7 @@ pub fn test_af_alg_cipher() {
250
250
assert_eq ! ( decrypted, payload) ;
251
251
}
252
252
253
- // Disable the test on emulated platforms due to a lack of support of AF_ALG in QEMU
253
+ // Disable the test on emulated platforms due to not enabled support of AF_ALG in QEMU from rust cross
254
254
#[ cfg_attr( not( any( target_arch = "x86_64" , target_arch = "i686" ) ) , ignore) ]
255
255
#[ cfg( any( target_os = "linux" , target_os= "android" ) ) ]
256
256
#[ test]
You can’t perform that action at this time.
0 commit comments