Searched refs:vb2_safe_memcmp (Results 1 – 7 of 7) sorted by relevance
/external/vboot_reference/tests/ |
D | vb2_rsa_utility_tests.c | 96 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()
|
D | vb2_common_tests.c | 17 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/ |
D | 2rsa.c | 286 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()
|
D | 2common.c | 14 int vb2_safe_memcmp(const void *s1, const void *s2, size_t size) in vb2_safe_memcmp() function
|
/external/vboot_reference/firmware/2lib/include/ |
D | 2common.h | 138 int vb2_safe_memcmp(const void *s1, const void *s2, size_t size);
|
/external/vboot_reference/firmware/lib21/ |
D | api.c | 159 if (vb2_safe_memcmp(digest, (const uint8_t *)sig + sig->sig_offset, in vb2api_check_hash()
|
D | common.c | 247 if (vb2_safe_memcmp(vb2_signature_data(sig), in vb2_verify_digest()
|