Home
last modified time | relevance | path

Searched full:subtype (Results 1 – 25 of 631) sorted by relevance

12345678910>>...26

/kernel/linux/linux-5.10/Documentation/crypto/
Dasymmetric-keys.rst25 The asymmetric key is given a subtype that defines what sort of data is
30 A completely in-kernel key retention and operation subtype can be defined, but
39 subtype of the key and define the operations that can be done on that key.
70 2) If the criterion string is of the form "<subtype>:<hexdigits>" then the
72 only keys of the specified subtype (e.g. tpm) will be matched. For
78 displayed, along with the subtype::
164 Asymmetric keys have a subtype that defines the set of operations that can be
166 payload. The payload format is entirely at the whim of the subtype.
168 The subtype is selected by the key data parser and the parser must initialise
170 subtype module.
[all …]
/kernel/linux/linux-5.10/include/keys/
Dasymmetric-subtype.h2 /* Asymmetric public-key cryptography key subtype
21 * Keys of this type declare a subtype that indicates the handlers and
29 /* Describe a key of this subtype for /proc/keys */
32 /* Destroy a key of this subtype */
42 /* Verify the signature on a key of this subtype (optional) */
48 * asymmetric_key_subtype - Get the subtype from an asymmetric key
51 * Retrieves and returns the subtype pointer of the asymmetric key from the
/kernel/linux/linux-4.19/include/keys/
Dasymmetric-subtype.h1 /* Asymmetric public-key cryptography key subtype
23 * Keys of this type declare a subtype that indicates the handlers and
31 /* Describe a key of this subtype for /proc/keys */
34 /* Destroy a key of this subtype */
37 /* Verify the signature on a key of this subtype (optional) */
43 * asymmetric_key_subtype - Get the subtype from an asymmetric key
46 * Retrieves and returns the subtype pointer of the asymmetric key from the
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
Dsignature.c11 #include <keys/asymmetric-subtype.h>
45 const struct asymmetric_key_subtype *subtype; in query_asymmetric_key() local
53 subtype = asymmetric_key_subtype(key); in query_asymmetric_key()
54 if (!subtype || in query_asymmetric_key()
57 if (!subtype->query) in query_asymmetric_key()
60 ret = subtype->query(params, info); in query_asymmetric_key()
140 const struct asymmetric_key_subtype *subtype; in verify_signature() local
147 subtype = asymmetric_key_subtype(key); in verify_signature()
148 if (!subtype || in verify_signature()
151 if (!subtype->verify_signature) in verify_signature()
[all …]
Dasymmetric_type.c9 #include <keys/asymmetric-subtype.h>
332 const struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_describe() local
340 if (subtype) { in asymmetric_key_describe()
342 subtype->describe(key, m); in asymmetric_key_describe()
417 struct asymmetric_key_subtype *subtype = prep->payload.data[asym_subtype]; in asymmetric_key_free_preparse() local
422 if (subtype) { in asymmetric_key_free_preparse()
423 subtype->destroy(prep->payload.data[asym_crypto], in asymmetric_key_free_preparse()
425 module_put(subtype->owner); in asymmetric_key_free_preparse()
436 struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_destroy() local
446 if (subtype) { in asymmetric_key_destroy()
[all …]
/kernel/linux/linux-4.19/Documentation/crypto/
Dasymmetric-keys.txt24 The asymmetric key is given a subtype that defines what sort of data is
29 A completely in-kernel key retention and operation subtype can be defined, but
38 subtype of the key and define the operations that can be done on that key.
70 (2) If the criterion string is of the form "<subtype>:<hexdigits>" then the
72 only keys of the specified subtype (e.g. tpm) will be matched. For
78 displayed, along with the subtype:
166 Asymmetric keys have a subtype that defines the set of operations that can be
168 payload. The payload format is entirely at the whim of the subtype.
170 The subtype is selected by the key data parser and the parser must initialise
172 subtype module.
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/saa7164/
Dsaa7164-types.h119 u8 subtype; member
126 u8 subtype; member
143 u8 subtype; member
161 u8 subtype; member
172 u8 subtype; member
250 * bDescriptorSubtype - VS_FORMAT_MPEG2TS descriptor subtype.
266 u8 subtype; member
280 u8 subtype; member
290 u8 subtype; member
328 u8 subtype; member
[all …]
/kernel/linux/linux-4.19/drivers/media/pci/saa7164/
Dsaa7164-types.h129 u8 subtype; member
136 u8 subtype; member
153 u8 subtype; member
171 u8 subtype; member
182 u8 subtype; member
260 * bDescriptorSubtype - VS_FORMAT_MPEG2TS descriptor subtype.
276 u8 subtype; member
290 u8 subtype; member
300 u8 subtype; member
338 u8 subtype; member
[all …]
/kernel/linux/linux-4.19/drivers/thermal/
Dqcom-spmi-temp-alarm.c66 unsigned int subtype; member
111 if (chip->subtype == QPNP_TM_SUBTYPE_GEN1) in qpnp_tm_get_temp_stage()
133 if (chip->subtype == QPNP_TM_SUBTYPE_GEN1) { in qpnp_tm_update_temp_no_adc()
219 stage = chip->subtype == QPNP_TM_SUBTYPE_GEN1 in qpnp_tm_init()
249 u8 type, subtype; in qpnp_tm_probe() local
290 ret = qpnp_tm_read(chip, QPNP_TM_REG_SUBTYPE, &subtype); in qpnp_tm_probe()
292 dev_err(&pdev->dev, "could not read subtype\n"); in qpnp_tm_probe()
296 if (type != QPNP_TM_TYPE || (subtype != QPNP_TM_SUBTYPE_GEN1 in qpnp_tm_probe()
297 && subtype != QPNP_TM_SUBTYPE_GEN2)) { in qpnp_tm_probe()
298 dev_err(&pdev->dev, "invalid type 0x%02x or subtype 0x%02x\n", in qpnp_tm_probe()
[all …]
/kernel/linux/linux-4.19/crypto/asymmetric_keys/
Dsignature.c15 #include <keys/asymmetric-subtype.h>
49 const struct asymmetric_key_subtype *subtype; in verify_signature() local
56 subtype = asymmetric_key_subtype(key); in verify_signature()
57 if (!subtype || in verify_signature()
60 if (!subtype->verify_signature) in verify_signature()
63 ret = subtype->verify_signature(key, sig); in verify_signature()
Dasymmetric_type.c13 #include <keys/asymmetric-subtype.h>
335 const struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_describe() local
343 if (subtype) { in asymmetric_key_describe()
345 subtype->describe(key, m); in asymmetric_key_describe()
420 struct asymmetric_key_subtype *subtype = prep->payload.data[asym_subtype]; in asymmetric_key_free_preparse() local
425 if (subtype) { in asymmetric_key_free_preparse()
426 subtype->destroy(prep->payload.data[asym_crypto], in asymmetric_key_free_preparse()
428 module_put(subtype->owner); in asymmetric_key_free_preparse()
439 struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_destroy() local
449 if (subtype) { in asymmetric_key_destroy()
[all …]
/kernel/linux/linux-5.10/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c69 unsigned int subtype; member
118 if (chip->subtype == QPNP_TM_SUBTYPE_GEN1) in qpnp_tm_get_temp_stage()
142 if (chip->subtype == QPNP_TM_SUBTYPE_GEN1) { in qpnp_tm_update_temp_no_adc()
325 stage = chip->subtype == QPNP_TM_SUBTYPE_GEN1 in qpnp_tm_init()
353 u8 type, subtype; in qpnp_tm_probe() local
397 ret = qpnp_tm_read(chip, QPNP_TM_REG_SUBTYPE, &subtype); in qpnp_tm_probe()
399 dev_err(&pdev->dev, "could not read subtype\n"); in qpnp_tm_probe()
403 if (type != QPNP_TM_TYPE || (subtype != QPNP_TM_SUBTYPE_GEN1 in qpnp_tm_probe()
404 && subtype != QPNP_TM_SUBTYPE_GEN2)) { in qpnp_tm_probe()
405 dev_err(&pdev->dev, "invalid type 0x%02x or subtype 0x%02x\n", in qpnp_tm_probe()
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dqcom-spmi-pmic.c65 unsigned int rev2, minor, major, type, subtype; in pmic_spmi_show_revid() local
76 ret = regmap_read(map, PMIC_SUBTYPE, &subtype); in pmic_spmi_show_revid()
81 if (subtype == (unsigned long)pmic_spmi_id_table[i].data) in pmic_spmi_show_revid()
106 if ((subtype == PM8941_SUBTYPE || subtype == PM8226_SUBTYPE) && in pmic_spmi_show_revid()
110 if (subtype == PM8110_SUBTYPE) in pmic_spmi_show_revid()
113 dev_dbg(dev, "%x: %s v%d.%d\n", subtype, name, major, minor); in pmic_spmi_show_revid()
/kernel/linux/linux-4.19/drivers/mfd/
Dqcom-spmi-pmic.c69 unsigned int rev2, minor, major, type, subtype; in pmic_spmi_show_revid() local
80 ret = regmap_read(map, PMIC_SUBTYPE, &subtype); in pmic_spmi_show_revid()
85 if (subtype == (unsigned long)pmic_spmi_id_table[i].data) in pmic_spmi_show_revid()
110 if ((subtype == PM8941_SUBTYPE || subtype == PM8226_SUBTYPE) && in pmic_spmi_show_revid()
114 if (subtype == PM8110_SUBTYPE) in pmic_spmi_show_revid()
117 dev_dbg(dev, "%x: %s v%d.%d\n", subtype, name, major, minor); in pmic_spmi_show_revid()
/kernel/linux/linux-5.10/net/batman-adv/
Ddistributed-arp-table.h83 * @subtype: the 4addr subtype of the packet to be counted
85 * Updates the ethtool statistics for the received packet if it is a DAT subtype
88 u8 subtype) in batadv_dat_inc_counter() argument
90 switch (subtype) { in batadv_dat_inc_counter()
182 u8 subtype) in batadv_dat_inc_counter() argument
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.h208 * @subtype: subtype for this packet.
212 * @usr_subtype: subtype for this OUI.
215 __be16 subtype; member
330 u16 subtype, usr_stype; in brcmf_fweh_process_skb() local
341 /* check subtype if needed */ in brcmf_fweh_process_skb()
343 subtype = get_unaligned_be16(&event_packet->hdr.subtype); in brcmf_fweh_process_skb()
344 if (subtype != stype) in brcmf_fweh_process_skb()
/kernel/linux/linux-4.19/net/batman-adv/
Ddistributed-arp-table.h90 * @subtype: the 4addr subtype of the packet to be counted
92 * Updates the ethtool statistics for the received packet if it is a DAT subtype
95 u8 subtype) in batadv_dat_inc_counter() argument
97 switch (subtype) { in batadv_dat_inc_counter()
181 u8 subtype) in batadv_dat_inc_counter() argument
/kernel/linux/linux-4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.h219 * @subtype: subtype for this packet.
223 * @usr_subtype: subtype for this OUI.
226 __be16 subtype; member
340 u16 subtype, usr_stype; in brcmf_fweh_process_skb() local
351 /* check subtype if needed */ in brcmf_fweh_process_skb()
353 subtype = get_unaligned_be16(&event_packet->hdr.subtype); in brcmf_fweh_process_skb()
354 if (subtype != stype) in brcmf_fweh_process_skb()
/kernel/linux/linux-4.19/arch/powerpc/kernel/
Dmce.c321 const char *level, *sevstr, *subtype; in machine_check_print_event_info() local
411 subtype = evt->u.ue_error.ue_error_type < in machine_check_print_event_info()
415 printk("%s Error type: UE [%s]\n", level, subtype); in machine_check_print_event_info()
424 subtype = evt->u.slb_error.slb_error_type < in machine_check_print_event_info()
428 printk("%s Error type: SLB [%s]\n", level, subtype); in machine_check_print_event_info()
434 subtype = evt->u.erat_error.erat_error_type < in machine_check_print_event_info()
438 printk("%s Error type: ERAT [%s]\n", level, subtype); in machine_check_print_event_info()
444 subtype = evt->u.tlb_error.tlb_error_type < in machine_check_print_event_info()
448 printk("%s Error type: TLB [%s]\n", level, subtype); in machine_check_print_event_info()
454 subtype = evt->u.user_error.user_error_type < in machine_check_print_event_info()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dtrace.h159 __field(u8, subtype)
170 __entry->subtype = wil_rxdesc_subtype(d);
175 " type 0x%1x subtype 0x%1x", __entry->index, __entry->len,
177 __entry->seq, __entry->type, __entry->subtype)
191 __field(u8, subtype)
203 __entry->subtype = wil_rx_status_get_fc1(wil, msg);
208 … "compressed %d buff_id %d len %d mid %d cid %d tid %d mcs %d seq 0x%03x type 0x%1x subtype 0x%1x",
211 __entry->seq, __entry->type, __entry->subtype)
/kernel/linux/linux-5.10/fs/proc/
Dproc_tty.c42 if (p->subtype == SYSTEM_TYPE_TTY) in show_tty_range()
44 else if (p->subtype == SYSTEM_TYPE_SYSCONS) in show_tty_range()
46 else if (p->subtype == SYSTEM_TYPE_CONSOLE) in show_tty_range()
56 if (p->subtype == PTY_TYPE_MASTER) in show_tty_range()
58 else if (p->subtype == PTY_TYPE_SLAVE) in show_tty_range()
64 seq_printf(m, "type:%d.%d", p->type, p->subtype); in show_tty_range()
/kernel/linux/linux-4.19/fs/proc/
Dproc_tty.c42 if (p->subtype == SYSTEM_TYPE_TTY) in show_tty_range()
44 else if (p->subtype == SYSTEM_TYPE_SYSCONS) in show_tty_range()
46 else if (p->subtype == SYSTEM_TYPE_CONSOLE) in show_tty_range()
56 if (p->subtype == PTY_TYPE_MASTER) in show_tty_range()
58 else if (p->subtype == PTY_TYPE_SLAVE) in show_tty_range()
64 seq_printf(m, "type:%d.%d", p->type, p->subtype); in show_tty_range()
/kernel/linux/linux-4.19/drivers/net/wireless/ath/wil6210/
Dtrace.h169 __field(u8, subtype)
180 __entry->subtype = wil_rxdesc_subtype(d);
185 " type 0x%1x subtype 0x%1x", __entry->index, __entry->len,
187 __entry->seq, __entry->type, __entry->subtype)
201 __field(u8, subtype)
213 __entry->subtype = wil_rx_status_get_fc1(wil, msg);
218 … "compressed %d buff_id %d len %d mid %d cid %d tid %d mcs %d seq 0x%03x type 0x%1x subtype 0x%1x",
221 __entry->seq, __entry->type, __entry->subtype)
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dmce.c358 const char *level, *sevstr, *subtype, *err_type, *initiator; in machine_check_print_event_info() local
469 subtype = evt->u.ue_error.ue_error_type < in machine_check_print_event_info()
480 subtype = evt->u.slb_error.slb_error_type < in machine_check_print_event_info()
489 subtype = evt->u.erat_error.erat_error_type < in machine_check_print_event_info()
498 subtype = evt->u.tlb_error.tlb_error_type < in machine_check_print_event_info()
507 subtype = evt->u.user_error.user_error_type < in machine_check_print_event_info()
516 subtype = evt->u.ra_error.ra_error_type < in machine_check_print_event_info()
525 subtype = evt->u.link_error.link_error_type < in machine_check_print_event_info()
534 subtype = "Unknown"; in machine_check_print_event_info()
538 subtype = "Unknown"; in machine_check_print_event_info()
[all …]
/kernel/linux/linux-4.19/arch/alpha/kernel/
Dgct.c27 wanted && (wanted->type | wanted->subtype); in gct6_find_nodes()
31 if (node->subtype != wanted->subtype) in gct6_find_nodes()

12345678910>>...26