/lib/crypto/ |
D | blake2s-selftest.c | 570 if (memcmp(hash, blake2s_testvecs[i], outlen)) { in blake2s_selftest() 585 if (memcmp(hash, blake2s_testvecs[i], outlen)) { in blake2s_selftest() 608 if (memcmp(&state1, &state2, sizeof(state1))) { in blake2s_selftest() 623 if (memcmp(&state1, &state2, sizeof(state1))) { in blake2s_selftest()
|
D | curve25519-selftest.c | 1296 memcmp(out, curve25519_test_vectors[i].result, in curve25519_selftest() 1309 memcmp(out, out2, CURVE25519_KEY_SIZE) || in curve25519_selftest() 1310 memcmp(out, out3, CURVE25519_KEY_SIZE)) { in curve25519_selftest()
|
D | chacha20poly1305-selftest.c | 8911 if (memcmp(computed_output, in chacha20poly1305_selftest() 8934 if (!ret || memcmp(computed_output, in chacha20poly1305_selftest() 8955 memcmp(computed_output, in chacha20poly1305_selftest() 8978 memcmp(computed_output, chacha20poly1305_dec_vectors[i].output, in chacha20poly1305_selftest() 8996 if (memcmp(computed_output, in chacha20poly1305_selftest() 9017 memcmp(computed_output, in chacha20poly1305_selftest() 9051 if (memcmp(computed_output, input, total_len)) in chacha20poly1305_selftest()
|
/lib/ |
D | test_user_copy.c | 136 ret |= test(memcmp(kmem, expected, ksize), in test_copy_struct_from_user() 149 ret |= test(memcmp(kmem, expected, ksize), in test_copy_struct_from_user() 171 ret |= test(memcmp(kmem, expected, ksize), in test_copy_struct_from_user() 219 ret |= test(memcmp(kmem, kmem + PAGE_SIZE, PAGE_SIZE), in test_user_copy_init() 266 ret |= test(memcmp(kmem + PAGE_SIZE, kmem, PAGE_SIZE), in test_user_copy_init()
|
D | string.c | 933 #undef memcmp 934 __visible int memcmp(const void *cs, const void *ct, size_t count) in memcmp() function 959 EXPORT_SYMBOL(memcmp); 976 return memcmp(a, b, len); in bcmp() 1022 if (!memcmp(s1, s2, l2)) in strstr() 1047 if (!memcmp(s1, s2, l2)) in strnstr()
|
D | decompress.c | 77 if (!memcmp(inbuf, cf->magic, 2)) in decompress_method()
|
D | test-string_helpers.c | 19 if (q_real == q_test && !memcmp(out_test, out_real, q_test)) in test_string_check_buf() 492 if (!memcmp(res, exp, strlen(exp) + 1)) in test_string_get_size_check() 554 if (memcmp(dst, strings_upper[i].out, len)) { in test_string_upper_lower() 572 if (memcmp(dst, strings_lower[i].out, len)) { in test_string_upper_lower()
|
D | test_hexdump.c | 141 if (memcmp(test, real, TEST_HEXDUMP_BUF_SIZE)) { in test_hexdump() 195 a = r == e && !memcmp(test, buf, TEST_HEXDUMP_BUF_SIZE); in test_hexdump_overflow()
|
D | earlycpio.c | 119 !memcmp(p, path, mypathsize)) { in find_cpio_data()
|
D | test_meminit.c | 256 fail |= (bool)memcmp(buf, buf_copy, size); in do_kmem_cache_size() 302 fail = memcmp(buf_contents, buf, size); in do_kmem_cache_rcu_persistent()
|
D | buildid.c | 147 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in build_id_parse()
|
D | digsig.c | 169 if (!m || len != hlen || memcmp(m, h, hlen)) in digsig_verify_rsa()
|
D | test_printf.c | 87 if (memcmp(test_buffer, expect, written)) { in do_test() 126 if (memcmp(p, expect, elen+1)) { in __test()
|
D | nlattr.c | 816 d = memcmp(nla_data(nla), data, size); in nla_memcmp() 839 d = memcmp(nla_data(nla), str, len); in nla_strcmp()
|
D | test_bitmap.c | 118 if (memcmp(exp_arr, arr, len*sizeof(*arr))) { in __check_eq_u32_array()
|
D | test_rhashtable.c | 621 } else if (obj && memcmp(&obj->value, &key, sizeof(key))) { in thread_lookup_test()
|
D | objagg.c | 920 memcmp(ptr, arg->key, ht->p.key_len); in objagg_hints_obj_cmp()
|
D | test_objagg.c | 189 memcmp(world->next_root_buf, root->buf, sizeof(root->buf))) { in test_nodelta_obj_get()
|
D | test_firmware.c | 674 memcmp(firmware->data, test_data, sizeof(test_data)) != 0) { in trigger_request_platform_store()
|
/lib/raid6/test/ |
D | test.c | 64 erra = memcmp(data[i], recovi, PAGE_SIZE); in test_disks() 65 errb = memcmp(data[j], recovj, PAGE_SIZE); in test_disks()
|
/lib/xz/ |
D | xz_private.h | 43 # define memeq(a, b, size) (memcmp(a, b, size) == 0)
|
/lib/reed_solomon/ |
D | test_rslib.c | 307 if (memcmp(r, c, len * sizeof(*r))) in test_uc() 398 if (memcmp(r + dlen, corr, nroots * sizeof(*corr))) in test_bc()
|
/lib/zlib_deflate/ |
D | deflate.c | 709 if (memcmp((char *)s->window + match, in check_match()
|