| /f-stack/dpdk/app/test/ |
| H A D | test_cryptodev_asym_util.h | 13 if (memcmp(rsa_param->data, in rsa_verify() 23 if (memcmp(mod_inv, result_op->asym->modinv.result.data, in verify_modinv() 32 if (memcmp(mod_exp, result_op->asym->modex.result.data, in verify_modexp() 41 if (memcmp(sign_r, result_op->asym->ecdsa.r.data, in verify_ecdsa_sign() 43 memcmp(sign_s, result_op->asym->ecdsa.s.data, in verify_ecdsa_sign() 52 if (memcmp(result_x, result_op->asym->ecpm.r.x.data, in verify_ecpm() 54 memcmp(result_y, result_op->asym->ecpm.r.y.data, in verify_ecpm()
|
| H A D | test_link_bonding.c | 872 TEST_ASSERT_SUCCESS(memcmp(mac_addr, &read_mac_addr, in test_set_explicit_bonded_mac() 1818 TEST_ASSERT_SUCCESS(memcmp(bonded_mac, &read_mac_addr, in test_roundrobin_verify_mac_assignment() 1827 TEST_ASSERT_SUCCESS(memcmp(bonded_mac, &read_mac_addr, in test_roundrobin_verify_mac_assignment() 2461 TEST_ASSERT_SUCCESS(memcmp(&bonded_mac, &read_mac_addr, in test_activebackup_verify_mac_assignment() 2477 TEST_ASSERT_SUCCESS(memcmp(&bonded_mac, &read_mac_addr, in test_activebackup_verify_mac_assignment() 3394 TEST_ASSERT_SUCCESS(memcmp(&bonded_mac, &read_mac_addr, in test_balance_verify_mac_assignment() 3402 TEST_ASSERT_SUCCESS(memcmp(&bonded_mac, &read_mac_addr, in test_balance_verify_mac_assignment() 3410 TEST_ASSERT_SUCCESS(memcmp(&bonded_mac, &read_mac_addr, in test_balance_verify_mac_assignment() 3987 TEST_ASSERT_SUCCESS(memcmp(bonded_mac, &read_mac_addr, in test_broadcast_verify_mac_assignment() 3997 TEST_ASSERT_SUCCESS(memcmp(bonded_mac, &read_mac_addr, in test_broadcast_verify_mac_assignment() [all …]
|
| H A D | test_cmdline_ipaddr.c | 300 if (memcmp(&addr1.addr.ipv4, &addr2.addr.ipv4, in is_addr_different() 307 if (memcmp(&addr1.addr.ipv6, &addr2.addr.ipv6, in is_addr_different() 438 memcmp(&result.addr.ipv4, &tmp, sizeof(tmp))) { in test_parse_ipaddr_valid() 480 memcmp(&result.addr.ipv6, &tmp.addr.ipv6, sizeof(struct in6_addr))) { in test_parse_ipaddr_valid() 523 memcmp(&result.addr.ipv4, &tmp, sizeof(tmp))) { in test_parse_ipaddr_valid() 565 memcmp(&result.addr.ipv6, &tmp.addr.ipv6, sizeof(struct in6_addr))) { in test_parse_ipaddr_valid()
|
| /f-stack/freebsd/contrib/libsodium/test/default/ |
| H A D | kx.c | 60 if (memcmp(server_rx, client_tx, crypto_kx_SESSIONKEYBYTES) != 0 || in tv_kx() 61 memcmp(server_tx, client_rx, crypto_kx_SESSIONKEYBYTES) != 0) { in tv_kx() 70 if (memcmp(server_rx, client_tx, crypto_kx_SESSIONKEYBYTES) == 0 && in tv_kx() 71 memcmp(server_tx, client_rx, crypto_kx_SESSIONKEYBYTES) == 0) { in tv_kx() 80 if (memcmp(server_rx, client_tx, crypto_kx_SESSIONKEYBYTES) == 0 || in tv_kx() 81 memcmp(server_tx, client_rx, crypto_kx_SESSIONKEYBYTES) == 0) { in tv_kx() 120 assert(memcmp(client_rx, client_tx, crypto_kx_SESSIONKEYBYTES) == 0); in tv_kx() 121 assert(memcmp(client_tx, server_rx, crypto_kx_SESSIONKEYBYTES) == 0); in tv_kx() 122 assert(memcmp(server_rx, server_tx, crypto_kx_SESSIONKEYBYTES) == 0); in tv_kx()
|
| H A D | aead_chacha20poly1305.c | 53 if (memcmp(detached_c, c, MLEN) != 0) { in tv() 65 if (memcmp(m, m2, MLEN) != 0) { in tv() 79 if (memcmp(m, m2, MLEN) != 0) { in tv() 87 == 0 || memcmp(m, m2, MLEN) == 0) { in tv() 113 if (memcmp(m, m2, MLEN) != 0) { in tv() 158 if (memcmp(m, c, MLEN) != 0) { in tv() 237 if (memcmp(detached_c, c, MLEN) != 0) { in tv_ietf() 248 if (memcmp(m, m2, MLEN) != 0) { in tv_ietf() 262 if (memcmp(m, m2, MLEN) != 0) { in tv_ietf() 294 if (memcmp(m, m2, MLEN) != 0) { in tv_ietf() [all …]
|
| H A D | secretbox_easy2.c | 33 printf("%d\n", memcmp(m, m2, mlen)); in main() 51 printf("%d\n", memcmp(m, m2, mlen)); in main() 55 printf("%d\n", memcmp(m, c, mlen) == 0); in main() 56 printf("%d\n", memcmp(m, c + crypto_secretbox_MACBYTES, mlen) == 0); in main() 62 printf("%d\n", memcmp(m, c, mlen)); in main()
|
| H A D | box_easy2.c | 58 printf("%d\n", memcmp(m, m2, mlen)); in main() 71 printf("%d\n", memcmp(m, c, mlen) == 0); in main() 72 printf("%d\n", memcmp(m, c + crypto_box_MACBYTES, mlen) == 0); in main() 102 printf("%d\n", memcmp(m, m2, mlen)); in main() 124 printf("%d\n", memcmp(m, m2, mlen)); in main() 133 printf("%d\n", memcmp(m, m2, mlen)); in main()
|
| H A D | aead_xchacha20poly1305.c | 63 if (memcmp(detached_c, c, MLEN) != 0) { in tv() 74 if (memcmp(m, m2, MLEN) != 0) { in tv() 84 if (memcmp(m, m2, MLEN) != 0) { in tv() 92 == 0 || memcmp(m, m2, MLEN) == 0) { in tv() 116 if (memcmp(m, m2, MLEN) != 0) { in tv() 161 if (memcmp(m, c, MLEN) != 0) { in tv()
|
| H A D | core_ed25519.c | 70 if (memcmp(p, p3, crypto_core_ed25519_BYTES) == 0) { in main() 76 if (memcmp(p, p3, crypto_core_ed25519_BYTES) != 0) { in main() 94 if (memcmp(p2, p3, crypto_core_ed25519_BYTES) != 0) { in main() 120 assert(memcmp(p2, p, crypto_core_ed25519_BYTES) != 0); in main() 121 assert(memcmp(p3, p, crypto_core_ed25519_BYTES) == 0); in main()
|
| H A D | xchacha20.c | 54 assert(memcmp(out, out2, crypto_core_hchacha20_OUTPUTBYTES) == 0); in tv_hchacha20() 65 assert(memcmp(out, out2, crypto_core_hchacha20_OUTPUTBYTES) == 0); in tv_hchacha20() 127 assert(memcmp(out, out2, out_len) == 0); in tv_stream_xchacha20() 153 assert(memcmp(out, out2 + 64, 64) == 0); in tv_stream_xchacha20() 169 assert(memcmp(out, out2, 192) == 0); in tv_stream_xchacha20() 245 assert(memcmp(out, out2, in tv_secretbox_xchacha20poly1305() 272 assert(memcmp(m, out2, m_len) == 0); in tv_secretbox_xchacha20poly1305() 282 assert(memcmp(out, out2, in tv_secretbox_xchacha20poly1305() 345 assert(memcmp(m2, m, m_len) == 0); in tv_box_xchacha20poly1305() 365 assert(memcmp(m2, m, m_len) == 0); in tv_box_xchacha20poly1305()
|
| H A D | secretstream.c | 93 assert(memcmp(m1, m1_, m1_len) == 0); in main() 101 assert(memcmp(m2, m2_, m2_len) == 0); in main() 114 assert(memcmp(m3, m3_, m3_len) == 0); in main() 244 assert(memcmp(csave, c2, m2_len + crypto_secretstream_xchacha20poly1305_ABYTES) != 0); in main() 267 assert(memcmp(state_copy.k, state->k, sizeof state->k) != 0); in main() 268 assert(memcmp(state_copy.nonce, state->nonce, sizeof state->nonce) != 0); in main() 280 assert(memcmp(m1, m1_, m1_len) == 0); in main() 290 assert(memcmp(m2, m2_, m2_len) == 0); in main()
|
| H A D | aead_aes256gcm.c | 3143 if (memcmp(detached_ciphertext, expected_ciphertext, in tv() 3145 memcmp(mac, expected_ciphertext + message_len, in tv() 3160 if (memcmp(ciphertext, expected_ciphertext, ciphertext_len) != 0) { in tv() 3199 if (memcmp(decrypted, message, message_len) != 0) { in tv() 3209 if (memcmp(decrypted, message, message_len) != 0) { in tv()
|
| H A D | sign.c | 1102 if (memcmp(test_data[i].sig, sm, crypto_sign_BYTES) != 0) { in main() 1122 if (memcmp(test_data[i].m, m, (size_t)mlen) != 0) { in main() 1147 if (memcmp(test_data[i].sig, sig, crypto_sign_BYTES) != 0) { in main() 1169 if (memcmp(test_data[i].m, sm, (size_t)mlen) != 0) { in main() 1297 if (memcmp(extracted_seed, keypair_seed, crypto_sign_ed25519_SEEDBYTES) in main() 1302 if (memcmp(extracted_pk, pk, crypto_sign_ed25519_PUBLICKEYBYTES) != 0) { in main()
|
| H A D | metamorphic.c | 47 assert(memcmp(h, h2, hlen) == 0); in mm_generichash() 87 assert(memcmp(h, h2, crypto_onetimeauth_BYTES) == 0); in mm_onetimeauth() 127 assert(memcmp(h, h2, crypto_auth_hmacsha256_BYTES) == 0); in mm_hmacsha256() 167 assert(memcmp(h, h2, crypto_auth_hmacsha512_BYTES) == 0); in mm_hmacsha512()
|
| /f-stack/freebsd/contrib/dev/acpica/components/tables/ |
| H A D | tbfind.c | 219 if (memcmp (&(AcpiGbl_RootTableList.Tables[i].Signature), in AcpiTbFindTable() 247 if (!memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->Signature, in AcpiTbFindTable() 250 !memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->OemId, in AcpiTbFindTable() 253 !memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->OemTableId, in AcpiTbFindTable()
|
| /f-stack/app/redis-5.0.5/tests/modules/ |
| H A D | commandfilter.c | 94 if (arg_len == 6 && !memcmp(arg_str, "@delme", 6)) { in CommandFilter_CommandFilter() 98 if (arg_len == 10 && !memcmp(arg_str, "@replaceme", 10)) { in CommandFilter_CommandFilter() 101 } else if (arg_len == 13 && !memcmp(arg_str, "@insertbefore", 13)) { in CommandFilter_CommandFilter() 105 } else if (arg_len == 12 && !memcmp(arg_str, "@insertafter", 12)) { in CommandFilter_CommandFilter() 109 } else if (arg_len == 4 && !memcmp(arg_str, "@log", 4)) { in CommandFilter_CommandFilter()
|
| /f-stack/app/redis-5.0.5/deps/hiredis/ |
| H A D | sds.c | 772 cmp = memcmp(s1,s2,minlen); in sdscmp() 1109 sdslen(x) == 3 && memcmp(x,"foo\0",4) == 0) in sdsTest() 1114 sdslen(x) == 2 && memcmp(x,"fo\0",3) == 0) in sdsTest() 1122 sdslen(x) == 1 && memcmp(x,"a\0",2) == 0) in sdsTest() 1132 sdslen(x) == 3 && memcmp(x,"123\0",4) == 0) in sdsTest() 1171 sdslen(y) == 1 && memcmp(y,"i\0",2) == 0) in sdsTest() 1177 sdslen(y) == 3 && memcmp(y,"iao\0",4) == 0) in sdsTest() 1183 sdslen(y) == 2 && memcmp(y,"ao\0",3) == 0) in sdsTest() 1189 sdslen(y) == 0 && memcmp(y,"\0",1) == 0) in sdsTest() 1201 sdslen(y) == 0 && memcmp(y,"\0",1) == 0) in sdsTest() [all …]
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | sds.c | 795 cmp = memcmp(s1,s2,minlen); in sdscmp() 1133 sdslen(x) == 3 && memcmp(x,"foo\0",4) == 0) in sdsTest() 1138 sdslen(x) == 2 && memcmp(x,"fo\0",3) == 0) in sdsTest() 1146 sdslen(x) == 1 && memcmp(x,"a\0",2) == 0) in sdsTest() 1156 sdslen(x) == 3 && memcmp(x,"123\0",4) == 0) in sdsTest() 1195 sdslen(y) == 1 && memcmp(y,"i\0",2) == 0) in sdsTest() 1201 sdslen(y) == 3 && memcmp(y,"iao\0",4) == 0) in sdsTest() 1207 sdslen(y) == 2 && memcmp(y,"ao\0",3) == 0) in sdsTest() 1213 sdslen(y) == 0 && memcmp(y,"\0",1) == 0) in sdsTest() 1225 sdslen(y) == 0 && memcmp(y,"\0",1) == 0) in sdsTest() [all …]
|
| /f-stack/freebsd/contrib/ngatm/netnatm/api/ |
| H A D | unisap.c | 166 s1->len == s2->len && memcmp(s1->addr, s2->addr, s1->len) == 0); in unisve_overlap_addr() 220 memcmp(s1->info, s2->info, s1->len) == 0); in unisve_overlap_bhli() 278 memcmp(called->addr.addr, sap->addr.addr, in unisve_match() 283 memcmp(called->addr.addr, sap->addr.addr, 19) != 0) in unisve_match() 406 if (memcmp(sap->bhli.info, bhli->info, bhli->len) != 0) in unisve_match()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/ |
| H A D | tmpfile_001_pos.c | 80 if (memcmp(buf1, buf2, BSZ) != 0) { in main() 100 if (memcmp(buf1, buf2, BSZ) != 0) { in main()
|
| /f-stack/dpdk/lib/librte_hash/ |
| H A D | rte_cuckoo_hash.h | 79 memcmp 98 memcmp
|
| /f-stack/freebsd/netinet/libalias/ |
| H A D | alias_smedia.c | 505 if (memcmp(data, setup, strlen(setup)) == 0) { in AliasHandleRtspOut() 511 if (memcmp(data, pna, strlen(pna)) == 0) { in AliasHandleRtspOut() 525 if (memcmp(&data[i], str200, strlen(str200)) == 0) { in AliasHandleRtspOut() 536 if (memcmp(&data[i], okstr, strlen(okstr)) == 0) in AliasHandleRtspOut()
|
| /f-stack/freebsd/libkern/ |
| H A D | memcmp.c | 44 (memcmp)(const void *s1, const void *s2, size_t n)
|
| /f-stack/dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_flow.c | 125 if (!memcmp(fs->val.lip, bitoff, sizeof(bitoff)) || in cxgbe_fill_filter_region() 126 !memcmp(fs->val.fip, bitoff, sizeof(bitoff)) || in cxgbe_fill_filter_region() 127 memcmp(fs->mask.lip, biton, sizeof(biton)) || in cxgbe_fill_filter_region() 128 memcmp(fs->mask.fip, biton, sizeof(biton))) in cxgbe_fill_filter_region() 134 if (!memcmp(fs->val.lip, &bitoff, sizeof(bitoff)) || in cxgbe_fill_filter_region() 135 !memcmp(fs->val.fip, &bitoff, sizeof(bitoff)) || in cxgbe_fill_filter_region() 136 memcmp(fs->mask.lip, &biton, sizeof(biton)) || in cxgbe_fill_filter_region() 137 memcmp(fs->mask.fip, &biton, sizeof(biton))) in cxgbe_fill_filter_region() 489 if (memcmp(val->hdr.dst_addr, z, sizeof(val->hdr.dst_addr)) || in ch_rte_parsetype_ipv6() 491 memcmp(umask->hdr.dst_addr, z, sizeof(umask->hdr.dst_addr)))) in ch_rte_parsetype_ipv6() [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | strings.h | 28 #define bcmp(src, dest, size) memcmp((src), (dest), (size_t)(size))
|