| /f-stack/freebsd/contrib/libsodium/test/default/ |
| H A D | chacha20.c | 56 randombytes_buf(out, sizeof out); in tv() 66 memset(out, 0x42, sizeof out); in tv() 67 crypto_stream_chacha20_xor(out, out, sizeof out, nonce, key); in tv() 71 crypto_stream_chacha20_xor_ic(out, out, sizeof out, nonce, 0U, key); in tv() 75 crypto_stream_chacha20_xor_ic(out, out, sizeof out, nonce, 1U, key); in tv() 124 memset(out, 0, sizeof out); in tv_ietf() 144 randombytes_buf(out, sizeof out); in tv_ietf() 154 memset(out, 0x42, sizeof out); in tv_ietf() 155 crypto_stream_chacha20_ietf_xor(out, out, sizeof out, nonce, key); in tv_ietf() 159 crypto_stream_chacha20_ietf_xor_ic(out, out, sizeof out, nonce, 0U, key); in tv_ietf() [all …]
|
| H A D | generichash3.c | 42 memset(out, 0, sizeof out); in main() 46 crypto_generichash_blake2b_final(&st, out, in main() 49 printf("%02x", (unsigned int) out[j]); in main() 53 memset(out, 0, sizeof out); in main() 64 memset(out, 0, sizeof out); in main() 76 memset(out, 0, sizeof out); in main() 88 memset(out, 0, sizeof out); in main() 97 memset(out, 0, sizeof out); in main() 106 memset(out, 0, sizeof out); in main() 115 memset(out, 0, sizeof out); in main() [all …]
|
| H A D | xchacha20.c | 52 tv->out, strlen(tv->out), NULL, NULL, NULL); in tv_hchacha20() 68 sodium_free(out); in tv_hchacha20() 124 tv->out, strlen(tv->out), NULL, &out_len, NULL); in tv_stream_xchacha20() 134 crypto_stream_xchacha20_xor(out, out, out_len, nonce, key); in tv_stream_xchacha20() 144 sodium_free(out); in tv_stream_xchacha20() 151 crypto_stream_xchacha20_xor_ic(out, out, 64, nonce, 1, key); in tv_stream_xchacha20() 163 crypto_stream_xchacha20_xor_ic(out, out, 64, nonce, in tv_stream_xchacha20() 165 crypto_stream_xchacha20_xor_ic(out + 64, out + 64, 64, nonce, in tv_stream_xchacha20() 167 crypto_stream_xchacha20_xor_ic(out + 128, out + 128, 64, nonce, in tv_stream_xchacha20() 196 const char *out; member [all …]
|
| H A D | core6.c | 18 static unsigned char out[64]; variable 37 crypto_core_salsa20(out, in, k, c); in main() 38 print(out, c); in main() 39 print(out + 20, c + 4); in main() 41 print(out + 40, c + 8); in main() 42 print(out + 60, c + 12); in main() 44 print(out + 24, in); in main() 45 print(out + 28, in + 4); in main() 47 print(out + 32, in + 8); in main() 48 print(out + 36, in + 12); in main()
|
| H A D | pwhash_argon2i.c | 83 unsigned char out[256]; in tv() local 156 if (crypto_pwhash(out, sizeof out, "password", strlen("password"), salt, 3, in tv2() 164 if (crypto_pwhash(out, sizeof out, "password", strlen("password"), salt, 3, in tv2() 168 if (crypto_pwhash(out, sizeof out, "password", strlen("password"), salt, 3, in tv2() 172 if (crypto_pwhash(out, sizeof out, "password", strlen("password"), salt, 2, in tv2() 180 if (crypto_pwhash(out, sizeof out, "password", 0x100000000ULL, salt, 3, in tv2() 193 const char *out; in tv3() member 208 char *out; in tv3() local 214 out = (char *) sodium_malloc(strlen(tests[i].out) + 1U); in tv3() 216 memcpy(out, tests[i].out, strlen(tests[i].out) + 1U); in tv3() [all …]
|
| /f-stack/dpdk/examples/pipeline/ |
| H A D | cli.c | 164 char *out, in cmd_mempool() argument 237 char *out, in cmd_link() argument 426 out = &out[strlen(out)]; in cmd_link_show() 433 out = &out[strlen(out)]; in cmd_link_show() 453 char *out, in cmd_pipeline_create() argument 488 char *out, in cmd_pipeline_port_in() argument 620 char *out, in cmd_pipeline_port_out() argument 1036 out += strlen(out); in cmd_pipeline_stats() 1049 out += strlen(out); in cmd_pipeline_stats() 1054 out += strlen(out); in cmd_pipeline_stats() [all …]
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_cli.c | 55 char *out, in cmd_mempool() argument 114 char *out, in cmd_link() argument 158 char *out, in cmd_swq() argument 199 char *out, in cmd_tmgr_shaper_profile() argument 285 char *out, in cmd_tmgr_shared_shaper() argument 5101 out, in cmd_softnic_pipeline_table_rule_add() 5111 out, in cmd_softnic_pipeline_table_rule_add() 5362 out, in cmd_softnic_pipeline_table_rule_add_bulk() 5449 out, in cmd_softnic_pipeline_table_rule_delete() 6531 out, in cli_rule_file_process() [all …]
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | cli.c | 64 char *out, in cmd_mempool() argument 320 out = &out[strlen(out)]; in cmd_link_show() 327 out = &out[strlen(out)]; in cmd_link_show() 4393 out, in cmd_pipeline_table_rule_add() 4403 out, in cmd_pipeline_table_rule_add() 4623 out, in cmd_pipeline_table_rule_add_bulk() 4694 out, in cmd_pipeline_table_rule_delete() 5258 out, in cmd_pipeline_table_rule_stats_read() 5582 out, in cmd_pipeline_table_rule_meter_read() 5828 out, in cmd_pipeline_table_rule_ttl_read() [all …]
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_hexdump.c | 16 unsigned int i, out, ofs; in rte_hexdump() local 28 snprintf(line + out, LINE_LEN - out, in rte_hexdump() 32 out += 3; in rte_hexdump() 37 out += snprintf(line + out, LINE_LEN - out, " | "); in rte_hexdump() 44 out += snprintf(line + out, LINE_LEN - out, "%c", c); in rte_hexdump() 54 unsigned int i, out; in rte_memdump() local 64 if (out >= LINE_LEN - 4) { in rte_memdump() 66 out = 0; in rte_memdump() 67 line[out] = '\0'; in rte_memdump() 69 out += snprintf(line + out, LINE_LEN - out, "%02x%s", in rte_memdump() [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_meter.c | 452 out[3] = RTE_COLOR_RED; in tm_test_srtcm_color_aware_check() 464 out[3] = RTE_COLOR_RED; in tm_test_srtcm_color_aware_check() 473 out[0] = RTE_COLOR_RED; in tm_test_srtcm_color_aware_check() 474 out[1] = RTE_COLOR_RED; in tm_test_srtcm_color_aware_check() 475 out[2] = RTE_COLOR_RED; in tm_test_srtcm_color_aware_check() 476 out[3] = RTE_COLOR_RED; in tm_test_srtcm_color_aware_check() 559 out[3] = RTE_COLOR_RED; in tm_test_trtcm_color_aware_check() 567 out[3] = RTE_COLOR_RED; in tm_test_trtcm_color_aware_check() 572 out[0] = RTE_COLOR_RED; in tm_test_trtcm_color_aware_check() 573 out[1] = RTE_COLOR_RED; in tm_test_trtcm_color_aware_check() [all …]
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | inffast.c | 84 out = strm->next_out; 85 beg = out - (start - strm->avail_out); 86 end = out + (strm->avail_out - 257); 188 *out++ = 0; 240 *out++ = *from++; 241 *out++ = *from++; 242 *out++ = *from++; 246 *out++ = *from++; 290 } while (in < last && out < end); 300 strm->next_out = out; [all …]
|
| /f-stack/tools/libxo/tests/xo/ |
| H A D | Makefile.am | 23 ${addprefix saved/, ${TEST_CASES:.sh=.T.out}} \ 25 ${addprefix saved/, ${TEST_CASES:.sh=.XP.out}} \ 27 ${addprefix saved/, ${TEST_CASES:.sh=.JP.out}} \ 31 ${addprefix saved/, ${TEST_CASES:.sh=.X.out}} \ 33 ${addprefix saved/, ${TEST_CASES:.sh=.J.out}} \ 35 ${addprefix saved/, ${TEST_CASES:.sh=.H.out}} \ 49 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \ 50 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \ 56 @${MKDIR} -p out 74 ${CP} out/$$base.$$fmt.out ${srcdir}/saved/$$base.$$fmt.out ; \ [all …]
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | hash.c | 81 uint32_t out; in hash_variant_verify_key() local 82 out = hash_x86_32(key, i, 256-i); in hash_variant_verify_key() 86 uint64_t out[2]; in hash_variant_verify_key() local 87 hash_x86_128(key, i, 256-i, out); in hash_variant_verify_key() 91 uint64_t out[2]; in hash_variant_verify_key() local 92 hash_x64_128(key, i, 256-i, out); in hash_variant_verify_key() 103 memcpy(final, &out, sizeof(out)); in hash_variant_verify_key() 106 uint64_t out[2]; in hash_variant_verify_key() local 108 memcpy(final, out, sizeof(out)); in hash_variant_verify_key() 111 uint64_t out[2]; in hash_variant_verify_key() local [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/icp/algs/aes/ |
| H A D | aes_modes.c | 32 aes_copy_block(uint8_t *in, uint8_t *out) in aes_copy_block() argument 34 if (IS_P2ALIGNED2(in, out, sizeof (uint32_t))) { in aes_copy_block() 36 *(uint32_t *)&out[0] = *(uint32_t *)&in[0]; in aes_copy_block() 38 *(uint32_t *)&out[4] = *(uint32_t *)&in[4]; in aes_copy_block() 40 *(uint32_t *)&out[8] = *(uint32_t *)&in[8]; in aes_copy_block() 42 *(uint32_t *)&out[12] = *(uint32_t *)&in[12]; in aes_copy_block() 44 AES_COPY_BLOCK(in, out); in aes_copy_block() 73 crypto_data_t *out) in aes_encrypt_contiguous_blocks() argument 79 rv = ctr_mode_contiguous_blocks(ctx, data, length, out, in aes_encrypt_contiguous_blocks() 106 crypto_data_t *out) in aes_decrypt_contiguous_blocks() argument [all …]
|
| /f-stack/tools/libxo/tests/core/ |
| H A D | Makefile.am | 55 ${addprefix saved/, ${TEST_CASES:.c=.T.out}} \ 63 ${addprefix saved/, ${TEST_CASES:.c=.X.out}} \ 65 ${addprefix saved/, ${TEST_CASES:.c=.J.out}} \ 67 ${addprefix saved/, ${TEST_CASES:.c=.H.out}} \ 71 ${addprefix saved/, ${TEST_CASES:.c=.E.out}} 85 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \ 86 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \ 97 @${MKDIR} -p out 131 ${CP} out/$$base.$$fmt.out ${srcdir}/saved/$$base.$$fmt.out ; \ 137 ${CP} out/$$base.$$fmt.out ${srcdir}/saved/$$base.$$fmt.out ; \ [all …]
|
| /f-stack/freebsd/contrib/ngatm/netnatm/msg/ |
| H A D | privmsg.c | 69 out->mtype = *msg->b_rptr++; in uni_decode_head() 77 out->u.hdr.act = UNI_MSGACT_DEFAULT; in uni_decode_head() 81 out->u.hdr.act = *msg->b_rptr & 0x3; in uni_decode_head() 85 out->u.hdr.act = UNI_MSGACT_REPORT; in uni_decode_head() 89 out->u.hdr.pass = 1; in uni_decode_head() 91 out->u.hdr.pass = 0; in uni_decode_head() 234 if (out->mtype >= 256) in uni_decode_body() 236 if (uni_msgtable[out->mtype] == NULL) in uni_decode_body() 238 return (uni_decode_body_internal(out->mtype, msg, &out->u, cx)); in uni_decode_body() 249 if (uni_decode_head(msg, out, cx)) in uni_decode() [all …]
|
| H A D | uni_msg.c | 120 out->connid.h = *hdr; in decode_alerting() 128 out->epref.h = *hdr; in decode_alerting() 136 out->notify.h = *hdr; in decode_alerting() 158 out->uu.h = *hdr; in decode_alerting() 176 out->unrec.h = *hdr; in decode_alerting() 270 out->epref.h = *hdr; in decode_call_proc() 480 out->aal.h = *hdr; in decode_connect() 560 out->uu.h = *hdr; in decode_connect() 867 out->uu.h = *hdr; in decode_release() 1035 out->uu.h = *hdr; in decode_release_compl() [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_core/salsa/ref/ |
| H A D | core_salsa_ref.c | 79 STORE32_LE(out + 0, x0 + j0); in crypto_core_salsa() 80 STORE32_LE(out + 4, x1 + j1); in crypto_core_salsa() 81 STORE32_LE(out + 8, x2 + j2); in crypto_core_salsa() 82 STORE32_LE(out + 12, x3 + j3); in crypto_core_salsa() 83 STORE32_LE(out + 16, x4 + j4); in crypto_core_salsa() 84 STORE32_LE(out + 20, x5 + j5); in crypto_core_salsa() 85 STORE32_LE(out + 24, x6 + j6); in crypto_core_salsa() 86 STORE32_LE(out + 28, x7 + j7); in crypto_core_salsa() 87 STORE32_LE(out + 32, x8 + j8); in crypto_core_salsa() 88 STORE32_LE(out + 36, x9 + j9); in crypto_core_salsa() [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | kern_priv.c | 119 goto out; in priv_check_cred_post() 127 goto out; in priv_check_cred_post() 136 out: in priv_check_cred_post() 171 goto out; in priv_check_cred() 179 goto out; in priv_check_cred() 250 goto out; in priv_check_cred() 266 out: in priv_check_cred() 286 goto out; in priv_check_cred_vfs_lookup_slow() 290 goto out; in priv_check_cred_vfs_lookup_slow() 294 out: in priv_check_cred_vfs_lookup_slow() [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
| H A D | argon2.c | 94 uint8_t *out; in argon2_hash() local 109 if (!out) { in argon2_hash() 113 context.out = (uint8_t *) out; in argon2_hash() 133 free(out); in argon2_hash() 147 free(out); in argon2_hash() 153 free(out); in argon2_hash() 232 free(ctx.out); in argon2_verify() 236 if (!out) { in argon2_verify() 248 free(out); in argon2_verify() 261 free(out); in argon2_verify() [all …]
|
| /f-stack/dpdk/drivers/regex/mlx5/ |
| H A D | mlx5_regex_devx.c | 19 uint32_t out[MLX5_ST_SZ_DW(set_regexp_register_out)] = {0}; in mlx5_devx_regex_register_write() local 29 ret = mlx5_glue->devx_general_cmd(ctx, in, sizeof(in), out, in mlx5_devx_regex_register_write() 30 sizeof(out)); in mlx5_devx_regex_register_write() 52 ret = mlx5_glue->devx_general_cmd(ctx, in, sizeof(in), out, in mlx5_devx_regex_register_read() 53 sizeof(out)); in mlx5_devx_regex_register_read() 66 uint32_t out[MLX5_ST_SZ_DW(set_regexp_params_out)] = {0}; in mlx5_devx_regex_database_stop() local 75 sizeof(out)); in mlx5_devx_regex_database_stop() 87 uint32_t out[MLX5_ST_SZ_DW(set_regexp_params_out)] = {0}; in mlx5_devx_regex_database_resume() local 96 sizeof(out)); in mlx5_devx_regex_database_resume() 109 uint32_t out[MLX5_ST_SZ_DW(set_regexp_params_out)] = {0}; in mlx5_devx_regex_database_program() local [all …]
|
| /f-stack/freebsd/contrib/ngatm/netnatm/misc/ |
| H A D | straddr.c | 60 out[i] = isdigit(c) ? (c - '0') in uni_str2nsap() 63 out[i] <<= 4; in uni_str2nsap() 67 out[i] |= isdigit(c) ? (c - '0') in uni_str2nsap() 156 *out++ = '.'; in uni_prefix2str() 160 *out++ = hex[(*in >> 4) & 0xf]; in uni_prefix2str() 161 *out++ = hex[*in & 0xf]; in uni_prefix2str() 166 *out = '\0'; in uni_prefix2str() 181 *out++ = hex[(*in >> 4) & 0xf]; in uni_prefix2str() 182 *out++ = hex[*in & 0xf]; in uni_prefix2str() 185 *out = '\0'; in uni_prefix2str() [all …]
|
| /f-stack/freebsd/crypto/aesni/ |
| H A D | aesencdec.h | 42 __m128i h, __m128i out[8]) in aesni_enc8() 66 out[0] = _mm_aesenclast_si128(a, keysched[i + 1]); in aesni_enc8() 67 out[1] = _mm_aesenclast_si128(b, keysched[i + 1]); in aesni_enc8() 68 out[2] = _mm_aesenclast_si128(c, keysched[i + 1]); in aesni_enc8() 69 out[3] = _mm_aesenclast_si128(d, keysched[i + 1]); in aesni_enc8() 70 out[4] = _mm_aesenclast_si128(e, keysched[i + 1]); in aesni_enc8() 71 out[5] = _mm_aesenclast_si128(f, keysched[i + 1]); in aesni_enc8() 72 out[6] = _mm_aesenclast_si128(g, keysched[i + 1]); in aesni_enc8() 73 out[7] = _mm_aesenclast_si128(h, keysched[i + 1]); in aesni_enc8() 79 __m128i h, __m128i out[8]) in aesni_dec8() [all …]
|
| /f-stack/dpdk/drivers/net/e1000/base/ |
| H A D | e1000_82541.c | 89 out: in e1000_init_phy_params_82541() 180 out: in e1000_init_nvm_params_82541() 399 out: in e1000_init_hw_82541() 453 out: in e1000_get_link_up_info_82541() 487 out: in e1000_phy_hw_reset_82541() 540 out: in e1000_setup_copper_link_82541() 620 out: in e1000_check_for_link_82541() 824 out: in e1000_config_dsp_after_link_change_82541() 894 out: in e1000_get_cable_length_igp_82541() 992 out: in e1000_set_d3_lplu_state_82541() [all …]
|
| /f-stack/freebsd/contrib/libsodium/dist-build/ |
| H A D | generate-emscripten-symbols.sh | 38 out='"_malloc","_free"' 40 if [ ! -z "$out" ]; then 41 out="${out}," 43 out="${out}\"${symbol}\"" 45 echo "[${out}]" 49 out=$(symbols standard)
|