#!/bin/bash

# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Load common constants and functions.
. "$(dirname "$0")/common_leverage_hammer.sh"

main() {
  set -e

  leverage_hammer_to_create_key "whiskers" "$@"
}

main "$@"

Add script to generate keypair for signing FW
whiskers: Add script to generate keypair for signing FW

Whiskers decided to leverage the key format of Hammer therefore this
script calls Hammer's one to generate a key pair and renames them to
key_whiskers*.

BUG=b:78254017
TEST=Run this script in the chroot and verify the generated key pair.
BRANCH=None

Change-Id: Iae7097a3b2da1b134fa1a986c669704bbbaca4e9
Reviewed-on: https://chromium-review.googlesource.com/1018591
Commit-Ready: Patrick Berny <1b893f69cc6232d24cedf099f60497e30e3b6bbb@chromium.org>
Tested-by: Patrick Berny <1b893f69cc6232d24cedf099f60497e30e3b6bbb@chromium.org>
Reviewed-by: Jason Clinton <903dc7ec7b1e0549bc200a3278469a1b3add1d8d@chromium.org>
Reviewed-by: Bob Moragues <f5049d5b5df4f96d121308a63d9e3c0dfa5ed2dc@chromium.org>
