Home
last modified time | relevance | path

Searched refs:kid (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/crypto/asymmetric_keys/
Dx509_cert_parser.c67 struct asymmetric_key_id *kid; in x509_cert_parse() local
124 kid = asymmetric_key_generate_id(cert->raw_serial, in x509_cert_parse()
128 if (IS_ERR(kid)) { in x509_cert_parse()
129 ret = PTR_ERR(kid); in x509_cert_parse()
132 cert->id = kid; in x509_cert_parse()
543 struct asymmetric_key_id *kid; in x509_process_extension() local
559 kid = asymmetric_key_generate_id(v, vlen, "", 0); in x509_process_extension()
560 if (IS_ERR(kid)) in x509_process_extension()
561 return PTR_ERR(kid); in x509_process_extension()
562 ctx->cert->skid = kid; in x509_process_extension()
[all …]
Dasymmetric_type.c140 struct asymmetric_key_id *kid; in asymmetric_key_generate_id() local
142 kid = kmalloc(sizeof(struct asymmetric_key_id) + len_1 + len_2, in asymmetric_key_generate_id()
144 if (!kid) in asymmetric_key_generate_id()
146 kid->len = len_1 + len_2; in asymmetric_key_generate_id()
147 memcpy(kid->data, val_1, len_1); in asymmetric_key_generate_id()
148 memcpy(kid->data + len_1, val_2, len_2); in asymmetric_key_generate_id()
149 return kid; in asymmetric_key_generate_id()
334 const struct asymmetric_key_id *kid; in asymmetric_key_describe() local
345 kid = kids->id[1]; in asymmetric_key_describe()
347 n = kid->len; in asymmetric_key_describe()
[all …]
Dpkcs7_parser.c655 struct asymmetric_key_id *kid; in pkcs7_note_signed_info() local
664 kid = asymmetric_key_generate_id(ctx->raw_serial, in pkcs7_note_signed_info()
669 kid = asymmetric_key_generate_id(ctx->raw_skid, in pkcs7_note_signed_info()
673 if (IS_ERR(kid)) in pkcs7_note_signed_info()
674 return PTR_ERR(kid); in pkcs7_note_signed_info()
676 pr_devel("SINFO KID: %u [%*phN]\n", kid->len, kid->len, kid->data); in pkcs7_note_signed_info()
678 sinfo->sig->auth_ids[0] = kid; in pkcs7_note_signed_info()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c614 static s16 _rtw_camid_search(struct adapter *adapter, u8 *addr, s16 kid) in _rtw_camid_search() argument
623 if (kid >= 0 && kid != (dvobj->cam_cache[i].ctrl&0x03)) in _rtw_camid_search()
632 , FUNC_ADPT_ARG(adapter), MAC_ARG(addr), kid, cam_id); in _rtw_camid_search()
635 , FUNC_ADPT_ARG(adapter), addr, kid, cam_id); in _rtw_camid_search()
640 s16 rtw_camid_search(struct adapter *adapter, u8 *addr, s16 kid) in rtw_camid_search() argument
647 cam_id = _rtw_camid_search(adapter, addr, kid); in rtw_camid_search()
653 s16 rtw_camid_alloc(struct adapter *adapter, struct sta_info *sta, u8 kid) in rtw_camid_alloc() argument
667 if (kid > 3) { in rtw_camid_alloc()
669 , FUNC_ADPT_ARG(adapter), kid); in rtw_camid_alloc()
674 cam_id = kid; in rtw_camid_alloc()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Drtw_mlme_ext.h622 s16 rtw_camid_search(struct adapter *adapter, u8 *addr, s16 kid);
623 s16 rtw_camid_alloc(struct adapter *adapter, struct sta_info *sta, u8 kid);
/kernel/linux/linux-5.10/sound/soc/
Dsoc-topology.c161 int kid; member
224 return dapm_map[i].kid; in get_widget_id()