Searched refs:VB2_HASH_SHA256 (Results 1 – 17 of 17) sorted by relevance
/external/vboot_reference/firmware/2lib/ |
D | 2sha_utility.c | 20 #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()
|
D | 2rsa.c | 262 case VB2_HASH_SHA256: in vb2_check_padding()
|
/external/vboot_reference/tests/ |
D | vb2_sha_tests.c | 73 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()
|
D | vb21_common_tests.c | 194 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()
|
D | vb21_host_fw_preamble_tests.c | 53 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()
|
D | vb21_host_keyblock_tests.c | 43 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()
|
D | vb21_host_sig_tests.c | 28 {"RSA2048/SHA-256", VB2_SIG_RSA2048, VB2_HASH_SHA256}, 29 {"RSA4096/SHA-256", VB2_SIG_RSA4096, VB2_HASH_SHA256},
|
D | vb21_host_key_tests.c | 28 {"RSA2048/SHA-256", VB2_SIG_RSA2048, VB2_HASH_SHA256}, 29 {"RSA4096/SHA-256", VB2_SIG_RSA4096, VB2_HASH_SHA256},
|
D | vb2_api_tests.c | 28 const int mock_hash_alg = VB2_HASH_SHA256;
|
D | vb21_api_tests.c | 33 static const int mock_hash_alg = VB2_HASH_SHA256;
|
D | vb21_common2_tests.c | 225 VB2_HASH_SHA256 : VB2_HASH_SHA1); in test_verify_data()
|
D | vb20_api_tests.c | 28 const int mock_hash_alg = VB2_HASH_SHA256;
|
/external/vboot_reference/host/lib21/ |
D | host_key.c | 47 {"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()
|
D | host_signature.c | 49 case VB2_HASH_SHA256: in vb2_digest_info()
|
/external/vboot_reference/firmware/2lib/include/ |
D | 2crypto.h | 58 VB2_HASH_SHA256 = 2, enumerator
|
/external/vboot_reference/futility/ |
D | cmd_create.c | 36 #define DEFAULT_HASH VB2_HASH_SHA256; 69 entry->num == VB2_HASH_SHA256 ? " (default)" : ""); in print_help()
|
/external/vboot_reference/firmware/lib21/ |
D | common.c | 156 case VB2_HASH_SHA256: in vb2_hash_guid()
|