Home
last modified time | relevance | path

Searched refs:VB2_HASH_SHA256 (Results 1 – 17 of 17) sorted by relevance

/external/vboot_reference/firmware/2lib/
D2sha_utility.c20 #define CTH_SHA256 VB2_HASH_SHA256
71 case VB2_HASH_SHA256: in vb2_digest_size()
96 case VB2_HASH_SHA256: in vb2_digest_init()
121 case VB2_HASH_SHA256: in vb2_digest_extend()
149 case VB2_HASH_SHA256: in vb2_digest_finalize()
D2rsa.c262 case VB2_HASH_SHA256: in vb2_check_padding()
/external/vboot_reference/tests/
Dvb2_sha_tests.c73 VB2_HASH_SHA256, digest, sizeof(digest)), in sha256_tests()
80 VB2_HASH_SHA256, digest, sizeof(digest) - 1), in sha256_tests()
117 TEST_EQ(vb2_crypto_to_hash(VB2_ALG_RSA2048_SHA256), VB2_HASH_SHA256, in misc_tests()
119 TEST_EQ(vb2_crypto_to_hash(VB2_ALG_RSA4096_SHA256), VB2_HASH_SHA256, in misc_tests()
135 vb2_digest_init(&dc, VB2_HASH_SHA256); in misc_tests()
Dvb21_common_tests.c194 TEST_EQ(vb2_sig_size(VB2_SIG_INVALID, VB2_HASH_SHA256), 0, in test_sig_size()
200 TEST_EQ(vb2_sig_size(VB2_SIG_RSA2048, VB2_HASH_SHA256), 2048 / 8, in test_sig_size()
202 TEST_EQ(vb2_sig_size(VB2_SIG_RSA4096, VB2_HASH_SHA256), 4096 / 8, in test_sig_size()
209 TEST_EQ(vb2_sig_size(VB2_SIG_NONE, VB2_HASH_SHA256), in test_sig_size()
229 TEST_SUCC(vb2_private_key_hash(&prik, VB2_HASH_SHA256), in test_verify_hash()
231 TEST_SUCC(vb2_public_key_hash(&pubk, VB2_HASH_SHA256), in test_verify_hash()
266 TEST_SUCC(vb2_public_key_hash(&pubk, VB2_HASH_SHA256), in test_verify_keyblock()
273 TEST_SUCC(vb2_private_key_hash(prik + 0, VB2_HASH_SHA256), in test_verify_keyblock()
400 TEST_SUCC(vb2_public_key_hash(&pubk, VB2_HASH_SHA256), in test_verify_fw_preamble()
402 TEST_SUCC(vb2_private_key_hash(&prikhash, VB2_HASH_SHA256), in test_verify_fw_preamble()
Dvb21_host_fw_preamble_tests.c53 pubk4096->hash_alg = VB2_HASH_SHA256; in preamble_tests()
60 prik4096->hash_alg = VB2_HASH_SHA256; in preamble_tests()
62 TEST_SUCC(vb2_private_key_hash(&prikhash, VB2_HASH_SHA256), in preamble_tests()
Dvb21_host_keyblock_tests.c43 pubk2048->hash_alg = VB2_HASH_SHA256; in keyblock_tests()
49 pubk4096->hash_alg = VB2_HASH_SHA256; in keyblock_tests()
62 prik4096->hash_alg = VB2_HASH_SHA256; in keyblock_tests()
Dvb21_host_sig_tests.c28 {"RSA2048/SHA-256", VB2_SIG_RSA2048, VB2_HASH_SHA256},
29 {"RSA4096/SHA-256", VB2_SIG_RSA4096, VB2_HASH_SHA256},
Dvb21_host_key_tests.c28 {"RSA2048/SHA-256", VB2_SIG_RSA2048, VB2_HASH_SHA256},
29 {"RSA4096/SHA-256", VB2_SIG_RSA4096, VB2_HASH_SHA256},
Dvb2_api_tests.c28 const int mock_hash_alg = VB2_HASH_SHA256;
Dvb21_common2_tests.c225 VB2_HASH_SHA256 : VB2_HASH_SHA1); in test_verify_data()
Dvb21_api_tests.c33 static const int mock_hash_alg = VB2_HASH_SHA256;
Dvb20_api_tests.c28 const int mock_hash_alg = VB2_HASH_SHA256;
/external/vboot_reference/host/lib21/
Dhost_key.c47 {"SHA256", VB2_HASH_SHA256},
306 case VB2_HASH_SHA256: in vb2_private_key_hash()
309 .hash_alg = VB2_HASH_SHA256, in vb2_private_key_hash()
526 case VB2_HASH_SHA256: in vb2_public_key_hash()
Dhost_signature.c49 case VB2_HASH_SHA256: in vb2_digest_info()
/external/vboot_reference/firmware/2lib/include/
D2crypto.h58 VB2_HASH_SHA256 = 2, enumerator
/external/vboot_reference/futility/
Dcmd_create.c36 #define DEFAULT_HASH VB2_HASH_SHA256;
69 entry->num == VB2_HASH_SHA256 ? " (default)" : ""); in print_help()
/external/vboot_reference/firmware/lib21/
Dcommon.c156 case VB2_HASH_SHA256: in vb2_hash_guid()