@@ -600,14 +600,13 @@ pub fn test_af_alg_cipher() {
600
600
ControlMessage , MsgFlags } ;
601
601
use nix:: sys:: socket:: sockopt:: AlgSetKey ;
602
602
603
- skip_if_cirrus ! ( "Fails for an unknown reason Cirrus CI. Bug #TODO " ) ;
603
+ skip_if_cirrus ! ( "Fails for an unknown reason Cirrus CI. Bug #1352 " ) ;
604
604
// Travis's seccomp profile blocks AF_ALG
605
605
// https://docs.docker.com/engine/security/seccomp/
606
606
skip_if_seccomp ! ( test_af_alg_cipher) ;
607
607
608
608
let alg_type = "skcipher" ;
609
609
let alg_name = "ctr-aes-aesni" ;
610
- //let alg_name = "ctr(aes)";
611
610
// 256-bits secret key
612
611
let key = vec ! [ 0u8 ; 32 ] ;
613
612
// 16-bytes IV
@@ -670,20 +669,16 @@ pub fn test_af_alg_aead() {
670
669
ControlMessage , MsgFlags } ;
671
670
use nix:: sys:: socket:: sockopt:: { AlgSetKey , AlgSetAeadAuthSize } ;
672
671
673
- skip_if_cirrus ! ( "Fails for an unknown reason Cirrus CI. Bug #TODO " ) ;
672
+ skip_if_cirrus ! ( "Fails for an unknown reason Cirrus CI. Bug #1352 " ) ;
674
673
// Travis's seccomp profile blocks AF_ALG
675
674
// https://docs.docker.com/engine/security/seccomp/
676
675
skip_if_seccomp ! ( test_af_alg_aead) ;
677
676
678
- let crypto = std:: fs:: read_to_string ( "/proc/crypto" ) . unwrap ( ) ;
679
- print ! ( "{}" , crypto) ;
680
-
681
677
let auth_size = 4usize ;
682
678
let assoc_size = 16u32 ;
683
679
684
680
let alg_type = "aead" ;
685
- let alg_name = "generic-gcm-aesni" ;
686
- //let alg_name = "gcm(aes)";
681
+ let alg_name = "gcm(aes)" ;
687
682
// 256-bits secret key
688
683
let key = vec ! [ 0u8 ; 32 ] ;
689
684
// 12-bytes IV
0 commit comments