nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ wifi_kmu_get_key_start_addr()

uint32_t wifi_kmu_get_key_start_addr ( wifi_kmu_key_type_t type,
uint32_t db_id,
uint32_t key_index )

#include <include/wifi_kmu/wifi_kmu.h>

Calculate target address of the key.

This function calculates the target address based on the key type and index. This address can then be passed into wifi_kmu_write_key.

Parameters
[in]typeType of the key.
[in]db_idDatabase entry in Wi-Fi secure RAM.
[in]key_indexKey index within the database entry.
Returns
A valid address on success, otherwise wifi_kmu_key_addr_invalid.