Home
last modified time | relevance | path

Searched full:token (Results 1 – 25 of 109) sorted by relevance

12345

/Zephyr-Core-3.4.0/include/zephyr/ipc/
Dipc_service_backend.h57 * @param[in] token Backend-specific token.
71 int (*send)(const struct device *instance, void *token,
77 * @param[out] token Backend-specific token.
88 void **token,
94 * @param[in] token Backend-specific token.
104 int (*deregister_endpoint)(const struct device *instance, void *token);
109 * @param[in] token Backend-specific token.
119 int (*get_tx_buffer_size)(const struct device *instance, void *token);
124 * @param[in] token Backend-specific token.
141 int (*get_tx_buffer)(const struct device *instance, void *token,
[all …]
/Zephyr-Core-3.4.0/include/zephyr/data/
Djwt.h18 * @brief JSON Web Token (JWT)
19 * @defgroup jwt JSON Web Token (JWT)
28 * This structure tracks the token as it is being built, including
45 * buffer. If set, the token is not valid.
59 * Initialize the given JWT builder for the creation of a fresh token.
64 * @param buffer The buffer to write the token to.
65 * @param buffer_size The size of this buffer. The token will be NULL
84 * @brief Sign the JWT token.
/Zephyr-Core-3.4.0/subsys/mgmt/hawkbit/
DKconfig64 bool "Use target security token authentication"
66 Use target security token authentication for the Hawkbit DDI API.
69 bool "Use gateway security token authentication"
71 Use gateway security token authentication for the Hawkbit DDI API.
76 string "Authentication security token"
80 Authentication security token for the configured Hawkbit DDI
/Zephyr-Core-3.4.0/subsys/net/lib/lwm2m/
Dlwm2m_util.h40 * @brief Converts the token to a printable format.
42 * @param[in] token Token to be printed
43 * @param[in] tkl Lenghts of token
44 * @return char buffer with the string representation of the token
46 char *sprint_token(const uint8_t *token, uint8_t tkl);
Dlwm2m_observation.h18 uint8_t token[MAX_TOKEN_LEN]; /* Observation Token */ member
44 const uint8_t *token, uint8_t tkl);
46 int engine_remove_observer_by_token(struct lwm2m_ctx *ctx, const uint8_t *token, uint8_t tkl);
Dlwm2m_observation.c424 static void engine_observe_node_init(struct observe_node *obs, const uint8_t *token, in engine_observe_node_init() argument
430 memcpy(obs->token, token, tkl); in engine_observe_node_init()
454 LOG_DBG("token:'%s' addr:%s", sprint_token(token, tkl), in engine_observe_node_init()
528 const uint8_t *token, uint8_t tkl) in engine_observe_node_discover() argument
557 if (token && memcmp(obs->token, token, tkl)) { in engine_observe_node_discover()
558 /* Token not match */ in engine_observe_node_discover()
567 static int engine_add_observer(struct lwm2m_message *msg, const uint8_t *token, uint8_t tkl, in engine_add_observer() argument
582 if (!token || (tkl == 0U || tkl > MAX_TOKEN_LEN)) { in engine_add_observer()
583 LOG_ERR("token(%p) and token length(%u) must be valid.", token, tkl); in engine_add_observer()
595 memcpy(obs->token, token, tkl); in engine_add_observer()
[all …]
/Zephyr-Core-3.4.0/scripts/
Dgithub_helpers.py61 token = os.environ.get('GITHUB_TOKEN')
62 if token:
63 return {'login_or_token': token}
69 'Please give your GitHub token.',
71 token = getpass.getpass('token: ')
72 return {'login_or_token': token}
/Zephyr-Core-3.4.0/subsys/ipc/ipc_service/backends/
Dipc_icmsg_me_initiator.c83 void **token) in store_id_for_token() argument
98 *token = &data->ids[i]; in store_id_for_token()
103 static int register_ept(const struct device *instance, void **token, in register_ept() argument
128 r = store_id_for_token(data, id, token); in register_ept()
159 static int send(const struct device *instance, void *token, in send() argument
164 icmsg_me_ept_id_t *id = token; in send()
169 static int get_tx_buffer(const struct device *instance, void *token, in get_tx_buffer() argument
179 static int drop_tx_buffer(const struct device *instance, void *token, in drop_tx_buffer() argument
188 static int send_nocopy(const struct device *instance, void *token, in send_nocopy() argument
193 icmsg_me_ept_id_t *id = token; in send_nocopy()
[all …]
Dipc_icmsg.c17 static int register_ept(const struct device *instance, void **token, in register_ept() argument
23 /* Only one endpoint is supported. No need for a token. */ in register_ept()
24 *token = NULL; in register_ept()
29 static int deregister_ept(const struct device *instance, void *token) in deregister_ept() argument
37 static int send(const struct device *instance, void *token, in send() argument
Dipc_icmsg_me_follower.c164 * id for correct token value. in received()
200 static int register_ept(const struct device *instance, void **token, in register_ept() argument
219 * make available endpoint id storage required for token. in register_ept()
230 *token = &rmt_cache_entry->id; in register_ept()
239 *token = &rmt_cache_entry->id; in register_ept()
248 static int send(const struct device *instance, void *token, in send() argument
253 icmsg_me_ept_id_t *id = token; in send()
263 static int get_tx_buffer(const struct device *instance, void *token, in get_tx_buffer() argument
273 static int drop_tx_buffer(const struct device *instance, void *token, in drop_tx_buffer() argument
282 static int send_nocopy(const struct device *instance, void *token, in send_nocopy() argument
[all …]
/Zephyr-Core-3.4.0/drivers/entropy/
Dentropy_mcux_css.c21 MCUX_CSSL_FP_FUNCTION_CALL_BEGIN(result, token, mcuxClCss_Prng_GetRandom(buffer, length)); in entropy_mcux_css_get_entropy()
22 if ((MCUX_CSSL_FP_FUNCTION_CALLED(mcuxClCss_Prng_GetRandom) != token) || in entropy_mcux_css_get_entropy()
42 MCUX_CSSL_FP_FUNCTION_CALL_BEGIN(result, token, mcuxClCss_Enable_Async()); in entropy_mcux_css_init()
43 if ((MCUX_CSSL_FP_FUNCTION_CALLED(mcuxClCss_Enable_Async) != token) || in entropy_mcux_css_init()
/Zephyr-Core-3.4.0/tests/kernel/interrupt/src/
Dnested_irq.c84 /* Set verification token */ in isr1()
96 /* Set verification token */ in isr0()
105 /* Validate nested ISR result token */ in isr0()
124 * 2. [isr0] Set ISR 0 result token and trigger IRQ 1 (higher priority)
125 * 3. [isr1] Set ISR 1 result token and return
126 * 4. [isr0] Validate ISR 1 result token and return
127 * 5. [thread] Validate ISR 0 result token
153 /* Validate ISR result token */ in ZTEST()
/Zephyr-Core-3.4.0/scripts/release/
Dbug_bash.py28 parser.add_argument('-t', '--token', dest='tokenfile',
29 …help='File containing GitHub token (alternatively, use GITHUB_TOKEN env variable)', metavar='FILE')
43 token = file.read()
44 token = token.strip()
48 token = os.environ['GITHUB_TOKEN']
50 setattr(args, 'token', token)
170 bbt = BugBashTally(Github(args.token), args.start, args.end)
Dlist_issues.py56 def __init__(self, org, repo, token): argument
64 self.api_token = token
66 self.headers['Authorization'] = 'token %s' % self.api_token
150 token = os.environ.get('GITHUB_TOKEN', None)
151 if not token:
152 sys.exit("""Github token not set in environment,
155 i = Issues(args.org, args.repo, token)
Dlist_backports.py60 parser.add_argument('-t', '--token', dest='tokenfile',
61 …help='File containing GitHub token (alternatively, use GITHUB_TOKEN env variable)', metavar='FILE')
108 token = file.read()
109 token = token.strip()
113 token = os.environ['GITHUB_TOKEN']
115 setattr(args, 'token', token)
293 gh = Github(args.token)
/Zephyr-Core-3.4.0/samples/net/sockets/coap_server/src/
Dcoap-server.c214 uint8_t token[COAP_TOKEN_MAX_LEN]; in piggyback_get() local
225 tkl = coap_header_get_token(request, token); in piggyback_get()
243 COAP_VERSION_1, type, tkl, token, in piggyback_get()
286 uint8_t token[COAP_TOKEN_MAX_LEN]; in test_del() local
297 tkl = coap_header_get_token(request, token); in test_del()
315 COAP_VERSION_1, type, tkl, token, in test_del()
334 uint8_t token[COAP_TOKEN_MAX_LEN]; in test_put() local
347 tkl = coap_header_get_token(request, token); in test_put()
370 COAP_VERSION_1, type, tkl, token, in test_put()
394 uint8_t token[COAP_TOKEN_MAX_LEN]; in test_post() local
[all …]
/Zephyr-Core-3.4.0/dts/bindings/test/
Dvnd,string-array-token.yaml4 description: Test string array token property container
6 compatible: "vnd,string-array-token"
Dvnd,string-token.yaml4 description: Test string token property container
6 compatible: "vnd,string-token"
/Zephyr-Core-3.4.0/subsys/ipc/ipc_service/
Dipc_service.c87 return backend->register_endpoint(instance, &ept->token, cfg); in ipc_service_register_endpoint()
112 err = backend->deregister_endpoint(ept->instance, ept->token); in ipc_service_deregister_endpoint()
144 return backend->send(ept->instance, ept->token, data, len); in ipc_service_send()
173 return backend->get_tx_buffer_size(ept->instance, ept->token); in ipc_service_get_tx_buffer_size()
202 return backend->get_tx_buffer(ept->instance, ept->token, data, len, wait); in ipc_service_get_tx_buffer()
231 return backend->drop_tx_buffer(ept->instance, ept->token, data); in ipc_service_drop_tx_buffer()
260 return backend->send_nocopy(ept->instance, ept->token, data, len); in ipc_service_send_nocopy()
290 return backend->hold_rx_buffer(ept->instance, ept->token, data); in ipc_service_hold_rx_buffer()
319 return backend->release_rx_buffer(ept->instance, ept->token, data); in ipc_service_release_rx_buffer()
/Zephyr-Core-3.4.0/include/zephyr/sip_svc/
Dsip_svc.h56 * @param c_token Client's token
65 * the service will return a token to the client. The client can then
66 * use the token to open the channel on the service and communicate
86 * @param c_token Client's token
107 * @param c_token Client's token
127 * @param c_token Client's token
147 * @param c_token Client's token
171 * @param c_token Client's token
/Zephyr-Core-3.4.0/subsys/lorawan/services/
Dclock_sync.c47 /** Continuously incremented token to map clock sync answers and requests */
123 uint8_t token = rx_buf[rx_pos++] & 0x0F; in clock_sync_package_callback() local
125 if (token == ctx.req_token) { in clock_sync_package_callback()
130 LOG_DBG("AppTimeAns time_correction %d (token %d)", in clock_sync_package_callback()
131 time_correction, token); in clock_sync_package_callback()
133 LOG_WRN("AppTimeAns with outdated token %d", token); in clock_sync_package_callback()
184 LOG_DBG("Sending clock sync AppTimeReq (token %d)", ctx.req_token); in clock_sync_app_time_req()
/Zephyr-Core-3.4.0/tests/net/lib/coap/src/
Dmain.c93 const char token[] = "token"; in ZTEST() local
102 strlen(token), token, in ZTEST()
119 zassert_equal(cpkt.hdr_len, COAP_FIXED_HEADER_SIZE + strlen(token), in ZTEST()
211 const uint8_t token[8]; in ZTEST() local
230 zassert_equal(cpkt.hdr_len, COAP_FIXED_HEADER_SIZE + strlen("token"), in ZTEST()
252 tkl = coap_header_get_token(&cpkt, (uint8_t *)token); in ZTEST()
254 zassert_equal(tkl, 5U, "Token length doesn't match reference"); in ZTEST()
255 zassert_mem_equal(token, "token", tkl, in ZTEST()
256 "Token value doesn't match the reference"); in ZTEST()
480 const char token[] = "token"; in prepare_block1_request() local
[all …]
/Zephyr-Core-3.4.0/subsys/sip_svc/
Dsip_svc_shell.c56 shell_print(sh, "%s: register success: client token %08x\n", ctrl->method, c_token); in cmd_reg()
87 shell_error(sh, "%s: unregister fail (%d): client token %08x", ctrl->method, err, in cmd_unreg()
90 shell_print(sh, "%s: unregister success: client token %08x", ctrl->method, in cmd_unreg()
140 shell_error(sh, "%s: open fail (%d): client token %08x", ctrl->method, err, in cmd_open()
143 shell_print(sh, "%s: open success: client token %08x", ctrl->method, in cmd_open()
174 shell_error(sh, "%s: close fail (%d): client token %08x", ctrl->method, err, in cmd_close()
177 shell_print(sh, "%s: close success: client token %08x", ctrl->method, in cmd_close()
326 shell_error(sh, "%s: send fail: client token %08x", ctrl->method, in cmd_send()
333 shell_print(sh, "%s: send success: client token %08x, trans_id %d", ctrl->method, in cmd_send()
361 shell_print(sh, "Client Token\tState\tTrans Cnt\n"); in cmd_info()
[all …]
/Zephyr-Core-3.4.0/tests/subsys/ipc/ipc_service/src/
Dbackend.c27 static int send(const struct device *instance, void *token, in send() argument
46 void **token, in register_ept() argument
56 static int deregister_ept(const struct device *instance, void *token) in deregister_ept() argument
/Zephyr-Core-3.4.0/samples/tfm_integration/psa_crypto/src/
Dpsa_attestation.h15 /** Maximum buffer size for an initial attestation token instance. */
28 * @brief Gets an initial attestation token (IAT) from the TF-M secure
32 * The initial attestation token (IAT) is composed of a series of 'claims' or

12345