Blame SOURCES/fipshmac-openssl.sh

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