Searched refs:vb2_sig_size (Results 1 – 4 of 4) sorted by relevance
/external/vboot_reference/tests/ |
D | vb21_common_tests.c | 194 TEST_EQ(vb2_sig_size(VB2_SIG_INVALID, VB2_HASH_SHA256), 0, in test_sig_size() 197 TEST_EQ(vb2_sig_size(VB2_SIG_RSA2048, VB2_HASH_INVALID), 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() 204 TEST_EQ(vb2_sig_size(VB2_SIG_RSA8192, VB2_HASH_SHA512), 8192 / 8, in test_sig_size() 207 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/ |
D | common.c | 129 uint32_t vb2_sig_size(enum vb2_signature_algorithm sig_alg, in vb2_sig_size() function 210 expect_sig_size = vb2_sig_size(sig->sig_alg, sig->hash_alg); in vb2_verify_signature() 232 uint32_t key_sig_size = vb2_sig_size(key->sig_alg, key->hash_alg); in vb2_verify_digest()
|
/external/vboot_reference/host/lib21/ |
D | host_signature.c | 113 s.sig_size = vb2_sig_size(key->sig_alg, key->hash_alg); in vb2_sign_data() 187 uint32_t size = vb2_sig_size(key->sig_alg, key->hash_alg); in vb2_sig_size_for_key()
|
/external/vboot_reference/firmware/2lib/include/ |
D | 2common.h | 170 uint32_t vb2_sig_size(enum vb2_signature_algorithm sig_alg,
|