Home
last modified time | relevance | path

Searched refs:vb2_safe_memcmp (Results 1 – 7 of 7) sorted by relevance

/external/vboot_reference/tests/
Dvb2_rsa_utility_tests.c96 TEST_EQ(vb2_safe_memcmp("foo", "foo", 3), 0, "vb2_safe_memcmp() good"); in test_utils()
97 TEST_NEQ(vb2_safe_memcmp("foo", "bar", 3), 0, "vb2_safe_memcmp() bad"); in test_utils()
98 TEST_EQ(vb2_safe_memcmp("foo", "bar", 0), 0, "vb2_safe_memcmp() zero"); in test_utils()
Dvb2_common_tests.c17 TEST_EQ(vb2_safe_memcmp("foo", "foo", 3), 0, "memcmp equal"); in test_memcmp()
18 TEST_NEQ(vb2_safe_memcmp("foo1", "foo2", 4), 0, "memcmp different"); in test_memcmp()
19 TEST_EQ(vb2_safe_memcmp("foo1", "foo2", 0), 0, "memcmp 0-size"); in test_memcmp()
/external/vboot_reference/firmware/2lib/
D2rsa.c286 result |= vb2_safe_memcmp(sig, tail, tail_size); in vb2_check_padding()
342 if (vb2_safe_memcmp(sig + pad_size, digest, key_bytes - pad_size)) { in vb2_rsa_verify_digest()
D2common.c14 int vb2_safe_memcmp(const void *s1, const void *s2, size_t size) in vb2_safe_memcmp() function
/external/vboot_reference/firmware/2lib/include/
D2common.h138 int vb2_safe_memcmp(const void *s1, const void *s2, size_t size);
/external/vboot_reference/firmware/lib21/
Dapi.c159 if (vb2_safe_memcmp(digest, (const uint8_t *)sig + sig->sig_offset, in vb2api_check_hash()
Dcommon.c247 if (vb2_safe_memcmp(vb2_signature_data(sig), in vb2_verify_digest()