File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 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> {
704704 ScmCredentials ( & ' a libc:: ucred ) ,
705705
706706 /// Set IV for `AF_ALG` crypto API.
707- /// AF_ALG is only supported on linux and android.
707+ ///
708708 /// For further information, please refer to the
709709 /// [`documentation`](https://kernel.readthedocs.io/en/sphinx-samples/crypto-API.html)
710710 #[ cfg( any(
@@ -714,17 +714,17 @@ pub enum ControlMessage<'a> {
714714 AlgSetIv ( & ' a [ u8 ] ) ,
715715 /// Set crypto operation for `AF_ALG` crypto API. It may be one of
716716 /// `ALG_OP_ENCRYPT` or `ALG_OP_DECRYPT`
717- /// AF_ALG is only supported on linux and android.
717+ ///
718718 /// For further information, please refer to the
719719 /// [`documentation`](https://kernel.readthedocs.io/en/sphinx-samples/crypto-API.html)
720720 #[ cfg( any(
721721 target_os = "android" ,
722722 target_os = "linux" ,
723723 ) ) ]
724724 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 )
726726 /// for `AF_ALG` crypto API.
727- /// AF_ALG is only supported on linux and android.
727+ ///
728728 /// For further information, please refer to the
729729 /// [`documentation`](https://kernel.readthedocs.io/en/sphinx-samples/crypto-API.html)
730730 #[ cfg( any(
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ pub fn test_scm_rights() {
186186 close ( w) . unwrap ( ) ;
187187}
188188
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
190190#[ cfg_attr( not( any( target_arch = "x86_64" , target_arch = "i686" ) ) , ignore) ]
191191#[ cfg( any( target_os = "linux" , target_os= "android" ) ) ]
192192#[ test]
@@ -250,7 +250,7 @@ pub fn test_af_alg_cipher() {
250250 assert_eq ! ( decrypted, payload) ;
251251}
252252
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
254254#[ cfg_attr( not( any( target_arch = "x86_64" , target_arch = "i686" ) ) , ignore) ]
255255#[ cfg( any( target_os = "linux" , target_os= "android" ) ) ]
256256#[ test]
You can’t perform that action at this time.
0 commit comments