Searched refs:safealign_memcpy (Results 1 - 21 of 21) sorted by relevance

/sssd/src/util/
H A Dutil_safealign.h49 safealign_memcpy(void *dest, const void *src, size_t n, size_t *counter) function
59 safealign_memcpy(dest, &CV_MACRO_val, sizeof(type), pctr); \
68 safealign_memcpy(dest, src, sizeof(int64_t), pctr)
79 safealign_memcpy(dest, src, sizeof(uint32_t), pctr)
87 safealign_memcpy(dest, src, sizeof(int32_t), pctr)
95 safealign_memcpy(dest, src, sizeof(uint16_t), pctr)
107 safealign_memcpy(dest, src, sizeof(uint32_t), pctr); \
113 safealign_memcpy(dest, src, sizeof(int32_t), pctr); \
119 safealign_memcpy(dest, src, sizeof(uint16_t), pctr); \
H A Duser_info_msg.c50 safealign_memcpy(&resp[p], user_error_message, err_len, &p);
H A Dchild_common.c490 safealign_memcpy(&state->buf[state->len], buf,
/sssd/src/util/crypto/libcrypto/
H A Dcrypto_obfuscate.c175 safealign_memcpy(&obfbuf[p], keybuf, mech_props->keylen, &p);
176 safealign_memcpy(&obfbuf[p], ivbuf, mech_props->bsize, &p);
177 safealign_memcpy(&obfbuf[p], cryptotext, result_len, &p);
178 safealign_memcpy(&obfbuf[p], OBF_BUFFER_SENTINEL,
265 safealign_memcpy(keybuf, obfbuf+p, mech_props->keylen, &p);
272 safealign_memcpy(ivbuf, obfbuf+p, mech_props->bsize, &p);
279 safealign_memcpy(cryptotext, obfbuf+p, ctsize, &p);
/sssd/src/util/crypto/nss/
H A Dnss_obfuscate.c176 safealign_memcpy(&obfbuf[p], cctx->key->data, mech_props->keylen, &p);
177 safealign_memcpy(&obfbuf[p], cctx->iv->data, mech_props->bsize, &p);
178 safealign_memcpy(&obfbuf[p], cryptotext, result_len, &p);
179 safealign_memcpy(&obfbuf[p], OBF_BUFFER_SENTINEL,
269 safealign_memcpy(keybuf, obfbuf+p, mech_props->keylen, &p);
276 safealign_memcpy(ivbuf, obfbuf+p, mech_props->bsize, &p);
283 safealign_memcpy(cryptotext, obfbuf+p, ctsize, &p);
/sssd/src/sss_client/ssh/
H A Dsss_ssh_client.c150 safealign_memcpy(req+c, name, name_len, &c);
153 safealign_memcpy(req+c, alias, alias_len, &c);
157 safealign_memcpy(req+c, domain, domain_len, &c);
231 safealign_memcpy(res->name, rep+c, len, &c);
253 safealign_memcpy(res->pubkeys[i].data, rep+c, len, &c);
/sssd/src/sss_client/autofs/
H A Dsss_autofs.c192 safealign_memcpy(key, sss_getautomntent_data.data+dp, keylen, &dp);
206 safealign_memcpy(value, sss_getautomntent_data.data+dp, vallen, &dp);
300 safealign_memcpy(data+ctr, ctx->mapname, name_len + 1, &ctr);
398 safealign_memcpy(data+ctr, ctx->mapname, name_len + 1, &ctr);
402 safealign_memcpy(data+ctr, key, key_len + 1, &ctr);
437 safealign_memcpy(buf, repbuf+rp, vallen, &rp);
/sssd/src/providers/ldap/
H A Dsdap_child_helpers.c187 safealign_memcpy(&buf->data[rp], realm_str, strlen(realm_str), &rp);
195 safealign_memcpy(&buf->data[rp], princ_str, strlen(princ_str), &rp);
203 safealign_memcpy(&buf->data[rp], keytab_name, strlen(keytab_name), &rp);
237 safealign_memcpy(&krberr, buf+p, sizeof(krberr), &p);
249 safealign_memcpy(ccn, buf+p, sizeof(char) * len, &p);
256 safealign_memcpy(&expire_time, buf+p, sizeof(time_t), &p);
H A Dldap_child.c162 safealign_memcpy(&r->buf[p], &krberr, sizeof(krberr), &p);
168 safealign_memcpy(&r->buf[p], msg, len, &p);
171 safealign_memcpy(&r->buf[p], &expire_time, sizeof(expire_time), &p);
/sssd/src/util/cert/libcrypto/
H A Dcert.c253 safealign_memcpy(&buf[c], SSH_RSA_HEADER, SSH_RSA_HEADER_LEN, &c);
255 safealign_memcpy(&buf[c], exponent, exponent_len, &c);
263 safealign_memcpy(&buf[c], modulus, modulus_len, &c);
/sssd/src/util/cert/nss/
H A Dcert.c373 safealign_memcpy(&buf[c], SSH_RSA_HEADER, SSH_RSA_HEADER_LEN, &c);
380 safealign_memcpy(&buf[c], cert_pub_key->u.rsa.publicExponent.data,
389 safealign_memcpy(&buf[c], cert_pub_key->u.rsa.modulus.data,
/sssd/src/providers/krb5/
H A Dkrb5_child_handler.c91 safealign_memcpy(&buf->data[*rp], data, auth_token_length, rp);
185 safealign_memcpy(&buf->data[rp], kr->upn, strlen(kr->upn), &rp);
192 safealign_memcpy(&buf->data[rp], kr->ccname, strlen(kr->ccname), &rp);
196 safealign_memcpy(&buf->data[rp], kr->old_ccname,
203 safealign_memcpy(&buf->data[rp], keytab, strlen(keytab), &rp);
220 safealign_memcpy(&buf->data[rp], kr->kuserok_user, username_len, &rp);
H A Dkrb5_child.c918 safealign_memcpy(&buf[p], pdr->data, pdr->len, &p);
/sssd/src/responder/sudo/
H A Dsudosrv_query.c277 safealign_memcpy(&uid, query_body, sizeof(uid_t), &offset);
/sssd/src/providers/ipa/
H A Dipa_selinux.c671 safealign_memcpy(&state->buf->data[rp], state->sci->seuser,
676 safealign_memcpy(&state->buf->data[rp], state->sci->mls_range,
681 safealign_memcpy(&state->buf->data[rp], state->sci->username,
/sssd/src/responder/nss/
H A Dnsssrv_services.c710 safealign_memcpy(&body[rzero + rsize],
716 safealign_memcpy(&body[rzero + rsize],
738 safealign_memcpy(&body[rzero + rsize],
H A Dnsssrv_mmap_cache.c550 safealign_memcpy(&name_ptr, rec->data, sizeof(rel_ptr_t), NULL);
/sssd/src/responder/pam/
H A Dpamsrv_p11.c114 safealign_memcpy(buf, pin, len, NULL);
H A Dpamsrv_cmd.c77 safealign_memcpy(&resp[p], user_error_message, err_len, &p);
/sssd/src/responder/ssh/
H A Dsshsrv_cmd.c953 safealign_memcpy(body+(*c), fqname, fqname_len, c);
955 safealign_memcpy(body+(*c), key, key_len, c);
/sssd/src/providers/ad/
H A Dad_gpo.c3996 safealign_memcpy(&buf->data[rp], smb_server, smb_server_length, &rp);
4000 safealign_memcpy(&buf->data[rp], smb_share, smb_share_length, &rp);
4004 safealign_memcpy(&buf->data[rp], smb_path, smb_path_length, &rp);
4008 safealign_memcpy(&buf->data[rp], smb_cse_suffix, smb_cse_suffix_length, &rp);

Completed in 762 milliseconds