Home
last modified time | relevance | path

Searched refs:out_len (Results 1 – 15 of 15) sorted by relevance

/f-stack/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_cfg.c173 u16 in_len, out_len; in get_cap_from_fw() local
178 out_len = in_len; in get_cap_from_fw()
181 &dev_cap, in_len, &dev_cap, &out_len, 0); in get_cap_from_fw()
182 if (err || dev_cap.mgmt_msg_head.status || !out_len) { in get_cap_from_fw()
184 err, dev_cap.mgmt_msg_head.status, out_len); in get_cap_from_fw()
195 u16 in_len, out_len; in get_cap_from_pf() local
200 out_len = in_len; in get_cap_from_pf()
202 &dev_cap, in_len, &dev_cap, &out_len, in get_cap_from_pf()
204 if (err || dev_cap.mgmt_msg_head.status || !out_len) { in get_cap_from_pf()
206 err, dev_cap.mgmt_msg_head.status, out_len); in get_cap_from_pf()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dhkdf.c43 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() argument
49 uint_t N = (out_len + SHA512_DIGEST_LENGTH) / SHA512_DIGEST_LENGTH; in hkdf_sha512_expand()
69 (i != N) ? SHA512_DIGEST_LENGTH : (out_len - pos)); in hkdf_sha512_expand()
86 uint_t out_len) in hkdf_sha512() argument
97 out_len); in hkdf_sha512()
/f-stack/lib/
H A Dff_dpdk_pcap.c88 unsigned int out_len = 0, wr_len = 0; in ff_dump_packets() local
106 while(pkt != NULL && out_len <= snap_len) { in ff_dump_packets()
107 wr_len = snap_len - out_len; in ff_dump_packets()
110 out_len += wr_len; in ff_dump_packets()
113 g_flen += out_len; in ff_dump_packets()
/f-stack/freebsd/contrib/libsodium/test/default/
H A Dxchacha20.c110 size_t out_len; in tv_stream_xchacha20() local
124 tv->out, strlen(tv->out), NULL, &out_len, NULL); in tv_stream_xchacha20()
125 out2 = (unsigned char *) sodium_malloc(out_len); in tv_stream_xchacha20()
126 crypto_stream_xchacha20(out2, out_len, nonce, key); in tv_stream_xchacha20()
127 assert(memcmp(out, out2, out_len) == 0); in tv_stream_xchacha20()
128 crypto_stream_xchacha20_xor(out2, out, out_len, nonce, key); in tv_stream_xchacha20()
129 assert(sodium_is_zero(out2, out_len)); in tv_stream_xchacha20()
131 assert(sodium_is_zero(out2, out_len)); in tv_stream_xchacha20()
133 assert(!sodium_is_zero(out2, out_len)); in tv_stream_xchacha20()
134 crypto_stream_xchacha20_xor(out, out, out_len, nonce, key); in tv_stream_xchacha20()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dhkdf.c65 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() argument
74 uint_t N = (out_len + SHA512_DIGEST_LENGTH) / SHA512_DIGEST_LENGTH; in hkdf_sha512_expand()
138 (i != N) ? SHA512_DIGEST_LENGTH : (out_len - pos)); in hkdf_sha512_expand()
155 uint_t out_len) in hkdf_sha512() argument
166 out_len); in hkdf_sha512()
/f-stack/app/redis-5.0.5/src/
H A Dlzf.h78 void *out_data, unsigned int out_len);
97 void *out_data, unsigned int out_len);
H A Dlzf_c.c100 void *out_data, unsigned int out_len in lzf_compress() argument
112 u8 *out_end = op + out_len; in lzf_compress()
130 if (!in_len || !out_len) in lzf_compress()
H A Dlzf_d.c61 void *out_data, unsigned int out_len) in lzf_decompress() argument
66 u8 *const out_end = op + out_len; in lzf_decompress()
/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Daes.c626 size_t saved_length, out_len; in aes_encrypt_update() local
636 out_len = aes_ctx->ac_remainder_len; in aes_encrypt_update()
637 out_len += plaintext->cd_length; in aes_encrypt_update()
638 out_len &= ~(AES_BLOCK_LEN - 1); in aes_encrypt_update()
641 if (ciphertext->cd_length < out_len) { in aes_encrypt_update()
642 ciphertext->cd_length = out_len; in aes_encrypt_update()
696 size_t saved_length, out_len; in aes_decrypt_update() local
711 out_len = aes_ctx->ac_remainder_len; in aes_decrypt_update()
712 out_len += ciphertext->cd_length; in aes_decrypt_update()
713 out_len &= ~(AES_BLOCK_LEN - 1); in aes_decrypt_update()
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dhkdf.h27 uint_t out_len);
/f-stack/dpdk/drivers/baseband/turbo_sw/
H A Dbbdev_turbo_software.c724 uint16_t out_len = (e + 7) >> 3; in process_enc_cb() local
731 rm_out = (uint8_t *)mbuf_append(m_out_head, m_out, out_len); in process_enc_cb()
771 rm_resp.OutputLen = out_len; in process_enc_cb()
794 rm_out[out_len - 1] &= mask_out[mask_id]; in process_enc_cb()
854 uint16_t msgLen, puntBits, parity_offset, out_len; in process_ldpc_enc_cb() local
915 out_len = (e + 7) >> 3; in process_ldpc_enc_cb()
917 rm_out = (uint8_t *)mbuf_append(m_out_head, m_out, out_len); in process_ldpc_enc_cb()
950 q->deint_output[out_len-1] &= (1 << (e % 8)) - 1; in process_ldpc_enc_cb()
952 bblib_bit_reverse((int8_t *) q->deint_output, out_len << 3); in process_ldpc_enc_cb()
954 rte_memcpy(rm_out, q->deint_output, out_len); in process_ldpc_enc_cb()
[all …]
/f-stack/dpdk/drivers/net/atlantic/hw_atl/
H A Dhw_atl_utils.h45 u32 out_len:16; member
/f-stack/dpdk/drivers/common/mlx5/
H A Dmlx5_devx_cmds.c151 int out_len = MLX5_ST_SZ_BYTES(query_flow_counter_out) + in mlx5_devx_cmd_flow_counter_query() local
153 uint32_t out[out_len]; in mlx5_devx_cmd_flow_counter_query()
174 out_len); in mlx5_devx_cmd_flow_counter_query()
177 out_len, async_id, in mlx5_devx_cmd_flow_counter_query()
/f-stack/dpdk/drivers/crypto/dpaa_sec/
H A Ddpaa_sec.c1617 uint32_t in_len = 0, out_len = 0; in build_proto_sg() local
1649 out_len += sg->length; in build_proto_sg()
1657 out_len += sg->length; in build_proto_sg()
1661 out_sg->length = out_len; in build_proto_sg()
/f-stack/dpdk/drivers/crypto/dpaa2_sec/
H A Ddpaa2_sec_dpseci.c73 uint32_t in_len = 0, out_len = 0; in build_proto_compound_sg_fd() local
124 out_len += sge->length; in build_proto_compound_sg_fd()
132 out_len += sge->length; in build_proto_compound_sg_fd()
135 op_fle->length = out_len; in build_proto_compound_sg_fd()