Home
last modified time | relevance | path

Searched full:dh (Results 1 – 25 of 157) sorted by relevance

1234567

/linux/include/crypto/
H A Ddh.h12 * DOC: DH Helper Functions
14 * To use DH with the KPP cipher API, the following data structure and
17 * To use DH with KPP, the following functions should be used to operate on
18 * a DH private key. The packet private key that can be set with
23 * struct dh - define a DH private key
25 * @key: Private DH key
28 * @key_size: Size of the private DH key
29 * @p_size: Size of DH parameter P
30 * @g_size: Size of DH generator G
32 struct dh { struct
[all …]
/linux/net/netfilter/
H A Dxt_dccp.c37 const struct dccp_hdr *dh, in dccp_find_option() argument
42 unsigned int optoff = __dccp_hdr_len(dh); in dccp_find_option()
43 unsigned int optlen = dh->dccph_doff*4 - __dccp_hdr_len(dh); in dccp_find_option()
46 if (dh->dccph_doff * 4 < __dccp_hdr_len(dh)) in dccp_find_option()
83 match_types(const struct dccp_hdr *dh, u_int16_t typemask) in match_types() argument
85 return typemask & (1 << dh->dccph_type); in match_types()
90 const struct dccp_hdr *dh, bool *hotdrop) in match_option() argument
92 return dccp_find_option(option, skb, protoff, dh, hotdrop); in match_option()
99 const struct dccp_hdr *dh; in dccp_mt() local
105 dh = skb_header_pointer(skb, par->thoff, sizeof(_dh), &_dh); in dccp_mt()
[all …]
H A Dxt_hashlimit.c365 struct dsthash_ent *dh; in htable_selective_cleanup() local
372 hlist_for_each_entry_safe(dh, n, head, node) { in htable_selective_cleanup()
373 if (time_after_eq(jiffies, dh->expires) || select_all) in htable_selective_cleanup()
374 dsthash_free(ht, dh); in htable_selective_cleanup()
531 static void rateinfo_recalc(struct dsthash_ent *dh, unsigned long now, in rateinfo_recalc() argument
534 unsigned long delta = now - dh->rateinfo.prev; in rateinfo_recalc()
541 u64 interval = dh->rateinfo.interval * HZ; in rateinfo_recalc()
546 dh->rateinfo.prev = now; in rateinfo_recalc()
547 dh->rateinfo.prev_window = in rateinfo_recalc()
548 ((dh->rateinfo.current_rate * interval) > in rateinfo_recalc()
[all …]
/linux/Documentation/devicetree/bindings/arm/stm32/
H A Dstm32.yaml75 - description: DH STM32MP135 DHCOR SoM based Boards
77 - const: dh,stm32mp135f-dhcor-dhsbc
78 - const: dh,stm32mp135f-dhcor-som
81 - description: DH STM32MP151 DHCOR SoM based Boards
83 - const: dh,stm32mp151a-dhcor-testbench
84 - const: dh,stm32mp151a-dhcor-som
93 - description: DH STM32MP153 DHCOM SoM based Boards
95 - const: dh,stm32mp153c-dhcom-drc02
96 - const: dh,stm32mp153c-dhcom-som
99 - description: DH STM32MP153 DHCOR SoM based Boards
[all …]
/linux/net/dccp/
H A Dinput.c
H A Dipv4.c
H A Doutput.c
H A Dipv6.c
H A Ddccp.h
/linux/fs/quota/
H A Dquota_tree.c93 struct qt_disk_dqdbheader *dh) in check_dquot_block_header() argument
98 le32_to_cpu(dh->dqdh_next_free), 0, in check_dquot_block_header()
103 le32_to_cpu(dh->dqdh_prev_free), 0, in check_dquot_block_header()
108 le16_to_cpu(dh->dqdh_entries), 0, in check_dquot_block_header()
118 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in get_free_dqblk() local
128 ret = check_dquot_block_header(info, dh); in get_free_dqblk()
131 info->dqi_free_blk = le32_to_cpu(dh->dqdh_next_free); in get_free_dqblk()
151 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in put_free_dqblk() local
154 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_blk); in put_free_dqblk()
155 dh->dqdh_prev_free = cpu_to_le32(0); in put_free_dqblk()
[all …]
/linux/net/netfilter/ipvs/
H A Dip_vs_dh.c14 * The dh algorithm is to select server by the hash key of destination IP
26 * array. If the dh scheduler is used in cache cluster, it is good to
47 * IPVS DH bucket
54 * for IPVS DH entry hash table
69 * Returns hash value for IPVS DH entry
156 /* allocate the DH table for this service */ in ip_vs_dh_init_svc()
162 IP_VS_DBG(6, "DH hash table (memory=%zdbytes) allocated for " in ip_vs_dh_init_svc()
182 IP_VS_DBG(6, "DH hash table (memory=%zdbytes) released\n", in ip_vs_dh_done_svc()
231 IP_VS_DBG_BUF(6, "DH: destination IP address %s --> server %s:%d\n", in ip_vs_dh_schedule()
241 * IPVS DH Scheduler structure
[all …]
/linux/security/keys/
H A Ddh.c13 #include <crypto/dh.h>
60 static void dh_free_data(struct dh *dh) in dh_free_data() argument
62 kfree_sensitive(dh->key); in dh_free_data()
63 kfree_sensitive(dh->p); in dh_free_data()
64 kfree_sensitive(dh->g); in dh_free_data()
131 struct dh dh_inputs; in __keyctl_dh_compute()
210 tfm = crypto_alloc_kpp("dh", 0, 0); in __keyctl_dh_compute()
258 * For DH, generate_public_key and generate_shared_secret are in __keyctl_dh_compute()
268 * Concatenate SP800-56A otherinfo past DH shared secret -- the in __keyctl_dh_compute()
269 * input to the KDF is (DH shared secret || otherinfo) in __keyctl_dh_compute()
H A Dcompat_dh.c2 /* 32-bit compatibility syscall for 64-bit systems for DH operations
12 * Perform the DH computation or DH based key derivation.
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c9 #include <crypto/dh.h>
120 struct qat_dh_input_params dh; member
124 struct qat_dh_output_params dh; member
133 struct qat_dh_ctx *dh; member
137 struct kpp_request *dh; member
161 struct kpp_request *areq = req->areq.dh; in qat_dh_cb()
162 struct device *dev = &GET_DEV(req->ctx.dh->inst->accel_dev); in qat_dh_cb()
169 dma_unmap_single(dev, req->in.dh.in.b, req->ctx.dh->p_size, in qat_dh_cb()
174 areq->dst_len = req->ctx.dh->p_size; in qat_dh_cb()
175 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb()
[all …]
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c4 #include <crypto/dh.h>
119 struct hpre_dh_ctx dh; member
135 struct kpp_request *dh; member
288 /* when the data is dh's source, we should format it */ in hpre_hw_data_init()
435 areq = req->areq.dh; in hpre_dh_cb()
540 h_req->areq.dh = kreq; in hpre_msg_request_set()
543 msg->key = cpu_to_le64(ctx->dh.dma_xa_p); in hpre_msg_request_set()
604 msg->in = cpu_to_le64(ctx->dh.dma_g); in hpre_dh_compute_value()
649 static int hpre_dh_set_params(struct hpre_ctx *ctx, struct dh *params) in hpre_dh_set_params()
662 ctx->dh.xa_p = dma_alloc_coherent(dev, sz << 1, in hpre_dh_set_params()
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-dhcom-picoitx.dts3 * Copyright (C) 2023 DH electronics GmbH
17 model = "DH electronics i.MX6ULL DHCOM on PicoITX";
18 compatible = "dh,imx6ull-dhcom-picoitx", "dh,imx6ull-dhcom-som",
19 "dh,imx6ull-dhcor-som", "fsl,imx6ull";
H A Dimx6ull-dhcom-drc02.dts3 * Copyright (C) 2023 DH electronics GmbH
17 model = "DH electronics i.MX6ULL DHCOM on DRC02";
18 compatible = "dh,imx6ull-dhcom-drc02", "dh,imx6ull-dhcom-som",
19 "dh,imx6ull-dhcor-som", "fsl,imx6ull";
/linux/crypto/
H A Ddh_helper.c10 #include <crypto/dh.h>
29 static inline unsigned int dh_data_size(const struct dh *p) in dh_data_size()
34 unsigned int crypto_dh_key_len(const struct dh *p) in crypto_dh_key_len()
40 int crypto_dh_encode_key(char *buf, unsigned int len, const struct dh *params) in crypto_dh_encode_key()
66 int __crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params) in __crypto_dh_decode_key()
94 int crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params) in crypto_dh_decode_key()
/linux/include/linux/platform_data/x86/
H A Dsimatic-ipc.h69 simatic_ipc_find_dmi_entry_helper(const struct dmi_header *dh, void *_data) in simatic_ipc_find_dmi_entry_helper() argument
73 if (dh->type != SIMATIC_IPC_DMI_ENTRY_OEM) in simatic_ipc_find_dmi_entry_helper()
76 *id = simatic_ipc_get_station_id((u8 *)dh, dh->length); in simatic_ipc_find_dmi_entry_helper()
/linux/arch/arm/boot/dts/st/
H A Dstm32mp151a-dhcor-testbench.dts13 model = "DH electronics STM32MP151A DHCOR Testbench";
14 compatible = "dh,stm32mp151a-dhcor-testbench",
15 "dh,stm32mp151a-dhcor-som",
H A Dstm32mp153c-dhcor-drc-compact.dts19 model = "DH electronics STM32MP153C DHCOR DRC Compact";
20 compatible = "dh,stm32mp153c-dhcor-drc-compact",
21 "dh,stm32mp153c-dhcor-som",
H A Dstm32mp157c-dhcom-pdk2.dts18 model = "DH electronics STM32MP157C DHCOM Premium Developer Kit (2)";
19 compatible = "dh,stm32mp157c-dhcom-pdk2", "dh,stm32mp157c-dhcom-som",
H A Dstm32mp157c-dhcom-picoitx.dts18 model = "DH electronics STM32MP157C DHCOM PicoITX";
19 compatible = "dh,stm32mp157c-dhcom-picoitx", "dh,stm32mp157c-dhcom-som",
H A Dstm32mp153c-dhcom-drc02.dts18 model = "DH electronics STM32MP153C DHCOM DRC02";
19 compatible = "dh,stm32mp153c-dhcom-drc02", "dh,stm32mp153c-dhcom-som",
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-hid-wiimote7 Contact: David Herrmann <dh.herrmann@googlemail.com>
15 Contact: David Herrmann <dh.herrmann@gmail.com>
32 Contact: David Herrmann <dh.herrmann@gmail.com>
54 Contact: David Herrmann <dh.herrmann@gmail.com>
70 Contact: David Herrmann <dh.herrmann@gmail.com>

1234567