lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <b377c3e3c5419ce222d5d85ddf29abe3459cac73.camel@mediatek.com>
Date: Thu, 4 Jan 2024 08:01:21 +0000
From: CK Hu (胡俊光) <ck.hu@...iatek.com>
To: Mac Shen (沈俊) <Mac.Shen@...iatek.com>,
	"chunkuang.hu@...nel.org" <chunkuang.hu@...nel.org>,
	Jitao Shi (石记涛) <jitao.shi@...iatek.com>,
	"daniel@...ll.ch" <daniel@...ll.ch>, "p.zabel@...gutronix.de"
	<p.zabel@...gutronix.de>, "airlied@...il.com" <airlied@...il.com>,
	"matthias.bgg@...il.com" <matthias.bgg@...il.com>,
	"angelogioacchino.delregno@...labora.com"
	<angelogioacchino.delregno@...labora.com>
CC: "dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-mediatek@...ts.infradead.org" <linux-mediatek@...ts.infradead.org>,
	"linux-arm-kernel@...ts.infradead.org"
	<linux-arm-kernel@...ts.infradead.org>,
	Shuijing Li (李水静) <Shuijing.Li@...iatek.com>
Subject: Re: [PATCH] drm/mediatek/dp: Add the HDCP feature for DisplayPort

Hi, Mac:

On Fri, 2023-11-24 at 16:53 +0800, mac.shen wrote:
> Add tee client application, HDCP 1.x and 2.x authentication for
> DisplayPort
> to support the HDCP feature.
> 
> Signed-off-by: mac.shen <mac.shen@...iatek.com>
> ---

[snip]

> @@ -0,0 +1,154 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +/*
> + * Copyright (c) 2019-2023 MediaTek Inc.
> + */
> +
> +#ifndef _MTK_DP_HDCP_H_
> +#define _MTK_DP_HDCP_H_
> +
> +#include <linux/types.h>
> +#include <drm/display/drm_dp_helper.h>
> +#include <linux/sched/clock.h>
> +
> +#define HDCP2_RXSTATUS_SIZE              1
> +#define HDCP2_RTX_SIZE                   8
> +#define HDCP2_RRX_SIZE                   8
> +#define HDCP2_TXCAPS_SIZE                3
> +#define HDCP2_RXCAPS_SIZE                3
> +#define HDCP2_M_SIZE                     16
> +#define HDCP2_KD_SIZE                    32
> +#define HDCP2_CERTRX_SIZE                522
> +#define HDCP2_EKPUBKM_SIZE               128
> +#define HDCP2_EKHKM_SIZE                 16
> +#define HDCP2_KM_SIZE                    16
> +#define HDCP2_KH_SIZE                    16
> +#define HDCP2_RN_SIZE                    8
> +#define HDCP2_LPRIME_SIZE                32
> +#define HDCP2_EDKEYKS_SIZE               16
> +#define HDCP2_KS_SIZE                    16
> +#define HDCP2_RIV_SIZE                   8
> +#define HDCP2_RXINFO_SIZE                2
> +#define HDCP2_SEQ_NUM_V_SIZE             3
> +#define HDCP2_RECVID_SIZE                5

Is this HDCP_2_2_RECEIVERID_LEN? If this is defined in HDCP
specification, move these definition to include/drm/drm_hdcp.h

Regards,
CK

> +#define HDCP2_VPRIME_SIZE                16
> +#define HDCP2_RECV_ID_LIST_SIZE          155
> +#define HDCP2_SEQ_NUM_M_SIZE             3
> +#define HDCP2_STREAMID_TYPE_SIZE         2
> +#define HDCP2_K_SIZE                     2
> +#define HDCP2_REP_MPRIME_SIZE            32
> +#define HDCP2_HPRIME_SIZE                32
> +#define HDCP2_RX_ENCKEY_SIZE             104
> +#define HDCP2_TX_ENCKEY_SIZE             448
> +#define HDCP2_LC128_SIZE                 16
> +#define HDCP2_KPUBRX_MODULUS_SIZE        128
> +#define HDCP2_KPUBRX_EXPONENT_SIZE       3
> +#define HDCP2_KPUBRX_RESERVED_SIZE       2
> +#define HDCP2_MAX_DEVICE_COUNT           31
> +#define HDCP2_MAX_DEPTH_LEVEL            4
> +#define HDCP2_KPUB_SIZE                  384
> +

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ