Home
last modified time | relevance | path

Searched refs:cred_buf (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/net/lib/tls_credentials/
Dtls_credentials_shell.c77 static char cred_buf[CONFIG_TLS_CREDENTIALS_SHELL_CRED_BUF_SIZE + 1]; variable
148 (void)memset(cred_buf, 0, sizeof(cred_buf)); in cred_buf_clear()
157 char *writehead = cred_buf + cred_written; in cred_buf_write()
161 if ((writehead + chunk_len) >= (cred_buf + sizeof(cred_buf) - 1)) { in cred_buf_write()
422 err = base64_decode(cred_buf, sizeof(cred_buf) - 1, &cred_written, in tls_cred_cmd_add()
423 cred_buf, cred_written); in tls_cred_cmd_add()
436 cred_buf[cred_written] = 0; in tls_cred_cmd_add()
441 cred_chosen = cred_buf; in tls_cred_cmd_add()
470 memcpy(cred_copy, cred_buf, cred_written); in tls_cred_cmd_add()
567 memset((void *)cred_buf, 0, cred->len); in tls_cred_cmd_del()
[all …]