Home
last modified time | relevance | path

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

/Linux-v5.4/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()
481 struct asymmetric_key_id *kid; in x509_process_extension() local
497 kid = asymmetric_key_generate_id(v, vlen, "", 0); in x509_process_extension()
498 if (IS_ERR(kid)) in x509_process_extension()
499 return PTR_ERR(kid); in x509_process_extension()
500 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.c647 struct asymmetric_key_id *kid; in pkcs7_note_signed_info() local
656 kid = asymmetric_key_generate_id(ctx->raw_serial, in pkcs7_note_signed_info()
661 kid = asymmetric_key_generate_id(ctx->raw_skid, in pkcs7_note_signed_info()
665 if (IS_ERR(kid)) in pkcs7_note_signed_info()
666 return PTR_ERR(kid); in pkcs7_note_signed_info()
668 pr_devel("SINFO KID: %u [%*phN]\n", kid->len, kid->len, kid->data); in pkcs7_note_signed_info()
670 sinfo->sig->auth_ids[0] = kid; in pkcs7_note_signed_info()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c666 static s16 _rtw_camid_search(struct adapter *adapter, u8 *addr, s16 kid) in _rtw_camid_search() argument
675 if (kid >= 0 && kid != (dvobj->cam_cache[i].ctrl&0x03)) in _rtw_camid_search()
684 , FUNC_ADPT_ARG(adapter), MAC_ARG(addr), kid, cam_id); in _rtw_camid_search()
687 , FUNC_ADPT_ARG(adapter), addr, kid, cam_id); in _rtw_camid_search()
692 s16 rtw_camid_search(struct adapter *adapter, u8 *addr, s16 kid) in rtw_camid_search() argument
699 cam_id = _rtw_camid_search(adapter, addr, kid); in rtw_camid_search()
705 s16 rtw_camid_alloc(struct adapter *adapter, struct sta_info *sta, u8 kid) in rtw_camid_alloc() argument
719 if (kid > 3) { in rtw_camid_alloc()
721 , FUNC_ADPT_ARG(adapter), kid); in rtw_camid_alloc()
726 cam_id = kid; in rtw_camid_alloc()
[all …]
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Drtw_mlme_ext.h638 s16 rtw_camid_search(struct adapter *adapter, u8 *addr, s16 kid);
639 s16 rtw_camid_alloc(struct adapter *adapter, struct sta_info *sta, u8 kid);
/Linux-v5.4/sound/soc/
Dsoc-topology.c161 int kid; member
224 return dapm_map[i].kid; in get_widget_id()