openaliro
Aliro reader: UWB/CCC core and ESP32-S3/C5/C6 port
Loading...
Searching...
No Matches
ccc_sts.h File Reference

— load a CCC ranging PPDU's STS key + IV into the DW3000 STS engine. More...

#include <stdint.h>
#include "ccc_kdf.h"
Include dependency graph for ccc_sts.h:

Go to the source code of this file.

Functions

int ccc_sts_apply (const uint8_t dursk[CCC_DURSK_LEN], const uint8_t sts_v[CCC_STS_V_LEN])
 Load one PPDU's STS key + IV into the DW3000 STS registers (chip must be idle).
 

Detailed Description

— load a CCC ranging PPDU's STS key + IV into the DW3000 STS engine.

Function Documentation

◆ ccc_sts_apply()

int ccc_sts_apply ( const uint8_t  dursk[CCC_DURSK_LEN],
const uint8_t  sts_v[CCC_STS_V_LEN] 
)

Load one PPDU's STS key + IV into the DW3000 STS registers (chip must be idle).

Load one PPDU's STS key + IV into the DW3000 STS registers (chip must be idle).

Parameters
dursk16-byte derived URSK (key material).
sts_v16-byte STS-V (initialization vector).
Returns
0 on success, -EINVAL if inputs are null.