Home
last modified time | relevance | path

Searched refs:vb2_sig_size (Results 1 – 4 of 4) sorted by relevance

/external/vboot_reference/tests/
Dvb21_common_tests.c194 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/
Dcommon.c129 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/
Dhost_signature.c113 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/
D2common.h170 uint32_t vb2_sig_size(enum vb2_signature_algorithm sig_alg,