Home
last modified time | relevance | path

Searched refs:signing_key (Results 1 – 10 of 10) sorted by relevance

/external/vboot_reference/host/lib/
Dhost_common.c21 const VbPrivateKey *signing_key, in CreateFirmwarePreamble() argument
28 uint64_t block_size = signed_size + siglen_map[signing_key->algorithm]; in CreateFirmwarePreamble()
62 siglen_map[signing_key->algorithm], signed_size); in CreateFirmwarePreamble()
65 sigtmp = CalculateSignature((uint8_t *)h, signed_size, signing_key); in CreateFirmwarePreamble()
83 const VbPrivateKey *signing_key) in CreateKernelPreamble() argument
88 uint64_t block_size = signed_size + siglen_map[signing_key->algorithm]; in CreateKernelPreamble()
124 siglen_map[signing_key->algorithm], signed_size); in CreateKernelPreamble()
127 sigtmp = CalculateSignature((uint8_t *)h, signed_size, signing_key); in CreateKernelPreamble()
Dhost_keyblock.c16 const VbPrivateKey* signing_key, in KeyBlockCreate() argument
22 (signing_key ? in KeyBlockCreate()
23 siglen_map[signing_key->algorithm] : 0)); in KeyBlockCreate()
50 if (signing_key) in KeyBlockCreate()
52 siglen_map[signing_key->algorithm], signed_size); in KeyBlockCreate()
62 if (signing_key) { in KeyBlockCreate()
63 sigtmp = CalculateSignature((uint8_t*)h, signed_size, signing_key); in KeyBlockCreate()
/external/vboot_reference/futility/
Dcmd_vbutil_keyblock.c86 VbPrivateKey *signing_key = NULL; in Pack() local
120 signing_key = in Pack()
122 if (!signing_key) { in Pack()
127 block = KeyBlockCreate(data_key, signing_key, flags); in Pack()
131 signing_key = PrivateKeyRead(signprivate); in Pack()
132 if (!signing_key) { in Pack()
138 block = KeyBlockCreate(data_key, signing_key, flags); in Pack()
142 if (signing_key) in Pack()
143 free(signing_key); in Pack()
Dcmd_vbutil_firmware.c84 VbPrivateKey *signing_key; in Vblock() local
116 signing_key = PrivateKeyRead(signprivate); in Vblock()
117 if (!signing_key) { in Vblock()
136 body_sig = CalculateSignature(fv_data, fv_size, signing_key); in Vblock()
147 signing_key, preamble_flags); in Vblock()
/external/vboot_reference/host/lib21/
Dhost_fw_preamble.c20 const struct vb2_private_key *signing_key, in vb2_fw_preamble_create() argument
53 if (vb2_sig_size_for_key(&sig_size, signing_key, NULL)) in vb2_fw_preamble_create()
75 if (vb2_sign_object(buf, fp.sig_offset, signing_key, NULL)) { in vb2_fw_preamble_create()
/external/vboot_reference/host/lib/include/
Dhost_common.h37 const VbPrivateKey *signing_key,
57 const VbPrivateKey *signing_key);
Dhost_keyblock.h31 const VbPrivateKey* signing_key,
/external/vboot_reference/
DREADME105 $ openssl genrsa -F4 -out signing_key.pem <1024|2048|4096|8192>
117 $ openssl req -batch -new -x509 -key signing_key.pem -out signing_key.crt
119 $ dumpRSAPublicKey signing_key.crt > signing_key.keyb
135 --firmware_sign_key signing_key.pem \
136 --firmware_sign_key_pub signing_key.keyb \
/external/linux-kselftest/
D.gitignore107 signing_key.pem
108 signing_key.priv
109 signing_key.x509
/external/vboot_reference/host/lib21/include/
Dhost_fw_preamble2.h29 const struct vb2_private_key *signing_key,