Home
last modified time | relevance | path

Searched refs:pub (Results 1 – 25 of 214) sorted by relevance

123456789

/linux/crypto/asymmetric_keys/
H A Dpkcs8_parser.c21 struct public_key *pub; member
76 ctx->pub->pkey_algo = "rsa"; in pkcs8_note_algo()
100 struct public_key *pub; in pkcs8_parse() local
106 ctx.pub = kzalloc(sizeof(struct public_key), GFP_KERNEL); in pkcs8_parse()
107 if (!ctx.pub) in pkcs8_parse()
118 pub = ctx.pub; in pkcs8_parse()
119 pub->key = kmemdup(ctx.key, ctx.key_size, GFP_KERNEL); in pkcs8_parse()
120 if (!pub->key) in pkcs8_parse()
123 pub->keylen = ctx.key_size; in pkcs8_parse()
124 pub->key_is_private = true; in pkcs8_parse()
[all …]
H A Dx509_cert_parser.c47 public_key_free(cert->pub); in x509_free_certificate()
71 cert->pub = kzalloc(sizeof(struct public_key), GFP_KERNEL); in x509_cert_parse()
72 if (!cert->pub) in x509_cert_parse()
101 cert->pub->key = kmemdup(ctx->key, ctx->key_size, GFP_KERNEL); in x509_cert_parse()
102 if (!cert->pub->key) in x509_cert_parse()
105 cert->pub->keylen = ctx->key_size; in x509_cert_parse()
107 cert->pub->params = kmemdup(ctx->params, ctx->params_size, GFP_KERNEL); in x509_cert_parse()
108 if (!cert->pub->params) in x509_cert_parse()
111 cert->pub->paramlen = ctx->params_size; in x509_cert_parse()
112 cert->pub->algo = ctx->key_algo; in x509_cert_parse()
[all …]
H A Dx509_public_key.c125 ret = public_key_verify_signature(cert->pub, cert->sig); in x509_check_for_self_signed()
163 pr_devel("Cert Key Algo: %s\n", cert->pub->pkey_algo); in x509_key_preparse()
166 cert->pub->id_type = "X509"; in x509_key_preparse()
215 prep->payload.data[asym_crypto] = cert->pub; in x509_key_preparse()
221 cert->pub = NULL; in x509_key_preparse()
/linux/drivers/clk/renesas/
H A Drenesas-cpg-mssr.c197 struct cpg_mssr_pub pub; member
245 RZT2H_MSTPCR_BLOCK(offset) ? priv->pub.base1 : priv->pub.base0; in cpg_rzt2h_mstp_read()
255 RZT2H_MSTPCR_BLOCK(offset) ? priv->pub.base1 : priv->pub.base0; in cpg_rzt2h_mstp_write()
274 spin_lock_irqsave(&priv->pub.rmw_lock, flags); in cpg_mstp_clock_endisable()
277 value = readb(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
282 writeb(value, priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
285 readb(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
286 barrier_data(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
301 value = readl(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
306 writel(value, priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
[all …]
H A Dr9a09g077-cpg.c230 void __iomem *addr, struct cpg_mssr_pub *pub) in r9a09g077_cpg_div_clk_register() argument
236 parent = pub->clks[core->parent]; in r9a09g077_cpg_div_clk_register()
251 &pub->rmw_lock); in r9a09g077_cpg_div_clk_register()
259 core->flag, &pub->rmw_lock); in r9a09g077_cpg_div_clk_register()
270 void __iomem *addr, struct cpg_mssr_pub *pub) in r9a09g077_cpg_mux_clk_register() argument
280 core->mux_flags, &pub->rmw_lock); in r9a09g077_cpg_mux_clk_register()
290 struct cpg_mssr_pub *pub) in r9a09g077_cpg_clk_register() argument
293 void __iomem *base = RZT2H_REG_BLOCK(offset) ? pub->base1 : pub->base0; in r9a09g077_cpg_clk_register()
298 return r9a09g077_cpg_div_clk_register(dev, core, addr, pub); in r9a09g077_cpg_clk_register()
300 return r9a09g077_cpg_mux_clk_register(dev, core, addr, pub); in r9a09g077_cpg_clk_register()
/linux/net/mac80211/
H A Dvht.c122 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap()
130 if (!link_sta->pub->ht_cap.ht_supported) in ieee80211_vht_cap_ie_to_sta_vht_cap()
320 link_sta->pub->bandwidth = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_vht_cap_ie_to_sta_vht_cap()
338 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_11454; in ieee80211_vht_cap_ie_to_sta_vht_cap()
341 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_7991; in ieee80211_vht_cap_ie_to_sta_vht_cap()
345 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_3895; in ieee80211_vht_cap_ie_to_sta_vht_cap()
359 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in __ieee80211_sta_cap_rx_bw()
360 struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in __ieee80211_sta_cap_rx_bw()
361 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->pub->eht_cap; in __ieee80211_sta_cap_rx_bw()
405 return link_sta->pub->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ? in __ieee80211_sta_cap_rx_bw()
[all …]
H A Deht.c18 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->pub->eht_cap; in ieee80211_eht_cap_ie_to_sta_eht_cap()
77 link_sta->pub->bandwidth = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_eht_cap_ie_to_sta_eht_cap()
89 link_sta->pub->agg.max_amsdu_len = in ieee80211_eht_cap_ie_to_sta_eht_cap()
93 link_sta->pub->agg.max_amsdu_len = in ieee80211_eht_cap_ie_to_sta_eht_cap()
98 link_sta->pub->agg.max_amsdu_len = in ieee80211_eht_cap_ie_to_sta_eht_cap()
H A Dht.c244 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_7935; in ieee80211_ht_cap_ie_to_sta_ht_cap()
246 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_3839; in ieee80211_ht_cap_ie_to_sta_ht_cap()
251 changed = memcmp(&link_sta->pub->ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap()
253 memcpy(&link_sta->pub->ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap()
281 link_sta->pub->bandwidth = bw; in ieee80211_ht_cap_ie_to_sta_ht_cap()
305 if (smps_mode != link_sta->pub->smps_mode) in ieee80211_ht_cap_ie_to_sta_ht_cap()
307 link_sta->pub->smps_mode = smps_mode; in ieee80211_ht_cap_ie_to_sta_ht_cap()
309 link_sta->pub->smps_mode = IEEE80211_SMPS_OFF; in ieee80211_ht_cap_ie_to_sta_ht_cap()
628 if (link_sta->pub->bandwidth == new_bw) in ieee80211_ht_handle_chanwidth_notif()
631 link_sta->pub->bandwidth = new_bw; in ieee80211_ht_handle_chanwidth_notif()
/linux/net/wireless/
H A Dscan.c87 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free()
88 if (ies && !bss->pub.hidden_beacon_bss) in bss_free()
90 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free()
111 if (bss->pub.hidden_beacon_bss) in bss_ref_get()
112 bss_from_pub(bss->pub.hidden_beacon_bss)->refcount++; in bss_ref_get()
114 if (bss->pub.transmitted_bss) in bss_ref_get()
115 bss_from_pub(bss->pub.transmitted_bss)->refcount++; in bss_ref_get()
123 if (bss->pub.hidden_beacon_bss) { in bss_ref_put()
126 hbss = bss_from_pub(bss->pub.hidden_beacon_bss); in bss_ref_put()
132 if (bss->pub in bss_ref_put()
3338 cfg80211_ref_bss(struct wiphy * wiphy,struct cfg80211_bss * pub) cfg80211_ref_bss() argument
3351 cfg80211_put_bss(struct wiphy * wiphy,struct cfg80211_bss * pub) cfg80211_put_bss() argument
3364 cfg80211_unlink_bss(struct wiphy * wiphy,struct cfg80211_bss * pub) cfg80211_unlink_bss() argument
[all...]
H A Dcore.h209 struct cfg80211_bss pub; member
212 static inline struct cfg80211_internal_bss *bss_from_pub(struct cfg80211_bss *pub) in bss_from_pub() argument
214 return container_of(pub, struct cfg80211_internal_bss, pub); in bss_from_pub()
220 if (bss->pub.transmitted_bss) { in cfg80211_hold_bss()
221 bss = container_of(bss->pub.transmitted_bss, in cfg80211_hold_bss()
222 struct cfg80211_internal_bss, pub); in cfg80211_hold_bss()
231 if (bss->pub.transmitted_bss) { in cfg80211_unhold_bss()
232 bss = container_of(bss->pub.transmitted_bss, in cfg80211_unhold_bss()
233 struct cfg80211_internal_bss, pub); in cfg80211_unhold_bss()
[all...]
/linux/lib/crypto/
H A Dcurve25519.c32 static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE], in curve25519_base_arch()
35 curve25519_generic(pub, secret, curve25519_base_point); in curve25519_base_arch()
51 curve25519_generate_public(u8 pub[CURVE25519_KEY_SIZE], in curve25519_generate_public()
57 curve25519_base_arch(pub, secret); in curve25519_generate_public()
58 return crypto_memneq(pub, curve25519_null_point, CURVE25519_KEY_SIZE); in curve25519_generate_public()
/linux/net/atm/
H A Daddr.c20 if (!*addr->sas_addr.pub) in check_addr()
23 if (!addr->sas_addr.pub[i]) in check_addr()
33 if (!*a->sas_addr.pub) in identical()
34 return !*b->sas_addr.pub; in identical()
35 if (!*b->sas_addr.pub) in identical()
37 return !strcmp(a->sas_addr.pub, b->sas_addr.pub); in identical()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmac80211_if.c299 if (wl->pub) { in brcms_free()
300 brcms_debugfs_detach(wl->pub); in brcms_free()
301 brcms_c_module_unregister(wl->pub, "linux", wl); in brcms_free()
308 wl->pub = NULL; in brcms_free()
338 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, false); in brcms_remove()
339 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_remove()
410 if (!wl->pub->up) { in brcms_ops_tx()
438 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_ops_start()
444 if (!wl->pub->up) in brcms_ops_start()
814 wl->pub->global_ampdu = &(scb->scb_ampdu); in brcms_ops_sta_add()
[all …]
H A Dantsel.c119 asi->pub = wlc->pub; in brcms_c_antsel_attach()
124 if ((asi->pub->sromrev >= 4) && (asi->antsel_antswitch != 0)) { in brcms_c_antsel_attach()
150 } else if ((asi->pub->sromrev == 4) && in brcms_c_antsel_attach()
156 } else if (asi->pub->boardflags2 & BFL2_2X4_DIV) { in brcms_c_antsel_attach()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dchip.h74 int brcmf_chip_get_raminfo(struct brcmf_chip *pub);
79 struct brcmf_core *brcmf_chip_get_d11core(struct brcmf_chip *pub, u8 unit);
81 struct brcmf_core *brcmf_chip_get_pmu(struct brcmf_chip *pub);
88 bool brcmf_chip_sr_capable(struct brcmf_chip *pub);
/linux/drivers/s390/crypto/
H A Dzcrypt_cca_key.h173 struct cca_public_sec *pub; in zcrypt_type6_crt_key() local
191 size = sizeof(*key) + key_len + sizeof(*pub) + 3; in zcrypt_type6_crt_key()
224 pub = (struct cca_public_sec *)(key->key_parts + key_len); in zcrypt_type6_crt_key()
225 *pub = static_cca_pub_sec; in zcrypt_type6_crt_key()
226 pub->modulus_bit_len = 8 * crt->inputdatalength; in zcrypt_type6_crt_key()
232 memcpy((char *)(pub + 1), pk_exponent, 3); in zcrypt_type6_crt_key()
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c31 u8 *priv, *pub; in tpm2_key_encode() local
41 pub = src; in tpm2_key_encode()
73 work = asn1_encode_octet_string(work, end_work, pub, pub_len); in tpm2_key_encode()
95 const u8 *pub; member
129 memcpy(blob, ctx.pub, ctx.pub_len); in tpm2_key_decode()
175 ctx->pub = value; in tpm2_key_pub()
380 u8 *blob, *pub; in tpm2_load_cmd() local
412 pub = blob + 2 + private_len + 2; in tpm2_load_cmd()
414 attrs = get_unaligned_be32(pub + 4); in tpm2_load_cmd()
/linux/Documentation/translations/zh_CN/rust/
H A Dcoding-guidelines.rst76 pub fn f(x: i32) -> Foo {
123 pub unsafe fn unwrap_unchecked(self) -> T {
196 pub mod gpio {
197 pub enum LineDirection {
/linux/lib/crypto/arm/
H A Dcurve25519.h35 static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE], in curve25519_base_arch()
38 curve25519_arch(pub, secret, curve25519_base_point); in curve25519_base_arch()
/linux/scripts/package/debian/
H A Dcopyright4 https://www.kernel.org/pub/linux/kernel
9 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
/linux/Documentation/
H A DChanges214 (https://www.kernel.org/pub/linux/utils/kernel/hotplug/)
442 - <https://www.kernel.org/pub/linux/devel/binutils/>
465 - <https://www.kernel.org/pub/linux/utils/util-linux/>
470 - <https://www.kernel.org/pub/linux/utils/kernel/kmod/>
471 - <https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git>
476 - <https://www.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/>
486 - <https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/>
487 - <https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/>
497 - <https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git>
498 - <https://www.kernel.org/pub/linu
[all...]
/linux/Documentation/translations/zh_CN/process/
H A D8.Conclusion.rst51 https://www.kernel.org/pub/software/scm/git/docs/
53 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
/linux/Documentation/translations/zh_CN/networking/
H A Dgeneric-hdlc.rst25 下载地址:http://www.kernel.org/pub/linux/utils/net/hdlc/)。
43 http://www.kernel.org/pub/linux/utils/net/hdlc/
176 <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
/linux/Documentation/translations/zh_TW/process/
H A D8.Conclusion.rst54 https://www.kernel.org/pub/software/scm/git/docs/
56 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
/linux/Documentation/translations/zh_CN/mm/
H A Dvmalloced-kernel-stacks.rst75 `Kconfig <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/Kconfig>`
98 `kernel/fork.c <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/kernel/fork…

123456789