Home
last modified time | relevance | path

Searched refs:vb2_rsa_sig_size (Results 1 – 10 of 10) sorted by relevance

/external/vboot_reference/tests/
Dvb2_rsa_utility_tests.c58 TEST_EQ(vb2_rsa_sig_size(VB2_SIG_RSA1024), RSA1024NUMBYTES, in test_utils()
60 TEST_EQ(vb2_rsa_sig_size(VB2_SIG_RSA2048), RSA2048NUMBYTES, in test_utils()
62 TEST_EQ(vb2_rsa_sig_size(VB2_SIG_RSA4096), RSA4096NUMBYTES, in test_utils()
64 TEST_EQ(vb2_rsa_sig_size(VB2_SIG_RSA8192), RSA8192NUMBYTES, in test_utils()
66 TEST_EQ(vb2_rsa_sig_size(VB2_SIG_INVALID), 0, in test_utils()
68 TEST_EQ(vb2_rsa_sig_size(VB2_SIG_NONE), 0, in test_utils()
Dvb21_host_sig_tests.c168 int rsa_bits = vb2_rsa_sig_size(combo->sig_alg) * 8; in test_algorithm()
Dvb20_api_tests.c200 uint32_t vb2_rsa_sig_size(enum vb2_signature_algorithm sig_alg) in vb2_rsa_sig_size() function
Dvb21_host_key_tests.c281 int rsa_bits = vb2_rsa_sig_size(combo->sig_alg) * 8; in test_algorithm()
/external/vboot_reference/firmware/2lib/
D2rsa.c175 uint32_t vb2_rsa_sig_size(enum vb2_signature_algorithm sig_alg) in vb2_rsa_sig_size() function
193 uint32_t sig_size = vb2_rsa_sig_size(sig_alg); in vb2_packed_key_size()
246 uint32_t sig_size = vb2_rsa_sig_size(key->sig_alg); in vb2_check_padding()
306 sig_size = vb2_rsa_sig_size(key->sig_alg); in vb2_rsa_verify_digest()
/external/vboot_reference/firmware/lib21/
Dpacked_key.c33 if (key->arrsize * sizeof(uint32_t) != vb2_rsa_sig_size(key->sig_alg)) in vb2_unpack_key_data()
84 sig_size = vb2_rsa_sig_size(key->sig_alg); in vb2_unpack_key()
Dcommon.c142 return vb2_rsa_sig_size(sig_alg); in vb2_sig_size()
/external/vboot_reference/firmware/2lib/include/
D2rsa.h44 uint32_t vb2_rsa_sig_size(enum vb2_signature_algorithm sig_alg);
/external/vboot_reference/firmware/lib20/
Dcommon.c74 if (sig->sig_size != vb2_rsa_sig_size(key->sig_alg)) { in vb2_verify_digest()
77 sig->sig_size, vb2_rsa_sig_size(key->sig_alg), in vb2_verify_digest()
Dpacked_key.c67 if (key->arrsize * sizeof(uint32_t) != vb2_rsa_sig_size(key->sig_alg)) in vb2_unpack_key()