Lines Matching +full:short +full:- +full:descriptor
2 # SPDX-License-Identifier: GPL-2.0
4 # extract-mod-sig <part> <module-file>
9 # -0: The unsigned module, no signature data at all
10 # -a: All of the signature data, including magic number
11 # -d: Just the descriptor values as a sequence of numbers
12 # -n: Just the signer's name
13 # -k: Just the key ID
14 # -s: Just the crypto signature or PKCS#7 message
19 die "Format: $0 -[0adnks] module-file >out\n"
37 die "Short read on $modfile\n" unless ($len == $st[7]);
42 die "The file is too short to have a sig magic number and descriptor\n"
48 my $p = $len - length($magic_number);
55 $p -= 12;
77 $p -= $sig_len;
79 $p -= $kid_len;
81 $p -= $name_len;
111 if ($part eq "-0") {
115 } elsif ($part eq "-a") {
119 } elsif ($part eq "-d") {
120 # Just the descriptor values as a sequence of numbers
122 } elsif ($part eq "-n") {
128 } elsif ($part eq "-k") {
134 } elsif ($part eq "-s") {