Home
last modified time | relevance | path

Searched refs:vb2_public_key (Results 1 – 25 of 30) sorted by relevance

12

/external/vboot_reference/host/lib21/include/
Dhost_key2.h13 struct vb2_public_key;
138 int vb2_public_key_alloc(struct vb2_public_key **key_ptr,
146 uint8_t *vb2_public_key_packed_data(struct vb2_public_key *key);
157 void vb2_public_key_free(struct vb2_public_key *key);
172 int vb2_public_key_read_keyb(struct vb2_public_key **key_ptr,
182 int vb2_public_key_set_desc(struct vb2_public_key *key, const char *desc);
204 const struct vb2_public_key *pubk);
213 int vb2_public_key_hash(struct vb2_public_key *key,
232 int vb2_public_key_write(const struct vb2_public_key *key,
Dhost_keyblock2.h14 struct vb2_public_key;
30 const struct vb2_public_key *data_key,
/external/vboot_reference/firmware/lib21/include/
Dvb2_common.h88 int vb2_unpack_key(struct vb2_public_key *key,
102 int vb2_unpack_key_data(struct vb2_public_key *key,
124 int vb2_verify_digest(const struct vb2_public_key *key,
143 const struct vb2_public_key *key,
160 const struct vb2_public_key *key,
176 const struct vb2_public_key *key,
/external/vboot_reference/firmware/lib20/include/
Dvb2_common.h91 int vb2_unpack_key(struct vb2_public_key *key,
104 int vb2_verify_digest(const struct vb2_public_key *key,
123 const struct vb2_public_key *key,
140 const struct vb2_public_key *key,
156 const struct vb2_public_key *key,
/external/vboot_reference/host/lib21/
Dhost_key.c336 int vb2_public_key_alloc(struct vb2_public_key **key_ptr, in vb2_public_key_alloc()
339 struct vb2_public_key *key; in vb2_public_key_alloc()
361 void vb2_public_key_free(struct vb2_public_key *key) in vb2_public_key_free()
372 uint8_t *vb2_public_key_packed_data(struct vb2_public_key *key) in vb2_public_key_packed_data()
377 int vb2_public_key_read_keyb(struct vb2_public_key **key_ptr, in vb2_public_key_read_keyb()
380 struct vb2_public_key *key = NULL; in vb2_public_key_read_keyb()
420 int vb2_public_key_set_desc(struct vb2_public_key *key, const char *desc) in vb2_public_key_set_desc()
439 struct vb2_public_key key; in vb2_packed_key_read()
458 const struct vb2_public_key *pubk) in vb2_public_key_pack()
516 int vb2_public_key_hash(struct vb2_public_key *key, in vb2_public_key_hash()
[all …]
Dhost_keyblock.c19 const struct vb2_public_key *data_key, in vb2_keyblock_create()
/external/vboot_reference/firmware/2lib/
D2rsa.c20 static void subM(const struct vb2_public_key *key, uint32_t *a) in subM()
34 int vb2_mont_ge(const struct vb2_public_key *key, uint32_t *a) in vb2_mont_ge()
50 static void montMulAdd(const struct vb2_public_key *key, in montMulAdd()
78 static void montMul(const struct vb2_public_key *key, in montMul()
100 static void modpowF4(const struct vb2_public_key *key, uint8_t *inout, in modpowF4()
243 int vb2_check_padding(const uint8_t *sig, const struct vb2_public_key *key) in vb2_check_padding()
291 int vb2_rsa_verify_digest(const struct vb2_public_key *key, in vb2_rsa_verify_digest()
/external/vboot_reference/tests/
Dvb2_rsa_utility_tests.c30 int vb2_mont_ge(const struct vb2_public_key *key, uint32_t *a);
31 int vb2_check_padding(const uint8_t *sig, const struct vb2_public_key *key);
39 struct vb2_public_key kbad = {.sig_alg = VB2_SIG_INVALID, in test_utils()
104 struct vb2_public_key k = { in test_utils()
Dvb20_rsa_padding_tests.c29 void vb2_public_key_to_vb2(struct vb2_public_key *k2, in vb2_public_key_to_vb2()
43 static void test_signatures(const struct vb2_public_key *key) in test_signatures()
77 static void test_verify_digest(struct vb2_public_key *key) { in test_verify_digest()
127 struct vb2_public_key k2; in main()
Dvb21_common2_tests.c27 struct vb2_public_key pubk; in test_unpack_key()
169 static void test_verify_data(const struct vb2_public_key *pubk_orig, in test_verify_data()
176 struct vb2_public_key pubk; in test_verify_data()
250 struct vb2_public_key *pubk = NULL; in test_algorithm()
Dvb20_misc_tests.c148 int vb2_unpack_key(struct vb2_public_key *key, in vb2_unpack_key()
157 const struct vb2_public_key *key, in vb2_verify_keyblock()
165 const struct vb2_public_key *key, in vb2_verify_fw_preamble()
Dvb21_misc_tests.c154 int vb2_unpack_key(struct vb2_public_key *key, in vb2_unpack_key()
163 const struct vb2_public_key *key, in vb2_verify_keyblock()
171 const struct vb2_public_key *key, in vb2_verify_fw_preamble()
Dvb20_common2_tests.c26 struct vb2_public_key pubk; in test_unpack_key()
85 struct vb2_public_key pubk, pubk_orig; in test_verify_data()
Dvb21_common_tests.c222 struct vb2_public_key pubk; in test_verify_hash()
256 struct vb2_public_key pubk, pubk2, pubk3; in test_verify_keyblock()
383 struct vb2_public_key pubk; in test_verify_fw_preamble()
Dvb21_host_fw_preamble_tests.c31 struct vb2_public_key *pubk4096; in preamble_tests()
Dvb20_api_tests.c115 int vb2_unpack_key(struct vb2_public_key *key, in vb2_unpack_key()
205 int vb2_rsa_verify_digest(const struct vb2_public_key *key, in vb2_rsa_verify_digest()
/external/vboot_reference/firmware/2lib/include/
D2rsa.h15 struct vb2_public_key { struct
61 int vb2_check_padding(const uint8_t *sig, const struct vb2_public_key *key);
75 int vb2_rsa_verify_digest(const struct vb2_public_key *key,
D2common.h16 struct vb2_public_key;
/external/vboot_reference/firmware/lib20/
Dcommon.c67 int vb2_verify_digest(const struct vb2_public_key *key, in vb2_verify_digest()
88 const struct vb2_public_key *key, in vb2_verify_data()
135 const struct vb2_public_key *key, in vb2_verify_keyblock()
204 const struct vb2_public_key *key, in vb2_verify_fw_preamble()
Dapi.c44 struct vb2_public_key key; in vb2api_init_hash()
135 struct vb2_public_key key; in vb2api_check_hash()
Dmisc.c25 struct vb2_public_key root_key; in vb2_load_fw_keyblock()
137 struct vb2_public_key data_key; in vb2_load_fw_preamble()
Dpacked_key.c26 int vb2_unpack_key(struct vb2_public_key *key, in vb2_unpack_key()
/external/vboot_reference/firmware/lib21/
Dpacked_key.c13 int vb2_unpack_key_data(struct vb2_public_key *key, in vb2_unpack_key_data()
45 int vb2_unpack_key(struct vb2_public_key *key, in vb2_unpack_key()
Dcommon.c227 int vb2_verify_digest(const struct vb2_public_key *key, in vb2_verify_digest()
263 const struct vb2_public_key *key, in vb2_verify_data()
310 const struct vb2_public_key *key, in vb2_verify_keyblock()
378 const struct vb2_public_key *key, in vb2_verify_fw_preamble()
Dmisc.c73 struct vb2_public_key root_key; in vb2_load_fw_keyblock()
160 struct vb2_public_key data_key; in vb2_load_fw_preamble()

12