/sssd/src/util/crypto/nss/ |
H A D | nss_hmac_sha1.c | 38 unsigned char *out) 85 HASH_End(sha1, out, &res_len, SSS_SHA1_LENGTH); 34 sss_hmac_sha1(const unsigned char *key, size_t key_len, const unsigned char *in, size_t in_len, unsigned char *out) argument
|
H A D | nss_nite.c | 50 uint8_t *out = NULL; local 87 out = talloc_zero_size(tmp_ctx, outlen); 92 ret = generate_csprng_buffer(out, ivlen); 96 ret = nss_ctx_init(tmp_ctx, enc, key, keylen, out, ivlen, &cctx); 110 sret = PK11_CipherOp(cctx->ectx, out + clen, &tmplen.s, 119 sret = PK11_DigestFinal(cctx->ectx, out + clen, &tmplen.u, outlen - clen); 151 sret = PK11_DigestOp(hctx->ectx, out, clen); 157 sret = PK11_DigestFinal(hctx->ectx, out + clen, &digestlen, 164 *ciphertext = talloc_move(mem_ctx, &out); 185 uint8_t *out local [all...] |
/sssd/src/util/crypto/libcrypto/ |
H A D | crypto_hmac_sha1.c | 35 unsigned char *out) 87 EVP_DigestFinal_ex(ctx, out, &res_len); 31 sss_hmac_sha1(const unsigned char *key, size_t key_len, const unsigned char *in, size_t in_len, unsigned char *out) argument
|
H A D | crypto_nite.c | 55 uint8_t *out = NULL; local 83 out = talloc_zero_size(mem_ctx, outlen); 88 RAND_bytes(out, evpivlen); 97 ret = EVP_EncryptInit_ex(ctx, cipher, 0, key, evpivlen ? out : NULL); 105 ret = EVP_EncryptUpdate(ctx, out + outlen, &tmplen, plaintext, plainlen); 113 ret = EVP_EncryptFinal_ex(ctx, out + outlen, &tmplen); 141 ret = EVP_DigestSignUpdate(mdctx, out, outlen); 148 ret = EVP_DigestSignFinal(mdctx, &out[outlen], &slen); 156 *ciphertext = out; 178 uint8_t *out; local [all...] |
/sssd/src/util/ |
H A D | sss_ssh.c | 154 char *out = NULL; local 177 out = talloc_asprintf(mem_ctx, "%s %s", algo, blob); 178 if (!out) { 198 out = talloc_array(mem_ctx, char, len + 1); 199 if (out == NULL) { 204 memcpy(out, pubkey->data, len); 205 out[len] = '\0'; 208 *result = out;
|
H A D | string_utils.c | 31 char *out; local 33 out = talloc_strdup(mem_ctx, in); 34 if (out == NULL) { 38 for (p = out; *p != '\0'; ++p) { 44 return out;
|
H A D | usertools.c | 160 const char *fq_fmt, struct sss_names_ctx **out) 198 *out = ctx; 209 const char *domain, struct sss_names_ctx **out) 291 ret = sss_names_init_from_args(mem_ctx, re_pattern, fq_fmt, out); 524 const char **out; local 539 out = talloc_array(mem_ctx, const char *, num + 1); 540 if (out == NULL) { 545 out[i] = sss_get_cased_name(out, orig[i], case_sensitive); 546 if (out[ 159 sss_names_init_from_args(TALLOC_CTX *mem_ctx, const char *re_pattern, const char *fq_fmt, struct sss_names_ctx **out) argument 208 sss_names_init(TALLOC_CTX *mem_ctx, struct confdb_ctx *cdb, const char *domain, struct sss_names_ctx **out) argument [all...] |
H A D | util.c | 619 /* out->len includes terminating '\0' */ 620 void to_sized_string(struct sized_string *out, const char *in) argument 622 out->str = in; 623 if (out->str) { 624 out->len = strlen(out->str) + 1; 626 out->len = 0;
|
/sssd/src/sss_client/idmap/ |
H A D | sss_nss_idmap.c | 142 struct output *out) 205 SAFEALIGN_COPY_UINT32(&out->type, repbuf + 2 * sizeof(uint32_t), NULL); 227 out->d.str = str; 237 out->d.id = c; 246 out->d.kv_list = kv_list; 271 struct output out; local 279 ret = sss_nss_getyyybyxxx(inp, SSS_NSS_GETSIDBYNAME, &out); 281 *sid = out.d.str; 282 *type = out.type; 292 struct output out; local 141 sss_nss_getyyybyxxx(union input inp, enum sss_cli_command cmd , struct output *out) argument 314 struct output out; local 335 struct output out; local 357 struct output out; local 379 struct output out; local [all...] |
/sssd/src/tests/ |
H A D | crypto-tests.c | 105 unsigned char out[SSS_SHA1_LENGTH]; local 118 out); 120 fail_if(ret == EOK && memcmp(out, results[i], SSS_SHA1_LENGTH) != 0);
|
H A D | safe-format-tests.c | 151 char *out; local 162 out = talloc_strdup(mem_ctx, ""); 163 ret = safe_format_string_cb(callback, &out, fixture->format, 167 ck_assert_str_eq(out, fixture->result); 168 ck_assert_int_eq(ret, strlen(out));
|
H A D | stress-tests.c | 141 char **out; local 145 out = talloc_array(mem_ctx, char *, num_names+1); 146 if (out == NULL) { 151 out[idx] = talloc_asprintf(mem_ctx, "%s%d", prefix, idx); 152 if (out[idx] == NULL) { 156 out[idx] = NULL; 158 *_out = out; 168 char **out; local 170 out = talloc_array(mem_ctx, char *, CHUNK+1); 171 if (out [all...] |
/sssd/src/providers/simple/ |
H A D | simple_access.c | 44 char **out = NULL; local 68 out = talloc_zero_array(tmp_ctx, char*, size + 1); 69 if (out == NULL) { 96 out[i] = sss_create_internal_fqname(out, shortname, domain->name); 97 if (out[i] == NULL) { 103 *_out = talloc_steal(mem_ctx, out);
|
/sssd/src/responder/ifp/ |
H A D | ifp_components.c | 691 const char **out = NULL; local 738 out = talloc_zero_array(tmp_ctx, const char*, num_providers); 739 if (out == NULL) { 755 out[j] = talloc_asprintf(out, "%s=%s", providers[i], value); 756 if (out[j] == NULL) { 763 *_out = talloc_steal(dbus_req, out);
|
H A D | ifp_domains.c | 35 #define RETURN_DOM_PROP_AS_STRING(dbus_req, pvt_data, out, property) do { \ 38 *(out) = NULL; \ 45 *(out) = __dom->property; \ 299 const char **out = NULL; local 357 out = talloc_zero_array(dbus_req, const char*, num_servers); 358 if (out == NULL) { 364 out[i] = talloc_steal(out, servers[i]); 367 *_out = out;
|
H A D | ifp_users.c | 794 const char **out; local 838 out = talloc_zero_array(sbus_req, const char *, res->count); 839 if (out == NULL) { 852 out[num_groups] = ifp_groups_build_path_from_msg(out, 855 if (out[num_groups] == NULL) { 863 *_out = out;
|
/sssd/src/sss_client/libwbclient/ |
H A D | wbc_pwd_sssd.c | 153 static wbcErr copy_pwd(struct passwd *in, struct passwd **out) argument 191 *out = pw; 326 static wbcErr copy_grp(struct group *in, struct group **out) argument 364 *out = gr;
|
/sssd/src/tools/ |
H A D | tools_util.c | 93 char **out; local 109 out = talloc_array(mem_ctx, char *, tokens+1); 110 if (!out) { 124 out[i] = talloc_strdup(out, o); 126 out[tokens-1] = talloc_strdup(out, o); 127 out[tokens] = NULL; 130 *_out = out;
|
H A D | sss_sync_ops.c | 721 struct ops_ctx *out) 727 out->sysdb_fqname = sss_create_internal_fqname(out, name, 728 out->domain->name); 729 if (out->sysdb_fqname == NULL) { 733 ret = sysdb_getpwnam(mem_ctx, out->domain, out->sysdb_fqname, &res); 745 out->uid = ldb_msg_find_attr_as_uint64(res->msgs[0], SYSDB_UIDNUM, 0); 747 out->gid = ldb_msg_find_attr_as_uint64(res->msgs[0], SYSDB_GIDNUM, 0); 750 ret = sss_parse_internal_fqname(out, st 719 sysdb_getpwnam_sync(TALLOC_CTX *mem_ctx, const char *name, struct ops_ctx *out) argument 798 sysdb_getgrnam_sync(TALLOC_CTX *mem_ctx, const char *name, struct ops_ctx *out) argument [all...] |
/sssd/src/sbus/ |
H A D | sbus_codegen | 235 def out(format, *args, **kwargs): function 240 # def out(format, *args, new_line=True) 275 out("") 276 out("/* invokes a handler with a '%s' DBus signature */", signature) 277 out("static int invoke_%s_method(struct sbus_request *dbus_req, void *function_ptr);", signature) 280 out("") 281 out("/* invokes a handler with a '%s' DBus signature */", signature) 282 out("static int invoke_%s_method(struct sbus_request *dbus_req, void *function_ptr)", signature) 283 out("{") 287 out(" [all...] |
/sssd/src/providers/ad/ |
H A D | ad_srv.c | 45 struct fo_server_info *out = NULL; local 64 out = talloc_zero_array(mem_ctx, struct fo_server_info, num); 65 if (out == NULL) { 80 /* this is a normal server, push it to the out domain list */ 90 out[srv_index] = in_domain[j]; 91 talloc_steal(out, out[srv_index].host); 96 out[srv_index] = out_domain[j]; 97 talloc_steal(out, out[srv_inde [all...] |
/sssd/src/responder/common/ |
H A D | responder.h | 62 struct sss_packet *out; member in struct:cli_request
|
/sssd/src/sss_client/ |
H A D | common.c | 866 goto out; 875 goto out; 883 goto out; 890 goto out; 898 goto out; 905 goto out; 913 goto out; 922 goto out; 935 out: 1140 char **out, 1136 sss_readrep_copy_string(const char *in, size_t *offset, size_t *slen, size_t *dlen, char **out, size_t *size) argument [all...] |
/sssd/src/tests/cmocka/ |
H A D | test_sss_sifp.c | 310 bool out; local 327 ret = sss_sifp_find_attr_as_bool(attrs, name, &out); 329 assert_true(in == out); 343 int16_t out; local 360 ret = sss_sifp_find_attr_as_int16(attrs, name, &out); 362 assert_int_equal(in, out); 376 uint16_t out; local 393 ret = sss_sifp_find_attr_as_uint16(attrs, name, &out); 395 assert_int_equal(in, out); 409 int32_t out; local 442 uint32_t out; local 478 int64_t out; local 511 uint64_t out; local 544 const char *out; local 577 const char *out; local 618 hash_table_t *out; local 706 bool *out; local 746 bool *out; local 784 int16_t *out; local 824 int16_t *out; local 862 uint16_t *out; local 902 uint16_t *out; local 940 int32_t *out; local 980 int32_t *out; local 1018 uint32_t *out; local 1058 uint32_t *out; local 1096 int64_t *out; local 1136 int64_t *out; local 1174 uint64_t *out; local 1214 uint64_t *out; local 1252 const char * const *out; local 1292 const char * const *out; local 1330 const char * const *out; local 1370 const char * const *out; local 1417 hash_table_t *out; local 1526 uint32_t out; local 1631 uint32_t out; local 1672 uint32_t out; local 1754 const char *out; local 1969 char **out = NULL; local 2028 sss_sifp_object *out = NULL; local [all...] |
/sssd/src/providers/ |
H A D | fail_over.c | 1249 struct fo_server *out; member in struct:resolve_srv_state 1315 state->out = server; 1323 state->out = server; 1415 state->out = state->service->last_tried_server; 1419 state->out = state->service->server_list; 1432 state->out = state->meta->next; 1438 state->service->last_tried_server = state->out; 1459 state->out = state->meta; 1477 *server = state->out;
|