Home
last modified time | relevance | path

Searched refs:VB2_SIG_NONE (Results 1 – 9 of 9) sorted by relevance

/external/vboot_reference/host/lib21/
Dhost_key.c134 if (pkey->sig_alg == VB2_SIG_NONE) { in vb2_private_key_unpack()
251 if (key->sig_alg != VB2_SIG_NONE) { in vb2_private_key_write()
297 .sig_alg = VB2_SIG_NONE, in vb2_private_key_hash()
310 .sig_alg = VB2_SIG_NONE, in vb2_private_key_hash()
323 .sig_alg = VB2_SIG_NONE, in vb2_private_key_hash()
475 if (pubk->sig_alg != VB2_SIG_NONE) { in vb2_public_key_pack()
501 if (pubk->sig_alg != VB2_SIG_NONE) { in vb2_public_key_pack()
539 key->sig_alg = VB2_SIG_NONE; in vb2_public_key_hash()
Dhost_signature.c120 if (s.sig_alg != VB2_SIG_NONE) { in vb2_sign_data()
162 if (s.sig_alg == VB2_SIG_NONE) { in vb2_sign_data()
/external/vboot_reference/tests/
Dvb2_rsa_utility_tests.c68 TEST_EQ(vb2_rsa_sig_size(VB2_SIG_NONE), 0, in test_utils()
86 TEST_EQ(vb2_packed_key_size(VB2_SIG_NONE), 0, in test_utils()
Dvb21_host_key_tests.c142 pkey->sig_alg = VB2_SIG_NONE; in private_key_tests()
159 TEST_EQ(ckey->sig_alg, VB2_SIG_NONE, " sig_alg"); in private_key_tests()
268 TEST_EQ(k2.sig_alg, VB2_SIG_NONE, " sig_alg"); in public_key_tests()
Dvb21_common2_tests.c161 sig2->sig_alg = (sig2->sig_alg == VB2_SIG_NONE ? in test_verify_signature()
162 VB2_SIG_RSA1024 : VB2_SIG_NONE); in test_verify_signature()
Dvb21_common_tests.c207 TEST_EQ(vb2_sig_size(VB2_SIG_NONE, VB2_HASH_SHA1), in test_sig_size()
209 TEST_EQ(vb2_sig_size(VB2_SIG_NONE, VB2_HASH_SHA256), in test_sig_size()
211 TEST_EQ(vb2_sig_size(VB2_SIG_NONE, VB2_HASH_SHA512), in test_sig_size()
/external/vboot_reference/firmware/lib21/
Dcommon.c139 if (sig_alg == VB2_SIG_NONE) in vb2_sig_size()
245 if (key->sig_alg == VB2_SIG_NONE) { in vb2_verify_digest()
425 if (sig->sig_alg != VB2_SIG_NONE) in vb2_verify_fw_preamble()
Dpacked_key.c83 if (key->sig_alg != VB2_SIG_NONE) { in vb2_unpack_key()
/external/vboot_reference/firmware/2lib/include/
D2crypto.h40 VB2_SIG_NONE = 1, enumerator