libkcapi/SOURCES/sha512hmac-openssl.sh

7 lines
156 B
Bash
Raw Normal View History

2020-11-03 11:46:10 +00:00
#!/bin/bash
# Mocks sha512hmac using the openssl tool.
# Only for use during RPM build.
openssl sha512 -hmac FIPS-FTW-RHT2009 -hex "$1" | cut -f 2 -d ' '