Home
last modified time | relevance | path

Searched refs:VbPrivateKey (Results 1 – 21 of 21) sorted by relevance

/external/vboot_reference/host/lib/include/
Dhost_key.h18 typedef struct VbPrivateKey { struct
21 } VbPrivateKey; argument
26 VbPrivateKey* PrivateKeyReadPem(const char* filename, uint64_t algorithm);
30 void PrivateKeyFree(VbPrivateKey* key);
33 int PrivateKeyWrite(const char* filename, const VbPrivateKey* key);
39 VbPrivateKey* PrivateKeyRead(const char* filename);
Dhost_common.h37 const VbPrivateKey *signing_key,
57 const VbPrivateKey *signing_key);
Dhost_signature.h44 const VbPrivateKey* key);
51 const VbPrivateKey* key);
Dhost_keyblock.h31 const VbPrivateKey* signing_key,
/external/vboot_reference/host/lib/
Dhost_key.c23 VbPrivateKey* PrivateKeyReadPem(const char* filename, uint64_t algorithm) { in PrivateKeyReadPem()
25 VbPrivateKey* key; in PrivateKeyReadPem()
49 key = (VbPrivateKey*)malloc(sizeof(VbPrivateKey)); in PrivateKeyReadPem()
62 void PrivateKeyFree(VbPrivateKey* key) { in PrivateKeyFree()
72 int PrivateKeyWrite(const char* filename, const VbPrivateKey* key) { in PrivateKeyWrite()
109 VbPrivateKey* PrivateKeyRead(const char* filename) { in PrivateKeyRead()
110 VbPrivateKey *key; in PrivateKeyRead()
121 key = (VbPrivateKey*)malloc(sizeof(VbPrivateKey)); in PrivateKeyRead()
Dhost_common.c21 const VbPrivateKey *signing_key, in CreateFirmwarePreamble()
83 const VbPrivateKey *signing_key) in CreateKernelPreamble()
Dhost_signature.c79 const VbPrivateKey* key) { in CalculateHash()
105 const VbPrivateKey* key) { in CalculateSignature()
Dhost_keyblock.c16 const VbPrivateKey* signing_key, in KeyBlockCreate()
/external/vboot_reference/tests/
Dvboot_common2_tests.c44 const VbPrivateKey *private_key) in VerifyDataTest()
80 const VbPrivateKey *private_key) in VerifyDigestTest()
109 const VbPrivateKey *key) in ReSignKernelPreamble()
119 const VbPrivateKey *private_key) in VerifyKernelPreambleTest()
217 VbPrivateKey *private_key = NULL; in test_algorithm()
Dvb20_common3_tests.c22 static void resign_keyblock(struct vb2_keyblock *h, const VbPrivateKey *key) in resign_keyblock()
33 const VbPrivateKey *private_key, in test_verify_keyblock()
163 const VbPrivateKey *key) in resign_fw_preamble()
173 const VbPrivateKey *private_key, in test_verify_fw_preamble()
310 VbPrivateKey *signing_private_key = NULL; in test_permutation()
Dvboot_common3_tests.c31 const VbPrivateKey *private_key, in KeyBlockVerifyTest()
157 const VbPrivateKey *key) in ReSignFirmwarePreamble()
167 const VbPrivateKey *private_key, in VerifyFirmwarePreambleTest()
284 VbPrivateKey *signing_private_key = NULL; in test_permutation()
Dvb20_common2_tests.c143 VbPrivateKey *private_key = NULL; in test_algorithm()
/external/vboot_reference/futility/
Dcmd_create.c79 VbPrivateKey *privkey = 0; in vb1_make_keypair()
114 privkey = (VbPrivateKey *)malloc(sizeof(VbPrivateKey)); in vb1_make_keypair()
Dcmd_vbutil_key.c74 VbPrivateKey *privkey; in Pack()
109 VbPrivateKey *privkey; in Unpack()
Dvb1_helper.h20 VbKeyBlockHeader *keyblock, VbPrivateKey *signpriv_key,
Dcmd_sign.c39 VbPrivateKey *signprivate;
42 VbPrivateKey *devsignprivate;
382 VbPrivateKey *signkey, in write_new_preamble()
Dcmd_vbutil_keyblock.c86 VbPrivateKey *signing_key = NULL; in Pack()
Dcmd_vbutil_firmware.c84 VbPrivateKey *signing_key; in Vblock()
Dvb1_helper.c400 VbKeyBlockHeader *keyblock, VbPrivateKey *signpriv_key, in SignKernelBlob()
755 VbPrivateKey key; in recognize_privkey()
Dcmd_vbutil_kernel.c241 VbPrivateKey *signpriv_key = NULL; in do_vbutil_kernel()
Dcmd_show.c110 VbPrivateKey key; in futil_cb_show_privkey()