Searched refs:cred_len (Results 1 – 2 of 2) sorted by relevance
948 uint16_t cred_len; in load_tls_type() local952 &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()
603 size_t cred_len; in tls_cred_cmd_get() local650 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()