Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_engine.c948 uint16_t cred_len; in load_tls_type() local
952 &cred_len, NULL); in load_tls_type()
959 if (cred_len == 0) { in load_tls_type()
967 if (is_pem(cred, cred_len)) { in load_tls_type()
968 if (cred_len >= max_len) { in load_tls_type()
972 ((uint8_t *) cred)[cred_len] = 0; in load_tls_type()
973 cred_len += 1; in load_tls_type()
976 ret = tls_credential_add(client_ctx->tls_tag, type, cred, cred_len); in load_tls_type()
/Zephyr-latest/subsys/net/lib/tls_credentials/
Dtls_credentials_shell.c603 size_t cred_len; in tls_cred_cmd_get() local
650 cred_len = sizeof(cred_buf); in tls_cred_cmd_get()
651 err = tls_credential_get(sectag, type, cred_buf, &cred_len); in tls_cred_cmd_get()
669 cred_written = cred_len; in tls_cred_cmd_get()