Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
security_state.h
Go to the documentation of this file.
1
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_RPC_COMMANDS_SECURITY_STATE_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_RPC_COMMANDS_SECURITY_STATE_H_
12
13#include <stdint.h>
14
15#include <zephyr/toolchain.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21enum {
24};
25
27 uint8_t challenge[16];
28 uint8_t hardware_id[16];
29 uint64_t device_id;
30} __packed;
31
33 uint8_t nonce[12];
34 struct {
36 uint8_t tag[16];
38} __packed;
39
40#ifdef __cplusplus
41}
42#endif
43
44#endif /* INFUSE_SDK_INCLUDE_INFUSE_RPC_COMMANDS_SECURITY_STATE_H_ */
@ CHALLENGE_RESPONSE_NORDIC_IDENTITY
Definition security_state.h:23
@ CHALLENGE_RESPONSE_HARDWARE_ID
Definition security_state.h:22
Definition security_state.h:32
struct security_state_response_hw_id_encrypted::@35 ciphertext
struct security_state_response_hw_id data
Definition security_state.h:35
uint8_t nonce[12]
Definition security_state.h:33
uint8_t tag[16]
Definition security_state.h:36
Definition security_state.h:26
uint64_t device_id
Definition security_state.h:29
uint8_t hardware_id[16]
Definition security_state.h:28
uint8_t challenge[16]
Definition security_state.h:27