Searched refs:data_len (Results 1 - 10 of 10) sorted by relevance

/sssd-io/src/tests/cmocka/
H A Dtest_sss_ssh.c46 .data_len = sizeof(key_data_noLF)
51 .data_len = sizeof(key_data_noLF) - 1 /* ignore trailling '\0' */
56 .data_len = sizeof(key_data_LF) - 1 /* ignore trailling '\0' */
61 .data_len = sizeof(key_data_LFLF) - 1 /* ignore trailling '\0' */
66 .data_len = sizeof(key_data_CRLF) - 1 /* ignore trailling '\0' */
71 .data_len = sizeof(key_data_CR_somewhere) - 1 /* ignore traill. '\0' */
/sssd-io/src/util/
H A Dsss_ssh.c77 (char *)el->values[i].data, &res->pubkeys[i].data_len);
123 if (pubkey->data_len < 5) {
129 if (algo_len < 1 || algo_len > 64 || algo_len > pubkey->data_len - 4) {
162 if (pubkey->data_len > 4 && memcmp(pubkey->data, "\0\0\0", 3) == 0) {
166 blob = sss_base64_encode(tmp_ctx, pubkey->data, pubkey->data_len);
184 for (i = 0; i < pubkey->data_len; i++) {
186 (pubkey->data[i] == '\n' && i != pubkey->data_len - 1) ||
193 len = pubkey->data_len;
H A Dsss_ssh.h30 size_t data_len; member in struct:sss_ssh_pubkey
H A Dmmap_cache.h145 uint32_t data_len; /* all initgroups data len */ member in struct:sss_mc_initgr_data
/sssd-io/src/sss_client/
H A Dnss_mc_initgr.c140 || data->name >= data_offset + data->data_len
141 || data->strs_len > data->data_len
142 || data->data_len > rec->len
/sssd-io/src/sss_client/autofs/
H A Dsss_autofs.c259 size_t data_len = 0; local
287 data_len = sizeof(uint32_t) + /* mapname len */
292 data = malloc(data_len);
307 rd.len = data_len;
351 size_t data_len = 0; local
385 data_len = sizeof(uint32_t) + /* mapname len */
390 data = malloc(data_len);
405 rd.len = data_len;
/sssd-io/src/sss_client/idmap/
H A Dsss_nss_idmap.c216 size_t data_len; local
291 data_len = replen - DATA_START;
298 if (data_len <= 1 || repbuf[replen - 1] != '\0') {
303 str = malloc(sizeof(char) * data_len);
309 strncpy(str, (char *) repbuf + DATA_START, data_len); local
315 if (data_len != sizeof(uint32_t)) {
337 ret = buf_to_kv_list(repbuf + DATA_START, data_len, &kv_list);
/sssd-io/src/sss_client/sudo/
H A Dsss_sudo.c128 size_t data_len = sizeof(uid_t) + username_len; local
131 data = (uint8_t*)malloc(data_len * sizeof(uint8_t));
140 *_query_len = data_len;
/sssd-io/src/responder/nss/
H A Dnsssrv_mmap_cache.c499 *_len = ((struct sss_mc_initgr_data *)&rec->data)->data_len;
713 size_t data_len; local
729 data_len = name->len + pw->len + gecos->len + homedir->len + shell->len;
732 data_len;
755 data->strs_len = data_len;
856 size_t data_len; local
872 data_len = name->len + pw->len + memsize;
875 data_len;
898 data->strs_len = data_len;
989 size_t data_len; local
[all...]
/sssd-io/src/sss_client/ssh/
H A Dsss_ssh_client.c254 res->pubkeys[i].data_len = len;

Completed in 200 milliseconds