DigitalKey CCC3.0 URSK

URSK有什么用,如何用

URSK用于安全测距时测距数据的加解密

车辆使用安全测距Setup Flow去激活一个pre-derived URSK。每个车钥匙最多有一个pre-derived URSK。当另一个激活时,这个活动的URSK会被遗弃。

当pre-derived激活时,车辆应该请求获得和存储另一个ursk。车辆应该控制生成ursk的影响最小。

比如在passive Entry完成后,或者ursk激活后生成新的ursk。

如何生成URSK

1、执行交易 Figure 19-21
2、给标准交易流添加一个创建测距钥匙命令。用于其他功能比如开启引擎、

激活URSK实现安全测距流

安全测距流的选择

根据

是否存在RangingSession
是否存在活动的Ursk
是否存在可用的pre-ursk

所以我们平常使用的是URSK。
就算结束安全测距,ursk也不会遗弃。ursk只有时间到时才会遗弃。
没有激活的ursk时,就会尝试激活pre-ursk。然后再建立安全会话
都没有的情况下,再调用获取ursk流

什么时候遗弃URSK

The URSK shall be discarded if one of the following conditions is met: 
1. The STS_Index reaches its maximum value of 2^31-1. 
2. The STS_Index was lost, and it cannot be ensured that a previously used STS_Index  won’t be used again 

3. The URSK TTL (Time-To-Live) has expired. The vehicle shall enforce an URSK TTL 1 lower or equal to 12 hours (vehicle OEM specific). The URSK TTL starts when the first 2 dURSK is derived. The first dURSK shall be derived immediately before sending or after 3 receiving Ranging Session Setup Response for the device or vehicle, respectively. 4 
4. A new URSK is activated through Secure Ranging Setup Flow. 


1、2、STS到达最大值或故障
3、时间到了
4、URSK激活时(只有ursk不能用时,才尝试激活pre-ursk。)

posted @ 2022-12-05 17:22  Miraculous_B  阅读(399)  评论(0编辑  收藏  举报