Debian Codegraph @

3rdparty/vboot/scripts/keygeneration/uefi/create_new_crdyshim_key.sh

raw symbols SCIP
1 #!/bin/bash
2
3 # Copyright 2024 The ChromiumOS Authors
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # Load common constants and functions.
8 # shellcheck source=../common.sh
9 . "$(dirname "$0")/../common.sh"
10
11
12 if [ $# -ne 1 ]; then
13 cat <<EOF
14 Usage: $0 <out_dir>
15
16 Output: <out_dir>/crdyshim.priv.pem and <out_dir>/crdyshim.pub.pem
17 EOF
18 exit 1
19 fi
20
21 out_dir=$1
22 generate_ed25519_key "${out_dir}/crdyshim"