Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (13 sloc) 0.344 kb
#!/bin/bash
BINARY_NAME=$1
MAKE_FIPS_BINARY()
{
openssl dgst -sha256 -hmac 12345678 -binary -out \
$BINARY_NAME.hmac $BINARY_NAME
cat $BINARY_NAME $BINARY_NAME.hmac > $BINARY_NAME.digest
cp -f $BINARY_NAME.digest $BINARY_NAME
rm -f $BINARY_NAME.digest $BINARY_NAME.hmac
}
echo "Make kernel fips binary.."
MAKE_FIPS_BINARY
echo "Done."
Jump to Line
Something went wrong with that request. Please try again.