Home
last modified time | relevance | path

Searched refs:VB2_HASH_INVALID (Results 1 – 12 of 12) sorted by relevance

/external/vboot_reference/firmware/2lib/
D2sha_utility.c16 #define CTH_SHA1 VB2_HASH_INVALID
22 #define CTH_SHA256 VB2_HASH_INVALID
28 #define CTH_SHA512 VB2_HASH_INVALID
60 return VB2_HASH_INVALID; in vb2_crypto_to_hash()
/external/vboot_reference/tests/
Dvb2_sha_tests.c123 TEST_EQ(vb2_crypto_to_hash(VB2_ALG_COUNT), VB2_HASH_INVALID, in misc_tests()
126 TEST_EQ(vb2_digest_size(VB2_HASH_INVALID), 0, in misc_tests()
130 VB2_HASH_INVALID, digest, sizeof(digest)), in misc_tests()
136 dc.hash_alg = VB2_HASH_INVALID; in misc_tests()
Dvb21_api_tests.c252 sig->hash_alg = VB2_HASH_INVALID; in init_hash_tests()
299 dc->hash_alg = VB2_HASH_INVALID; in extend_hash_tests()
352 dc->hash_alg = VB2_HASH_INVALID; in check_hash_tests()
Dvb21_host_key_tests.c151 TEST_EQ(vb2_private_key_hash(&ckey, VB2_HASH_INVALID), in private_key_tests()
244 pkey->hash_alg = VB2_HASH_INVALID; in public_key_tests()
262 TEST_EQ(vb2_public_key_hash(&k2, VB2_HASH_INVALID), in public_key_tests()
Dvb2_rsa_utility_tests.c40 .hash_alg = VB2_HASH_INVALID}; in test_utils()
Dvb21_common2_tests.c89 key2->hash_alg = VB2_HASH_INVALID; in test_unpack_key()
197 pubk.hash_alg = VB2_HASH_INVALID; in test_verify_data()
Dvb21_host_fw_preamble_tests.c100 prik4096->hash_alg = VB2_HASH_INVALID; in preamble_tests()
Dvb21_host_keyblock_tests.c108 prik8192->hash_alg = VB2_HASH_INVALID; in keyblock_tests()
Dvb20_common2_tests.c105 pubk.hash_alg = VB2_HASH_INVALID; in test_verify_data()
Dvb21_common_tests.c197 TEST_EQ(vb2_sig_size(VB2_SIG_RSA2048, VB2_HASH_INVALID), 0, in test_sig_size()
/external/vboot_reference/firmware/2lib/include/
D2crypto.h52 VB2_HASH_INVALID = 0, enumerator
/external/vboot_reference/firmware/lib20/
Dpacked_key.c49 if (key->hash_alg == VB2_HASH_INVALID) { in vb2_unpack_key()