![]() |
nRF Connect SDK API 3.4.99
|
API for loading Wi-Fi keys via KMU (Key Management Unit) More...
Enumerations | |
| enum | wifi_kmu_key_type_t { PEER_UCST_ENC , PEER_UCST_MIC , PEER_BCST_ENC , PEER_BCST_MIC , VIF_ENC , VIF_MIC } |
| Different types of keys used by Wi-Fi. More... | |
Functions | |
| int | wifi_kmu_write_key (uint32_t slot_id, uint32_t target_addr, const uint8_t *key_buffer, size_t key_size) |
| Function to write Wi-Fi key via KMU. | |
| int | wifi_kmu_erase_keys (void) |
| Function to erase KMU slots with Wi-Fi keys. | |
| uint32_t | wifi_kmu_get_key_start_addr (wifi_kmu_key_type_t type, uint32_t db_id, uint32_t key_index) |
| Calculate target address of the key. | |
| uint32_t | wifi_kmu_get_key_size_in_bytes (wifi_kmu_key_type_t type) |
| Calculate size of the key in bytes. | |
| uint32_t | wifi_kmu_get_key_size_in_bits (wifi_kmu_key_type_t type) |
| Calculate size of the key in bits. | |
| int | wifi_kmu_key_reverse_byte_order (void *restrict dst, const void *restrict src, uint32_t key_length_bytes) |
| Reverse key byte order before passing into KMU. | |
| int | wifi_kmu_key_reverse_byte_order_in_place (void *buf, uint32_t key_length_bytes) |
| Reverse key byte order before passing into KMU. | |
| uint32_t | wifi_kmu_get_next_slot (uint32_t key_length_bytes) |
| Get next KMU slot to use. | |
Variables | |
| static const uint32_t | wifi_kmu_key_addr_invalid = 0xFFFFFFFF |
| Value to indicate an invalid key address. | |
| static const uint32_t | wifi_kmu_key_length_invalid = 0xFFFFFFFE |
| Value to indicate an invalid key length. | |
API for loading Wi-Fi keys via KMU (Key Management Unit)