1 #!/bin/bash 2 3 . "$(dirname "$0")/common.sh" 4 5 FKEY_VERSION=$1 6 7 pushd /var/tmp/faft/autest/keys 8 9 make_pair "firmware_data_key" $FIRMWARE_DATAKEY_ALGOID $FKEY_VERSION 10 make_pair "dev_firmware_data_key" $DEV_FIRMWARE_DATAKEY_ALGOID $FKEY_VERSION 11 12 make_keyblock "firmware" $FIRMWARE_KEYBLOCK_MODE "firmware_data_key" "root_key" 13 make_keyblock "dev_firmware" $DEV_FIRMWARE_KEYBLOCK_MODE \ 14 "dev_firmware_data_key" "root_key" 15 16 popd 17