![]() |
nRF Connect SDK API 3.3.99
|
| int public_key_data_read | ( | uint32_t | key_idx, |
| uint8_t * | p_buf ) |
#include <include/bl_storage.h>
Function for reading public key hashes.
| [in] | key_idx | Index of key. |
| [out] | p_buf | Pointer to where the hash will be written. The buffer must be at least SB_PUBLIC_KEY_HASH_LEN bytes large. |
| -EINVAL | Key has been invalidated. |
| -EFAULT | key_idx is too large. There is no key with that index. |