Blame SOURCES/fipshmac-openssl.sh

0aea10
#!/bin/bash
0aea10
0aea10
# Mocks fipshmac using the openssl tool.
0aea10
# Only for use during RPM build.
0aea10
0aea10
[ "$1" = '-d' ] || exit 1
0aea10
0aea10
openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP -hex "$3" | cut -f 2 -d ' ' \
0aea10
	>"$2/$(basename "$3").hmac"