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