source code error in fips/aes/asm/fips-ax86-elf.s in 0.9.7i fips build ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

source code error in fips/aes/asm/fips-ax86-elf.s in 0.9.7i fips build ?

Tinnerello, Richard
source code error in fips/aes/asm/fips-ax86-elf.s in 0.9.7i fips build ?

Hello,
There seems to be a source code syntax error in fips/aes/asm/fips-ax86-elf.s in 0.9.7i that causes the build to fail on our Solaris 10 Opteron system:

gcc -c   -o asm/fips-ax86-elf.o asm/fips-ax86-elf.s
Assembler: aes-586.s
        "asm/fips-ax86-elf.s", line 432 : Syntax error
        Near line: "    .long   27,54,0,0,"

The error seems to be the trailing "," after the last 0 on line 432. Unfortunately, I cannot fix the error, because when I do then the FIPS hash check fails:

/bin/perl ../util/checkhash.pl
Hash check failed for file aes/asm/fips-ax86-elf.s
FATAL: hash mismatch on 1 files
*** Your source code does not match the FIPS validated source ***

So, is there a way to create a new hash to match the changed source? Or is there a way to safely turn off the x86 AES code to avoid the compiler error?

Oddly, I was able to build this identical distribution on our RedHat 7.1 Intel machine with gcc, I guess it's a more tolerant gcc version there.

Thanks for any suggestions.
Richard