Skip to content

Commit 4ccf944

Browse files
Dingchen (David) Zhangalexdeucher
authored andcommitted
drm/amd/display: add handling for hdcp2 rx id list validation
[why] the current implementation of hdcp2 rx id list validation does not have handler/checker for invalid message status, e.g. HMAC, the V parameter calculated from PSP not matching the V prime from Rx. [how] return a generic FAILURE for any message status not SUCCESS or REVOKED. Signed-off-by: Dingchen (David) Zhang <[email protected]> Reviewed-by: Bhawanpreet Lakha <[email protected]> Acked-by: Aurabindo Pillai <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 2673969 commit 4ccf944

File tree

1 file changed

+2
-0
lines changed
  • drivers/gpu/drm/amd/display/modules/hdcp

1 file changed

+2
-0
lines changed

drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,8 @@ enum mod_hdcp_status mod_hdcp_hdcp2_validate_rx_id_list(struct mod_hdcp *hdcp)
791791
TA_HDCP2_MSG_AUTHENTICATION_STATUS__RECEIVERID_REVOKED) {
792792
hdcp->connection.is_hdcp2_revoked = 1;
793793
status = MOD_HDCP_STATUS_HDCP2_RX_ID_LIST_REVOKED;
794+
} else {
795+
status = MOD_HDCP_STATUS_HDCP2_VALIDATE_RX_ID_LIST_FAILURE;
794796
}
795797
}
796798
mutex_unlock(&psp->hdcp_context.mutex);

0 commit comments

Comments
 (0)