| /OK3568_Linux_fs/buildroot/dl/rtmpdump/git/librtmp/ |
| H A D | dh.h | 58 static int MDH_generate_key(MDH *dh) in MDH_generate_key() argument 61 MP_set(&dh->ctx.P, dh->p); in MDH_generate_key() 62 MP_set(&dh->ctx.G, dh->g); in MDH_generate_key() 63 dh->ctx.len = 128; in MDH_generate_key() 64 dhm_make_public(&dh->ctx, 1024, out, 1, havege_random, &RTMP_TLS_ctx->hs); in MDH_generate_key() 65 MP_new(dh->pub_key); in MDH_generate_key() 66 MP_new(dh->priv_key); in MDH_generate_key() 67 MP_set(dh->pub_key, &dh->ctx.GX); in MDH_generate_key() 68 MP_set(dh->priv_key, &dh->ctx.X); in MDH_generate_key() 72 static int MDH_compute_key(uint8_t *secret, size_t len, MP_t pub, MDH *dh) in MDH_compute_key() argument [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/openssl/ |
| H A D | dh.h | 84 OPENSSL_EXPORT void DH_free(DH *dh); 87 OPENSSL_EXPORT int DH_up_ref(DH *dh); 93 OPENSSL_EXPORT const BIGNUM *DH_get0_pub_key(const DH *dh); 96 OPENSSL_EXPORT const BIGNUM *DH_get0_priv_key(const DH *dh); 99 OPENSSL_EXPORT const BIGNUM *DH_get0_p(const DH *dh); 102 OPENSSL_EXPORT const BIGNUM *DH_get0_q(const DH *dh); 105 OPENSSL_EXPORT const BIGNUM *DH_get0_g(const DH *dh); 110 OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key, 116 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 120 OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p, [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/openssl/ |
| H A D | dh.h | 84 OPENSSL_EXPORT void DH_free(DH *dh); 87 OPENSSL_EXPORT int DH_up_ref(DH *dh); 93 OPENSSL_EXPORT const BIGNUM *DH_get0_pub_key(const DH *dh); 96 OPENSSL_EXPORT const BIGNUM *DH_get0_priv_key(const DH *dh); 99 OPENSSL_EXPORT const BIGNUM *DH_get0_p(const DH *dh); 102 OPENSSL_EXPORT const BIGNUM *DH_get0_q(const DH *dh); 105 OPENSSL_EXPORT const BIGNUM *DH_get0_g(const DH *dh); 110 OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key, 116 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 120 OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p, [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/openssl/ |
| H A D | dh.h | 84 OPENSSL_EXPORT void DH_free(DH *dh); 87 OPENSSL_EXPORT int DH_up_ref(DH *dh); 93 OPENSSL_EXPORT const BIGNUM *DH_get0_pub_key(const DH *dh); 96 OPENSSL_EXPORT const BIGNUM *DH_get0_priv_key(const DH *dh); 99 OPENSSL_EXPORT const BIGNUM *DH_get0_p(const DH *dh); 102 OPENSSL_EXPORT const BIGNUM *DH_get0_q(const DH *dh); 105 OPENSSL_EXPORT const BIGNUM *DH_get0_g(const DH *dh); 110 OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key, 116 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 120 OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p, [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/openssl/ |
| H A D | dh.h | 84 OPENSSL_EXPORT void DH_free(DH *dh); 87 OPENSSL_EXPORT int DH_up_ref(DH *dh); 93 OPENSSL_EXPORT const BIGNUM *DH_get0_pub_key(const DH *dh); 96 OPENSSL_EXPORT const BIGNUM *DH_get0_priv_key(const DH *dh); 99 OPENSSL_EXPORT const BIGNUM *DH_get0_p(const DH *dh); 102 OPENSSL_EXPORT const BIGNUM *DH_get0_q(const DH *dh); 105 OPENSSL_EXPORT const BIGNUM *DH_get0_g(const DH *dh); 110 OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key, 116 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 120 OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p, [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | xt_dccp.c | 37 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 D | xt_hashlimit.c | 366 struct dsthash_ent *dh; in htable_selective_cleanup() local 370 hlist_for_each_entry_safe(dh, n, &ht->hash[i], node) { in htable_selective_cleanup() 371 if (time_after_eq(jiffies, dh->expires) || select_all) in htable_selective_cleanup() 372 dsthash_free(ht, dh); in htable_selective_cleanup() 529 static void rateinfo_recalc(struct dsthash_ent *dh, unsigned long now, in rateinfo_recalc() argument 532 unsigned long delta = now - dh->rateinfo.prev; in rateinfo_recalc() 539 u64 interval = dh->rateinfo.interval * HZ; in rateinfo_recalc() 544 dh->rateinfo.prev = now; in rateinfo_recalc() 545 dh->rateinfo.prev_window = in rateinfo_recalc() 546 ((dh->rateinfo.current_rate * interval) > in rateinfo_recalc() [all …]
|
| H A D | nf_conntrack_proto_dccp.c | 385 const struct dccp_hdr *dh) in dccp_new() argument 392 state = dccp_state_table[CT_DCCP_ROLE_CLIENT][dh->dccph_type][CT_DCCP_NONE]; in dccp_new() 421 static u64 dccp_ack_seq(const struct dccp_hdr *dh) in dccp_ack_seq() argument 425 dhack = (void *)dh + __dccp_basic_hdr_len(dh); in dccp_ack_seq() 430 static bool dccp_error(const struct dccp_hdr *dh, in dccp_error() argument 438 if (dh->dccph_doff * 4 < sizeof(struct dccp_hdr) || in dccp_error() 439 dh->dccph_doff * 4 > dccp_len) { in dccp_error() 445 if (dh->dccph_cscov) { in dccp_error() 446 cscov = (dh->dccph_cscov - 1) * 4; in dccp_error() 461 if (dh->dccph_type >= DCCP_PKT_INVALID) { in dccp_error() [all …]
|
| /OK3568_Linux_fs/buildroot/package/ibrdtnd/ |
| H A D | 0001-ibrdtnd-added-openssl-compatibility.patch | 45 - write(request, state.dh->pub_key); 46 - write(request, state.dh->p); 47 - write(request, state.dh->g); 48 + DH_get0_pqg(state.dh, &p, NULL, &g); 49 + DH_get0_key(state.dh, &pub_key, NULL); 74 state.dh = DH_new(); 77 - read(data, &state.dh->p); 78 - read(data, &state.dh->g); 82 + if (DH_set0_pqg(state.dh, p, NULL, g)) 91 if (!DH_check(state.dh, &codes)) [all …]
|
| /OK3568_Linux_fs/kernel/net/dccp/ |
| H A D | input.c | 187 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_check_seqno() local 204 if (dh->dccph_type == DCCP_PKT_SYNC || in dccp_check_seqno() 205 dh->dccph_type == DCCP_PKT_SYNCACK) { in dccp_check_seqno() 227 if (dh->dccph_type == DCCP_PKT_CLOSEREQ || in dccp_check_seqno() 228 dh->dccph_type == DCCP_PKT_CLOSE || in dccp_check_seqno() 229 dh->dccph_type == DCCP_PKT_RESET) { in dccp_check_seqno() 239 if (dh->dccph_type != DCCP_PKT_SYNC && in dccp_check_seqno() 264 "sending SYNC...\n", dccp_packet_name(dh->dccph_type), in dccp_check_seqno() 274 if (dh->dccph_type == DCCP_PKT_RESET) in dccp_check_seqno() 284 const struct dccp_hdr *dh, const unsigned int len) in __dccp_rcv_established() argument [all …]
|
| H A D | output.c | 49 struct dccp_hdr *dh; in dccp_transmit_skb() local 51 const u32 dccp_header_size = sizeof(*dh) + in dccp_transmit_skb() 100 dh = dccp_zeroed_hdr(skb, dccp_header_size); in dccp_transmit_skb() 101 dh->dccph_type = dcb->dccpd_type; in dccp_transmit_skb() 102 dh->dccph_sport = inet->inet_sport; in dccp_transmit_skb() 103 dh->dccph_dport = inet->inet_dport; in dccp_transmit_skb() 104 dh->dccph_doff = (dccp_header_size + dcb->dccpd_opt_len) / 4; in dccp_transmit_skb() 105 dh->dccph_ccval = dcb->dccpd_ccval; in dccp_transmit_skb() 106 dh->dccph_cscov = dp->dccps_pcslen; in dccp_transmit_skb() 108 dh->dccph_x = 1; in dccp_transmit_skb() [all …]
|
| H A D | ipv4.c | 236 const struct dccp_hdr *dh; in dccp_v4_err() local 252 dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v4_err() 255 iph->daddr, dh->dccph_dport, in dccp_v4_err() 256 iph->saddr, ntohs(dh->dccph_sport), in dccp_v4_err() 267 seq = dccp_hdr_seq(dh); in dccp_v4_err() 372 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_check() local 375 dh->dccph_checksum = dccp_v4_csum_finish(skb, in dccp_v4_send_check() 493 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_response() local 495 dh->dccph_checksum = dccp_v4_csum_finish(skb, ireq->ir_loc_addr, in dccp_v4_send_response() 656 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_do_rcv() local [all …]
|
| H A D | dccp.h | 202 const struct dccp_hdr* dh = dccp_hdr(skb); in dccp_csum_coverage() local 204 if (dh->dccph_cscov == 0) in dccp_csum_coverage() 206 return (dh->dccph_doff + dh->dccph_cscov - 1) * sizeof(u32); in dccp_csum_coverage() 282 struct dccp_hdr *dh, unsigned int len); 284 const struct dccp_hdr *dh, const unsigned int len); 389 static inline void dccp_hdr_set_seq(struct dccp_hdr *dh, const u64 gss) in dccp_hdr_set_seq() argument 391 struct dccp_hdr_ext *dhx = (struct dccp_hdr_ext *)((void *)dh + in dccp_hdr_set_seq() 392 sizeof(*dh)); in dccp_hdr_set_seq() 393 dh->dccph_seq2 = 0; in dccp_hdr_set_seq() 394 dh->dccph_seq = htons((gss >> 32) & 0xfffff); in dccp_hdr_set_seq()
|
| H A D | ipv6.c | 52 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_check() local 55 dh->dccph_checksum = dccp_v6_csum_finish(skb, &np->saddr, &sk->sk_v6_daddr); in dccp_v6_send_check() 71 const struct dccp_hdr *dh; in dccp_v6_err() local 85 dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v6_err() 88 &hdr->daddr, dh->dccph_dport, in dccp_v6_err() 89 &hdr->saddr, ntohs(dh->dccph_sport), in dccp_v6_err() 102 seq = dccp_hdr_seq(dh); in dccp_v6_err() 222 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_response() local 225 dh->dccph_checksum = dccp_v6_csum_finish(skb, in dccp_v6_send_response() 689 const struct dccp_hdr *dh; in dccp_v6_rcv() local [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/openssl/ |
| H A D | dh.h | 81 OPENSSL_EXPORT void DH_free(DH *dh); 84 OPENSSL_EXPORT int DH_up_ref(DH *dh); 92 OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key, 98 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 102 OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p, 109 OPENSSL_EXPORT int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); 133 OPENSSL_EXPORT int DH_generate_parameters_ex(DH *dh, int prime_bits, 141 OPENSSL_EXPORT int DH_generate_key(DH *dh); 148 DH *dh); 154 OPENSSL_EXPORT int DH_size(const DH *dh); [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/openssl/ |
| H A D | dh.h | 81 OPENSSL_EXPORT void DH_free(DH *dh); 84 OPENSSL_EXPORT int DH_up_ref(DH *dh); 92 OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key, 98 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 102 OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p, 109 OPENSSL_EXPORT int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); 133 OPENSSL_EXPORT int DH_generate_parameters_ex(DH *dh, int prime_bits, 141 OPENSSL_EXPORT int DH_generate_key(DH *dh); 148 DH *dh); 154 OPENSSL_EXPORT int DH_size(const DH *dh); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/firmware/ |
| H A D | dmi-sysfs.c | 35 struct dmi_header dh; member 70 const struct dmi_header *dh, 116 const struct dmi_header *dh, void *); 126 static void find_dmi_entry_helper(const struct dmi_header *dh, in find_dmi_entry_helper() argument 133 if (dh->type != entry->dh.type) in find_dmi_entry_helper() 149 data->ret = data->callback(entry, dh, data->private); in find_dmi_entry_helper() 183 static size_t dmi_entry_length(const struct dmi_header *dh) in dmi_entry_length() argument 185 const char *p = (const char *)dh; in dmi_entry_length() 187 p += dh->length; in dmi_entry_length() 192 return 2 + p - (const char *)dh; in dmi_entry_length() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | dccp.h | 78 static inline struct dccp_hdr_ext *dccp_hdrx(const struct dccp_hdr *dh) in dccp_hdrx() argument 80 return (struct dccp_hdr_ext *)((unsigned char *)dh + sizeof(*dh)); in dccp_hdrx() 83 static inline unsigned int __dccp_basic_hdr_len(const struct dccp_hdr *dh) in __dccp_basic_hdr_len() argument 85 return sizeof(*dh) + (dh->dccph_x ? sizeof(struct dccp_hdr_ext) : 0); in __dccp_basic_hdr_len() 90 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_basic_hdr_len() local 91 return __dccp_basic_hdr_len(dh); in dccp_basic_hdr_len() 94 static inline __u64 dccp_hdr_seq(const struct dccp_hdr *dh) in dccp_hdr_seq() argument 96 __u64 seq_nr = ntohs(dh->dccph_seq); in dccp_hdr_seq() 98 if (dh->dccph_x != 0) in dccp_hdr_seq() 99 seq_nr = (seq_nr << 32) + ntohl(dccp_hdrx(dh)->dccph_seq_low); in dccp_hdr_seq() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/openssl/include/openssl/ |
| H A D | dh.h | 120 int (*generate_key) (DH *dh); 121 int (*compute_key) (unsigned char *key, const BIGNUM *pub_key, DH *dh); 123 int (*bn_mod_exp) (const DH *dh, BIGNUM *r, const BIGNUM *a, 126 int (*init) (DH *dh); 127 int (*finish) (DH *dh); 131 int (*generate_params) (DH *dh, int prime_len, int generator, 215 int DH_set_method(DH *dh, const DH_METHOD *meth); 219 void DH_free(DH *dh); 220 int DH_up_ref(DH *dh); 221 int DH_size(const DH *dh); [all …]
|
| /OK3568_Linux_fs/buildroot/package/pound/ |
| H A D | 0001-fix-openssl-1.0.2.patch | 32 +# include <openssl/dh.h> 68 + DH *dh = DH_new(); 71 + if (dh == NULL) 76 + || !DH_set0_pqg(dh, dhp_bn, NULL, dhg_bn)) { 77 + DH_free(dh); 82 + return dh; 94 +static inline int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) 99 + if ((dh->p == NULL && p == NULL) 100 + || (dh->g == NULL && g == NULL)) 104 + BN_free(dh->p); [all …]
|
| /OK3568_Linux_fs/kernel/fs/quota/ |
| H A D | quota_tree.c | 96 struct qt_disk_dqdbheader *dh) in check_dquot_block_header() argument 101 le32_to_cpu(dh->dqdh_next_free), 0, in check_dquot_block_header() 106 le32_to_cpu(dh->dqdh_prev_free), 0, in check_dquot_block_header() 116 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in get_free_dqblk() local 126 ret = check_dquot_block_header(info, dh); in get_free_dqblk() 129 info->dqi_free_blk = le32_to_cpu(dh->dqdh_next_free); in get_free_dqblk() 149 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in put_free_dqblk() local 152 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_blk); in put_free_dqblk() 153 dh->dqdh_prev_free = cpu_to_le32(0); in put_free_dqblk() 154 dh->dqdh_entries = cpu_to_le16(0); in put_free_dqblk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/ |
| H A D | qat_asym_algs.c | 117 struct qat_dh_input_params dh; member 121 struct qat_dh_output_params dh; member 130 struct qat_dh_ctx *dh; member 134 struct kpp_request *dh; member 143 struct kpp_request *areq = req->areq.dh; in qat_dh_cb() 144 struct device *dev = &GET_DEV(req->ctx.dh->inst->accel_dev); in qat_dh_cb() 152 dma_free_coherent(dev, req->ctx.dh->p_size, in qat_dh_cb() 153 req->src_align, req->in.dh.in.b); in qat_dh_cb() 155 dma_unmap_single(dev, req->in.dh.in.b, in qat_dh_cb() 156 req->ctx.dh->p_size, DMA_TO_DEVICE); in qat_dh_cb() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/hpre/ |
| H A D | hpre_crypto.c | 82 struct hpre_dh_ctx dh; member 93 struct kpp_request *dh; member 376 areq = req->areq.dh; in hpre_dh_cb() 471 h_req->areq.dh = kreq; in hpre_msg_request_set() 474 msg->key = cpu_to_le64(ctx->dh.dma_xa_p); in hpre_msg_request_set() 532 msg->in = cpu_to_le64(ctx->dh.dma_g); in hpre_dh_compute_value() 577 static int hpre_dh_set_params(struct hpre_ctx *ctx, struct dh *params) in hpre_dh_set_params() 590 ctx->dh.xa_p = dma_alloc_coherent(dev, sz << 1, in hpre_dh_set_params() 591 &ctx->dh.dma_xa_p, GFP_KERNEL); in hpre_dh_set_params() 592 if (!ctx->dh.xa_p) in hpre_dh_set_params() [all …]
|
| /OK3568_Linux_fs/kernel/include/crypto/ |
| H A D | dh.h | 34 struct dh { struct 55 unsigned int crypto_dh_key_len(const struct dh *params); argument 70 int crypto_dh_encode_key(char *buf, unsigned int len, const struct dh *params); 84 int crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params);
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/i18n/locales/ |
| H A D | om_KE | 72 % &Z<ch<<<Ch<<<CH<dh<<<Dh<<<DH<kh<<<Kh<<<KH<ny<<<Ny<<<NY<ph<<<Ph<<<PH<sh<<<Sh 90 collating-symbol <dh-digraph> 91 collating-element <dh> from "dh" 118 <dh-digraph> 128 <dh> <dh-digraph>;"<BASE><BASE>";"<MIN><MIN>";IGNORE 129 <dH> <dh-digraph>;"<BASE><BASE>";"<MIN><CAP>";IGNORE 130 <Dh> <dh-digraph>;"<BASE><BASE>";"<CAP><MIN>";IGNORE 131 <DH> <dh-digraph>;"<BASE><BASE>";"<CAP><CAP>";IGNORE
|