提交 b63698b7 编写于 作者: D Dr. Stephen Henson

Don't use vpaes in fips builds and exclude from restricted tarball.

上级 8ca28da0
...@@ -1552,6 +1552,7 @@ if ($aes_obj =~ /\.o$/) ...@@ -1552,6 +1552,7 @@ if ($aes_obj =~ /\.o$/)
# module implements AES_ctr32_encrypt... # module implements AES_ctr32_encrypt...
$cflags.=" -DAES_CTR_ASM" if ($aes_obj =~ s/\s*aes_ctr\.o//); $cflags.=" -DAES_CTR_ASM" if ($aes_obj =~ s/\s*aes_ctr\.o//);
$aes_obj =~ s/\s*(vpaes|aesni)\-x86\.o// if ($no_sse2); $aes_obj =~ s/\s*(vpaes|aesni)\-x86\.o// if ($no_sse2);
$aes_obj =~ s/\s*vpaes-\w*\.o// if ($fipscanisterinternal eq "y");
$cflags.=" -DVPAES_ASM" if ($aes_obj =~ m/vpaes/); $cflags.=" -DVPAES_ASM" if ($aes_obj =~ m/vpaes/);
} }
else { else {
......
...@@ -66,6 +66,7 @@ while (<STDIN>) ...@@ -66,6 +66,7 @@ while (<STDIN>)
next if -d "crypto/$1" && !exists $cdirs{$1}; next if -d "crypto/$1" && !exists $cdirs{$1};
# Skip GF2m assembly language perl scripts # Skip GF2m assembly language perl scripts
next if $noec2m && /gf2m\.pl/; next if $noec2m && /gf2m\.pl/;
next if /vpaes-\w*\.pl/;
# Keep assembly language dir, Makefile or certain extensions # Keep assembly language dir, Makefile or certain extensions
if (!/\/asm\// && !/\/Makefile$/ && !/\.(in|pl|h|S)$/) if (!/\/asm\// && !/\/Makefile$/ && !/\.(in|pl|h|S)$/)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册