Searched refs:DRM_HDCP_KSV_LEN (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/display/ |
D | drm_hdcp_helper.c | 38 vrl_sz = (vrl_ksv_cnt * DRM_HDCP_KSV_LEN) + 1; in drm_hdcp_get_revoked_ksv_count() 61 vrl_ksv_sz = vrl_ksv_cnt * DRM_HDCP_KSV_LEN; in drm_hdcp_get_revoked_ksvs() 67 memcpy((*revoked_ksv_list) + (ksv_count * DRM_HDCP_KSV_LEN), in drm_hdcp_get_revoked_ksvs() 128 *revoked_ksv_list = kcalloc(ksv_count, DRM_HDCP_KSV_LEN, GFP_KERNEL); in drm_hdcp_parse_hdcp1_srm() 191 *revoked_ksv_list = kcalloc(ksv_count, DRM_HDCP_KSV_LEN, GFP_KERNEL); in drm_hdcp_parse_hdcp2_srm() 197 ksv_sz = ksv_count * DRM_HDCP_KSV_LEN; in drm_hdcp_parse_hdcp2_srm() 298 if (!memcmp(&ksvs[j * DRM_HDCP_KSV_LEN], in drm_hdcp_check_ksvs_revoked() 299 &revoked_ksv_list[i * DRM_HDCP_KSV_LEN], in drm_hdcp_check_ksvs_revoked() 300 DRM_HDCP_KSV_LEN)) { in drm_hdcp_check_ksvs_revoked() 302 drm_hdcp_print_ksv(&ksvs[j * DRM_HDCP_KSV_LEN]); in drm_hdcp_check_ksvs_revoked()
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_dp_hdcp.c | 61 u8 aksv[DRM_HDCP_KSV_LEN] = {}; in intel_dp_hdcp_write_an_aksv() 82 aksv, DRM_HDCP_KSV_LEN); in intel_dp_hdcp_write_an_aksv() 83 if (dpcd_ret != DRM_HDCP_KSV_LEN) { in intel_dp_hdcp_write_an_aksv() 99 DRM_HDCP_KSV_LEN); in intel_dp_hdcp_read_bksv() 100 if (ret != DRM_HDCP_KSV_LEN) { in intel_dp_hdcp_read_bksv() 209 size_t len = min(num_downstream - i, 3) * DRM_HDCP_KSV_LEN; in intel_dp_hdcp_read_ksv_fifo() 212 ksv_fifo + i * DRM_HDCP_KSV_LEN, in intel_dp_hdcp_read_ksv_fifo()
|
D | intel_hdcp.c | 172 for (i = 0; i < DRM_HDCP_KSV_LEN; i++) in intel_hdcp_is_ksv_valid() 504 u8 *ksv = &ksv_fifo[i * DRM_HDCP_KSV_LEN]; in intel_hdcp_validate_v_prime() 524 sha_leftovers = DRM_HDCP_KSV_LEN - sha_empty; in intel_hdcp_validate_v_prime() 751 ksv_fifo = kcalloc(DRM_HDCP_KSV_LEN, num_downstream, GFP_KERNEL); in intel_hdcp_auth_downstream() 811 u8 shim[DRM_HDCP_KSV_LEN]; in intel_hdcp_auth()
|
D | intel_gmbus.c | 781 u8 buf[DRM_HDCP_KSV_LEN] = {}; in intel_gmbus_output_aksv()
|
D | intel_hdmi.c | 1359 DRM_HDCP_KSV_LEN); in intel_hdmi_hdcp_read_bksv() 1440 ksv_fifo, num_downstream * DRM_HDCP_KSV_LEN); in intel_hdmi_hdcp_read_ksv_fifo()
|
/linux-6.12.1/include/drm/display/ |
D | drm_hdcp.h | 21 #define DRM_HDCP_KSV_LEN 5 macro 96 #define HDCP_2_2_RECEIVER_ID_LEN DRM_HDCP_KSV_LEN
|
/linux-6.12.1/drivers/gpu/drm/bridge/ |
D | ite-it6505.c | 450 u8 bksvs[DRM_HDCP_KSV_LEN]; 1885 for (i = 0; i < DRM_HDCP_KSV_LEN; i++) in it6505_hdcp_is_ksv_valid() 1990 (i % 3) * DRM_HDCP_KSV_LEN, in it6505_setup_sha1_input() 1992 DRM_HDCP_KSV_LEN); in it6505_setup_sha1_input() 2157 DRM_HDCP_KSV_LEN, sha1); in it6505_show_hdcp_info() 2158 sha1 += DRM_HDCP_KSV_LEN; in it6505_show_hdcp_info()
|