Blame SOURCES/fipshmac-openssl.sh

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