sp 193 lib/util/util_net.c const char *sp = str; sp 205 lib/util/util_net.c sp = addr; sp 207 lib/util/util_net.c ret = inet_pton(AF_INET6, sp, &dest6); sp 4281 source3/client/client.c const char *buf, *sp; sp 4289 source3/client/client.c sp = strchr(buf, ' '); sp 4290 source3/client/client.c if (sp == NULL) sp 4294 source3/client/client.c if ((strncmp(commands[i].name, buf, sp - buf) == 0) && sp 4295 source3/client/client.c (commands[i].name[sp - buf] == 0)) { sp 4302 source3/client/client.c while (*sp == ' ') sp 4303 source3/client/client.c sp++; sp 4305 source3/client/client.c if (sp == (buf + start)) sp 1529 source3/lib/util.c unw_word_t ip, sp, off; sp 1544 source3/lib/util.c ip = sp = 0; sp 1546 source3/lib/util.c unw_get_reg(&cursor, UNW_REG_SP, &sp); sp 1556 source3/lib/util.c (long long)ip, (long long) sp)); sp 1564 source3/lib/util.c (long long)ip, (long long) sp)); sp 8658 source3/param/loadparm.c const struct service *sp = &sDefault; sp 8660 source3/param/loadparm.c sp = ServicePtrs[snum_template]; sp 8663 source3/param/loadparm.c if ((iService = add_a_service(sp, service_name)) < 0) { sp 223 source3/smbd/statcache.c char *sp; sp 239 source3/smbd/statcache.c if (!(sp = strrchr_m(chk_name, '/'))) { sp 248 source3/smbd/statcache.c *sp = '\0'; sp 294 source3/smbd/statcache.c char *sp; sp 296 source3/smbd/statcache.c sp = strnrchr_m(name, '/', num_components); sp 297 source3/smbd/statcache.c if (sp) { sp 300 source3/smbd/statcache.c translated_path, sp); sp 189 source3/utils/smbcontrol.c unw_word_t ip, sp; sp 235 source3/utils/smbcontrol.c ip = sp = off = 0; sp 237 source3/utils/smbcontrol.c unw_get_reg(&cursor, UNW_REG_SP, &sp); sp 245 source3/utils/smbcontrol.c (long long)sp); sp 2885 source4/client/client.c const char *buf, *sp; sp 2893 source4/client/client.c sp = strchr(buf, ' '); sp 2894 source4/client/client.c if (sp == NULL) sp 2898 source4/client/client.c if ((strncmp(commands[i].name, text, sp - buf) == 0) && (commands[i].name[sp - buf] == 0)) sp 2903 source4/client/client.c while (*sp == ' ') sp 2904 source4/client/client.c sp++; sp 2906 source4/client/client.c if (sp == (buf + start)) sp 304 source4/heimdal/kdc/524.c krb5_storage *sp; sp 379 source4/heimdal/kdc/524.c sp = krb5_storage_from_mem(buf, sizeof(buf)); sp 380 source4/heimdal/kdc/524.c if (sp) { sp 381 source4/heimdal/kdc/524.c krb5_store_int32(sp, ret); sp 383 source4/heimdal/kdc/524.c krb5_store_int32(sp, kvno); sp 384 source4/heimdal/kdc/524.c krb5_store_data(sp, ticket.cipher); sp 386 source4/heimdal/kdc/524.c krb5_storage_seek(sp, MAX_KTXT_LEN - ticket.cipher.length, SEEK_CUR); sp 387 source4/heimdal/kdc/524.c krb5_store_int32(sp, 0); /* mbz */ sp 390 source4/heimdal/kdc/524.c ret = krb5_storage_to_data(sp, reply); sp 391 source4/heimdal/kdc/524.c reply->length = krb5_storage_seek(sp, 0, SEEK_CUR); sp 392 source4/heimdal/kdc/524.c krb5_storage_free(sp); sp 218 source4/heimdal/kdc/digest.c krb5_storage *sp = NULL; sp 394 source4/heimdal/kdc/digest.c sp = krb5_storage_emem(); sp 395 source4/heimdal/kdc/digest.c if (sp == NULL) { sp 400 source4/heimdal/kdc/digest.c ret = krb5_store_stringz(sp, ireq.u.init.type); sp 422 source4/heimdal/kdc/digest.c ret = krb5_store_stringz(sp, r.u.initReply.nonce); sp 448 source4/heimdal/kdc/digest.c ret = krb5_store_stringz(sp, *ireq.u.init.hostname); sp 455 source4/heimdal/kdc/digest.c ret = krb5_storage_to_data(sp, &buf); sp 502 source4/heimdal/kdc/digest.c sp = krb5_storage_emem(); sp 503 source4/heimdal/kdc/digest.c if (sp == NULL) { sp 508 source4/heimdal/kdc/digest.c ret = krb5_store_stringz(sp, ireq.u.digestRequest.type); sp 514 source4/heimdal/kdc/digest.c krb5_store_stringz(sp, ireq.u.digestRequest.serverNonce); sp 517 source4/heimdal/kdc/digest.c ret = krb5_store_stringz(sp, *ireq.u.digestRequest.hostname); sp 547 source4/heimdal/kdc/digest.c ret = krb5_storage_to_data(sp, &buf); sp 1064 source4/heimdal/kdc/digest.c sp = krb5_storage_emem(); sp 1065 source4/heimdal/kdc/digest.c if (sp == NULL) { sp 1071 source4/heimdal/kdc/digest.c ret = krb5_storage_write(sp, r.u.ntlmInitReply.challange.data, 8); sp 1077 source4/heimdal/kdc/digest.c ret = krb5_store_uint32(sp, r.u.ntlmInitReply.flags); sp 1083 source4/heimdal/kdc/digest.c ret = krb5_storage_to_data(sp, &buf); sp 1150 source4/heimdal/kdc/digest.c sp = krb5_storage_from_data(&buf); sp 1151 source4/heimdal/kdc/digest.c if (sp == NULL) { sp 1157 source4/heimdal/kdc/digest.c ret = krb5_storage_read(sp, challange, sizeof(challange)); sp 1163 source4/heimdal/kdc/digest.c ret = krb5_ret_uint32(sp, &flags); sp 1437 source4/heimdal/kdc/digest.c if (sp) sp 1438 source4/heimdal/kdc/digest.c krb5_storage_free(sp); sp 112 source4/heimdal/kdc/kaserver.c decode_rx_header (krb5_storage *sp, sp 117 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint32(sp, &h->epoch); sp 119 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint32(sp, &h->connid); sp 121 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint32(sp, &h->callid); sp 123 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint32(sp, &h->seqno); sp 125 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint32(sp, &h->serialno); sp 127 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint8(sp, &h->type); sp 129 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint8(sp, &h->flags); sp 131 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint8(sp, &h->status); sp 133 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint8(sp, &h->secindex); sp 135 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint16(sp, &h->reserved); sp 137 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint16(sp, &h->serviceid); sp 145 source4/heimdal/kdc/kaserver.c krb5_storage *sp) sp 149 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint32(sp, h->epoch); sp 151 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint32(sp, h->connid); sp 153 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint32(sp, h->callid); sp 155 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint32(sp, h->seqno); sp 157 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint32(sp, h->serialno); sp 159 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint8(sp, h->type); sp 161 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint8(sp, h->flags); sp 163 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint8(sp, h->status); sp 165 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint8(sp, h->secindex); sp 167 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint16(sp, h->reserved); sp 169 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint16(sp, h->serviceid); sp 206 source4/heimdal/kdc/kaserver.c krb5_storage *sp; sp 209 source4/heimdal/kdc/kaserver.c sp = krb5_storage_emem(); sp 210 source4/heimdal/kdc/kaserver.c if (sp == NULL) sp 212 source4/heimdal/kdc/kaserver.c ret = encode_rx_header (&reply_hdr, sp); sp 215 source4/heimdal/kdc/kaserver.c krb5_store_int32(sp, error); sp 216 source4/heimdal/kdc/kaserver.c krb5_storage_to_data (sp, reply); sp 217 source4/heimdal/kdc/kaserver.c krb5_storage_free (sp); sp 221 source4/heimdal/kdc/kaserver.c krb5_ret_xdr_data(krb5_storage *sp, sp 226 source4/heimdal/kdc/kaserver.c ret = krb5_ret_int32(sp, &size); sp 239 source4/heimdal/kdc/kaserver.c ret = krb5_storage_read(sp, data->data, size); sp 243 source4/heimdal/kdc/kaserver.c ret = krb5_storage_read(sp, foo, pad); sp 253 source4/heimdal/kdc/kaserver.c krb5_store_xdr_data(krb5_storage *sp, sp 260 source4/heimdal/kdc/kaserver.c ret = krb5_store_int32(sp, data.length); sp 263 source4/heimdal/kdc/kaserver.c ret = krb5_storage_write(sp, data.data, data.length); sp 271 source4/heimdal/kdc/kaserver.c ret = krb5_storage_write(sp, zero, pad); sp 300 source4/heimdal/kdc/kaserver.c krb5_storage *sp; sp 326 source4/heimdal/kdc/kaserver.c sp = krb5_storage_emem (); sp 329 source4/heimdal/kdc/kaserver.c krb5_store_int32 (sp, fyrtiosjuelva); sp 330 source4/heimdal/kdc/kaserver.c krb5_store_int32 (sp, challenge); sp 331 source4/heimdal/kdc/kaserver.c krb5_storage_write (sp, session.keyvalue.data, 8); sp 333 source4/heimdal/kdc/kaserver.c krb5_store_int32 (sp, kdc_time); sp 334 source4/heimdal/kdc/kaserver.c krb5_store_int32 (sp, kdc_time + _krb5_krb_life_to_time (0, life)); sp 335 source4/heimdal/kdc/kaserver.c krb5_store_int32 (sp, kvno); sp 336 source4/heimdal/kdc/kaserver.c krb5_store_int32 (sp, ticket.length); sp 337 source4/heimdal/kdc/kaserver.c krb5_store_stringz (sp, name); sp 338 source4/heimdal/kdc/kaserver.c krb5_store_stringz (sp, instance); sp 340 source4/heimdal/kdc/kaserver.c krb5_store_stringz (sp, ""); sp 342 source4/heimdal/kdc/kaserver.c krb5_store_stringz (sp, realm); sp 344 source4/heimdal/kdc/kaserver.c krb5_store_stringz (sp, sname); sp 345 source4/heimdal/kdc/kaserver.c krb5_store_stringz (sp, sinstance); sp 346 source4/heimdal/kdc/kaserver.c krb5_storage_write (sp, ticket.data, ticket.length); sp 347 source4/heimdal/kdc/kaserver.c krb5_storage_write (sp, label, strlen(label)); sp 351 source4/heimdal/kdc/kaserver.c pad = (8 - krb5_storage_seek (sp, 0, SEEK_CUR) % 8) % 8; sp 352 source4/heimdal/kdc/kaserver.c krb5_storage_write (sp, zero, pad); sp 354 source4/heimdal/kdc/kaserver.c krb5_storage_to_data (sp, &enc_data); sp 355 source4/heimdal/kdc/kaserver.c krb5_storage_free (sp); sp 382 source4/heimdal/kdc/kaserver.c sp = krb5_storage_emem (); sp 383 source4/heimdal/kdc/kaserver.c ret = encode_rx_header (&reply_hdr, sp); sp 384 source4/heimdal/kdc/kaserver.c krb5_store_int32 (sp, max_seq_len); sp 385 source4/heimdal/kdc/kaserver.c krb5_store_xdr_data (sp, enc_data); sp 387 source4/heimdal/kdc/kaserver.c krb5_storage_to_data (sp, reply); sp 388 source4/heimdal/kdc/kaserver.c krb5_storage_free (sp); sp 393 source4/heimdal/kdc/kaserver.c unparse_auth_args (krb5_storage *sp, sp 404 source4/heimdal/kdc/kaserver.c krb5_ret_xdr_data (sp, &data); sp 412 source4/heimdal/kdc/kaserver.c krb5_ret_xdr_data (sp, &data); sp 422 source4/heimdal/kdc/kaserver.c krb5_ret_int32 (sp, &tmp); sp 424 source4/heimdal/kdc/kaserver.c krb5_ret_int32 (sp, &tmp); sp 426 source4/heimdal/kdc/kaserver.c krb5_ret_xdr_data (sp, request); sp 427 source4/heimdal/kdc/kaserver.c krb5_ret_int32 (sp, max_seq_len); sp 436 source4/heimdal/kdc/kaserver.c krb5_storage *sp, sp 461 source4/heimdal/kdc/kaserver.c ret = unparse_auth_args (sp, &name, &instance, &start_time, &end_time, sp 592 source4/heimdal/kdc/kaserver.c unparse_getticket_args (krb5_storage *sp, sp 604 source4/heimdal/kdc/kaserver.c krb5_ret_int32 (sp, &tmp); sp 607 source4/heimdal/kdc/kaserver.c krb5_ret_xdr_data (sp, &data); sp 615 source4/heimdal/kdc/kaserver.c krb5_ret_xdr_data (sp, ticket); sp 617 source4/heimdal/kdc/kaserver.c krb5_ret_xdr_data (sp, &data); sp 627 source4/heimdal/kdc/kaserver.c krb5_ret_xdr_data (sp, &data); sp 638 source4/heimdal/kdc/kaserver.c krb5_ret_xdr_data (sp, times); sp 640 source4/heimdal/kdc/kaserver.c krb5_ret_int32 (sp, max_seq_len); sp 649 source4/heimdal/kdc/kaserver.c krb5_storage *sp, sp 682 source4/heimdal/kdc/kaserver.c unparse_getticket_args (sp, &kvno, &auth_domain, &aticket, sp 885 source4/heimdal/kdc/kaserver.c krb5_storage *sp; sp 889 source4/heimdal/kdc/kaserver.c sp = krb5_storage_from_mem (buf, len); sp 891 source4/heimdal/kdc/kaserver.c ret = decode_rx_header (sp, &hdr); sp 919 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint32(sp, &op); sp 925 source4/heimdal/kdc/kaserver.c do_authenticate (context, config, &hdr, sp, addr, from, reply); sp 928 source4/heimdal/kdc/kaserver.c do_getticket (context, config, &hdr, sp, addr, from, reply); sp 949 source4/heimdal/kdc/kaserver.c krb5_storage_free (sp); sp 136 source4/heimdal/kdc/kerberos4.c krb5_storage *sp; sp 159 source4/heimdal/kdc/kerberos4.c sp = krb5_storage_from_mem(buf, len); sp 160 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_int8(sp, &pvno), out); sp 168 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_int8(sp, &msg_type), out); sp 179 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_stringz(sp, &name), out1); sp 180 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_stringz(sp, &inst), out1); sp 181 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_stringz(sp, &realm), out1); sp 182 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_int32(sp, &req_time), out1); sp 185 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_uint8(sp, &life), out1); sp 186 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_stringz(sp, &sname), out1); sp 187 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_stringz(sp, &sinst), out1); sp 357 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_int8(sp, &kvno), out2); sp 358 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_stringz(sp, &realm), out2); sp 404 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_int8(sp, &ticket_len), out2); sp 405 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_int8(sp, &req_len), out2); sp 407 source4/heimdal/kdc/kerberos4.c pos = krb5_storage_seek(sp, ticket_len + req_len, SEEK_CUR); sp 426 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_int32(sp, &req_time), out2); sp 429 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_uint8(sp, &life), out2); sp 430 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_stringz(sp, &sname), out2); sp 431 source4/heimdal/kdc/kerberos4.c RCHECK(krb5_ret_stringz(sp, &sinst), out2); sp 638 source4/heimdal/kdc/kerberos4.c krb5_storage_free(sp); sp 648 source4/heimdal/kdc/kerberos4.c krb5_storage *sp; sp 683 source4/heimdal/kdc/kerberos4.c sp = krb5_storage_emem(); sp 685 source4/heimdal/kdc/kerberos4.c krb5_store_int8(sp, 0); /* flags */ sp 686 source4/heimdal/kdc/kerberos4.c krb5_store_stringz(sp, name); sp 687 source4/heimdal/kdc/kerberos4.c krb5_store_stringz(sp, inst); sp 688 source4/heimdal/kdc/kerberos4.c krb5_store_stringz(sp, realm); sp 700 source4/heimdal/kdc/kerberos4.c krb5_storage_write(sp, tmp, sizeof(tmp)); sp 708 source4/heimdal/kdc/kerberos4.c krb5_storage_write(sp, et->key.keyvalue.data, 8); sp 712 source4/heimdal/kdc/kerberos4.c krb5_store_int8(sp, krb_time_to_life(start, et->endtime)); sp 713 source4/heimdal/kdc/kerberos4.c krb5_store_int32(sp, start); sp 716 source4/heimdal/kdc/kerberos4.c krb5_store_stringz(sp, sname); sp 717 source4/heimdal/kdc/kerberos4.c krb5_store_stringz(sp, sinst); sp 721 source4/heimdal/kdc/kerberos4.c krb5_storage_to_data(sp, &data); sp 722 source4/heimdal/kdc/kerberos4.c krb5_storage_free(sp); sp 1464 source4/heimdal/kdc/kerberos5.c #define CNT(sp,t) (((sp)->sname->name_type) == KRB5_NT_##t) sp 114 source4/heimdal/kdc/krb5tgs.c KRB5SignedPath sp; sp 154 source4/heimdal/kdc/krb5tgs.c sp.etype = enctype; sp 155 source4/heimdal/kdc/krb5tgs.c sp.delegated = principals; sp 158 source4/heimdal/kdc/krb5tgs.c data.data, data.length, &sp.cksum); sp 164 source4/heimdal/kdc/krb5tgs.c ASN1_MALLOC_ENCODE(KRB5SignedPath, data.data, data.length, &sp, &size, ret); sp 165 source4/heimdal/kdc/krb5tgs.c free_Checksum(&sp.cksum); sp 202 source4/heimdal/kdc/krb5tgs.c KRB5SignedPath sp; sp 206 source4/heimdal/kdc/krb5tgs.c ret = decode_KRB5SignedPath(data.data, data.length, &sp, NULL); sp 216 source4/heimdal/kdc/krb5tgs.c spd.delegated = sp.delegated; sp 223 source4/heimdal/kdc/krb5tgs.c free_KRB5SignedPath(&sp); sp 231 source4/heimdal/kdc/krb5tgs.c ret = hdb_enctype2key(context, &krbtgt->entry, sp.etype, &key); sp 236 source4/heimdal/kdc/krb5tgs.c free_KRB5SignedPath(&sp); sp 242 source4/heimdal/kdc/krb5tgs.c &sp.cksum); sp 246 source4/heimdal/kdc/krb5tgs.c free_KRB5SignedPath(&sp); sp 250 source4/heimdal/kdc/krb5tgs.c if (delegated && sp.delegated) { sp 252 source4/heimdal/kdc/krb5tgs.c *delegated = malloc(sizeof(*sp.delegated)); sp 254 source4/heimdal/kdc/krb5tgs.c free_KRB5SignedPath(&sp); sp 258 source4/heimdal/kdc/krb5tgs.c ret = copy_KRB5SignedPathPrincipals(*delegated, sp.delegated); sp 260 source4/heimdal/kdc/krb5tgs.c free_KRB5SignedPath(&sp); sp 266 source4/heimdal/kdc/krb5tgs.c free_KRB5SignedPath(&sp); sp 1372 source4/heimdal/kdc/krb5tgs.c krb5_principal cp = NULL, sp = NULL; sp 1453 source4/heimdal/kdc/krb5tgs.c _krb5_principalname2krb5_principal(context, &sp, *s, r); sp 1454 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name(context, sp, &spn); sp 1477 source4/heimdal/kdc/krb5tgs.c ret = _kdc_db_fetch(context, config, sp, HDB_F_GET_SERVER | HDB_F_CANON, sp 1485 source4/heimdal/kdc/krb5tgs.c if ((req_rlm = get_krbtgt_realm(&sp->name)) != NULL) { sp 1492 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, sp); sp 1494 source4/heimdal/kdc/krb5tgs.c krb5_make_principal(context, &sp, r, sp 1496 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name(context, sp, &spn); sp 1506 source4/heimdal/kdc/krb5tgs.c } else if(need_referral(context, config, &b->kdc_options, sp, &realms)) { sp 1507 source4/heimdal/kdc/krb5tgs.c if (strcmp(realms[0], sp->realm) != 0) { sp 1512 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, sp); sp 1514 source4/heimdal/kdc/krb5tgs.c krb5_make_principal(context, &sp, r, KRB5_TGS_NAME, sp 1516 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name(context, sp, &spn); sp 1616 source4/heimdal/kdc/krb5tgs.c if (strcmp(krb5_principal_get_realm(context, sp), sp 1736 source4/heimdal/kdc/krb5tgs.c if (krb5_principal_compare(context, cp, sp) != TRUE) { sp 1815 source4/heimdal/kdc/krb5tgs.c ret = check_constrained_delegation(context, config, client, sp); sp 1941 source4/heimdal/kdc/krb5tgs.c sp, sp 1968 source4/heimdal/kdc/krb5tgs.c if (sp) sp 1969 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, sp); sp 166 source4/heimdal/kdc/process.c krb5_storage *sp; sp 185 source4/heimdal/kdc/process.c sp = krb5_storage_from_fd(fd); sp 187 source4/heimdal/kdc/process.c if (sp == NULL) { sp 196 source4/heimdal/kdc/process.c krb5_store_uint32(sp, 1); sp 197 source4/heimdal/kdc/process.c krb5_store_uint32(sp, t); sp 198 source4/heimdal/kdc/process.c krb5_store_address(sp, a); sp 199 source4/heimdal/kdc/process.c krb5_store_data(sp, d); sp 207 source4/heimdal/kdc/process.c krb5_store_uint32(sp, 0xffffffff); sp 208 source4/heimdal/kdc/process.c krb5_store_uint32(sp, 0xffffffff); sp 210 source4/heimdal/kdc/process.c krb5_store_uint32(sp, MAKE_TAG(cl, ty, 0)); sp 211 source4/heimdal/kdc/process.c krb5_store_uint32(sp, tag); sp 217 source4/heimdal/kdc/process.c krb5_storage_free(sp); sp 47 source4/heimdal/lib/gssapi/krb5/export_sec_context.c krb5_storage *sp; sp 66 source4/heimdal/lib/gssapi/krb5/export_sec_context.c sp = krb5_storage_emem (); sp 67 source4/heimdal/lib/gssapi/krb5/export_sec_context.c if (sp == NULL) { sp 88 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_int32 (sp, flags); sp 96 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_int32 (sp, ac->flags); sp 102 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_address (sp, *ac->local_address); sp 109 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_address (sp, *ac->remote_address); sp 115 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_int16 (sp, ac->local_port); sp 120 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_int16 (sp, ac->remote_port); sp 126 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_keyblock (sp, *ac->keyblock); sp 133 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_keyblock (sp, *ac->local_subkey); sp 140 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_keyblock (sp, *ac->remote_subkey); sp 146 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_int32 (sp, ac->local_seqnumber); sp 151 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_int32 (sp, ac->remote_seqnumber); sp 157 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_int32 (sp, ac->keytype); sp 162 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_int32 (sp, ac->cksumtype); sp 176 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_data (sp, data); sp 192 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_data (sp, data); sp 199 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_int32 (sp, ctx->flags); sp 204 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_int32 (sp, ctx->more_flags); sp 209 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_store_int32 (sp, ctx->lifetime); sp 214 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = _gssapi_msg_order_export(sp, ctx->order); sp 220 source4/heimdal/lib/gssapi/krb5/export_sec_context.c kret = krb5_storage_to_data (sp, &data); sp 221 source4/heimdal/lib/gssapi/krb5/export_sec_context.c krb5_storage_free (sp); sp 238 source4/heimdal/lib/gssapi/krb5/export_sec_context.c krb5_storage_free (sp); sp 48 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_storage *sp; sp 65 source4/heimdal/lib/gssapi/krb5/import_sec_context.c sp = krb5_storage_from_mem (interprocess_token->value, sp 67 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (sp == NULL) { sp 75 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_storage_free (sp); sp 92 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_int32 (sp, &flags) != 0) sp 98 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_int32 (sp, &tmp) != 0) sp 102 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_address (sp, localp = &local) != 0) sp 107 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_address (sp, remotep = &remote) != 0) sp 118 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_int16 (sp, &ac->local_port) != 0) sp 121 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_int16 (sp, &ac->remote_port) != 0) sp 124 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_keyblock (sp, &keyblock) != 0) sp 130 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_keyblock (sp, &keyblock) != 0) sp 136 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_keyblock (sp, &keyblock) != 0) sp 141 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_uint32 (sp, &ac->local_seqnumber)) sp 143 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_uint32 (sp, &ac->remote_seqnumber)) sp 146 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_int32 (sp, &tmp) != 0) sp 149 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_int32 (sp, &tmp) != 0) sp 155 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_data (sp, &data)) sp 173 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_data (sp, &data) != 0) sp 191 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_int32 (sp, &tmp)) sp 194 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_int32 (sp, &tmp)) sp 197 source4/heimdal/lib/gssapi/krb5/import_sec_context.c if (krb5_ret_int32 (sp, &tmp)) sp 201 source4/heimdal/lib/gssapi/krb5/import_sec_context.c ret = _gssapi_msg_order_import(minor_status, sp, &ctx->order); sp 205 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_storage_free (sp); sp 225 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_storage_free (sp); sp 114 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_storage *sp = NULL; sp 121 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c sp = krb5_storage_emem(); sp 122 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c if (sp == NULL) { sp 153 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_keyblock(sp, *key); sp 158 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_storage_to_data(sp, &data); sp 175 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c if (sp) sp 176 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_storage_free(sp); sp 273 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_storage *sp = NULL; sp 287 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c sp = krb5_storage_emem(); sp 288 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c if (sp == NULL) { sp 294 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_int32(sp, 1); sp 296 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_int32(sp, (context_handle->more_flags & LOCAL) ? 1 : 0); sp 298 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_int32(sp, context_handle->lifetime); sp 303 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_uint32(sp, (uint32_t)0); /* store top half as zero */ sp 305 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_uint32(sp, (uint32_t)number); sp 310 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_uint32(sp, (uint32_t)0); /* store top half as zero */ sp 312 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_uint32(sp, (uint32_t)number); sp 314 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_int32(sp, (is_cfx) ? 1 : 0); sp 345 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_int32(sp, sign_alg); sp 347 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_int32(sp, seal_alg); sp 350 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_keyblock(sp, *key); sp 356 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_int32(sp, subkey_p); sp 359 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_keyblock(sp, *key); sp 363 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_keyblock(sp, *key); sp 367 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_storage_to_data(sp, &data); sp 385 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c if (sp) sp 386 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_storage_free(sp); sp 433 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_storage *sp = NULL; sp 438 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c sp = krb5_storage_emem(); sp 439 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c if (sp == NULL) { sp 455 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_store_keyblock(sp, *ctx->service_keyblock); sp 462 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_storage_to_data(sp, &data); sp 479 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c if (sp) sp 480 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_storage_free(sp); sp 216 source4/heimdal/lib/gssapi/krb5/sequence.c _gssapi_msg_order_export(krb5_storage *sp, struct gss_msg_order *o) sp 221 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_store_int32(sp, o->flags); sp 224 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_store_int32(sp, o->start); sp 227 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_store_int32(sp, o->length); sp 230 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_store_int32(sp, o->jitter_window); sp 233 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_store_int32(sp, o->first_seq); sp 238 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_store_int32(sp, o->elem[i]); sp 248 source4/heimdal/lib/gssapi/krb5/sequence.c krb5_storage *sp, sp 255 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_ret_int32(sp, &flags); sp 258 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_ret_int32(sp, &start); sp 261 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_ret_int32(sp, &length); sp 264 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_ret_int32(sp, &jitter_window); sp 267 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_ret_int32(sp, &first_seq); sp 282 source4/heimdal/lib/gssapi/krb5/sequence.c kret = krb5_ret_int32(sp, (int32_t*)&((*o)->elem[i])); sp 61 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_storage *sp = NULL; sp 70 source4/heimdal/lib/gssapi/krb5/set_cred_option.c sp = krb5_storage_from_mem(value->value, value->length); sp 71 source4/heimdal/lib/gssapi/krb5/set_cred_option.c if (sp == NULL) { sp 77 source4/heimdal/lib/gssapi/krb5/set_cred_option.c ret = krb5_ret_string(sp, &str); sp 95 source4/heimdal/lib/gssapi/krb5/set_cred_option.c ret = krb5_ret_string(sp, &str); sp 107 source4/heimdal/lib/gssapi/krb5/set_cred_option.c ret = krb5_ret_string(sp, &str); sp 135 source4/heimdal/lib/gssapi/krb5/set_cred_option.c if (sp) sp 136 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_storage_free(sp); sp 152 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_storage *sp = NULL; sp 176 source4/heimdal/lib/gssapi/krb5/set_cred_option.c sp = krb5_storage_from_mem(value->value, value->length); sp 177 source4/heimdal/lib/gssapi/krb5/set_cred_option.c if (sp == NULL) { sp 186 source4/heimdal/lib/gssapi/krb5/set_cred_option.c ret = krb5_ret_uint32(sp, &e); sp 200 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_storage_free(sp); sp 205 source4/heimdal/lib/gssapi/krb5/set_cred_option.c if (sp) sp 206 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_storage_free(sp); sp 105 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_storage *sp; sp 117 source4/heimdal/lib/gssapi/mech/gss_krb5.c sp = krb5_storage_emem(); sp 118 source4/heimdal/lib/gssapi/mech/gss_krb5.c if (sp == NULL) { sp 127 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_store_string(sp, str); sp 131 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_store_string(sp, ""); sp 141 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_store_string(sp, str); sp 145 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_store_string(sp, ""); sp 156 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_store_string(sp, str); sp 160 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_store_string(sp, ""); sp 167 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_storage_to_data(sp, &data); sp 183 source4/heimdal/lib/gssapi/mech/gss_krb5.c if (sp) sp 184 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_storage_free(sp); sp 274 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_storage *sp = NULL; sp 309 source4/heimdal/lib/gssapi/mech/gss_krb5.c sp = krb5_storage_from_mem(data_set->elements[0].value, sp 311 source4/heimdal/lib/gssapi/mech/gss_krb5.c if (sp == NULL) { sp 316 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_uint32(sp, &num); sp 324 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_uint32(sp, &ctx->initiate); sp 327 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_uint32(sp, &ctx->endtime); sp 330 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_uint32(sp, &num); sp 333 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_uint32(sp, &num); sp 337 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_uint32(sp, &num); sp 340 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_uint32(sp, &num); sp 344 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_uint32(sp, &ctx->protocol); sp 350 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_uint32(sp, &ctx->rfc1964_kd.sign_alg); sp 353 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_uint32(sp, &ctx->rfc1964_kd.seal_alg); sp 356 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_keyblock(sp, &key); sp 365 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_uint32(sp, &ctx->cfx_kd.have_acceptor_subkey); sp 368 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_keyblock(sp, &key); sp 375 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_keyblock(sp, &key); sp 390 source4/heimdal/lib/gssapi/mech/gss_krb5.c if (sp) sp 391 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_storage_free(sp); sp 443 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_storage *sp; sp 447 source4/heimdal/lib/gssapi/mech/gss_krb5.c sp = krb5_storage_emem(); sp 448 source4/heimdal/lib/gssapi/mech/gss_krb5.c if (sp == NULL) { sp 455 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_store_int32(sp, enctypes[i]); sp 463 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_storage_to_data(sp, &data); sp 479 source4/heimdal/lib/gssapi/mech/gss_krb5.c if (sp) sp 480 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_storage_free(sp); sp 715 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_storage *sp = NULL; sp 742 source4/heimdal/lib/gssapi/mech/gss_krb5.c sp = krb5_storage_from_mem(data_set->elements[0].value, sp 744 source4/heimdal/lib/gssapi/mech/gss_krb5.c if (sp == NULL) { sp 755 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_ret_keyblock(sp, *keyblock); sp 759 source4/heimdal/lib/gssapi/mech/gss_krb5.c if (sp) sp 760 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_storage_free(sp); sp 155 source4/heimdal/lib/hdb/mkey.c krb5_storage *sp; sp 166 source4/heimdal/lib/hdb/mkey.c sp = krb5_storage_from_fd(fd); sp 167 source4/heimdal/lib/hdb/mkey.c if(sp == NULL) { sp 171 source4/heimdal/lib/hdb/mkey.c krb5_storage_set_flags(sp, KRB5_STORAGE_HOST_BYTEORDER); sp 175 source4/heimdal/lib/hdb/mkey.c ret = krb5_ret_keyblock(sp, &key); sp 177 source4/heimdal/lib/hdb/mkey.c ret = krb5_ret_int16(sp, &enctype); sp 185 source4/heimdal/lib/hdb/mkey.c ret = krb5_ret_data(sp, &key.keyvalue); sp 192 source4/heimdal/lib/hdb/mkey.c krb5_storage_free(sp); sp 678 source4/heimdal/lib/krb5/addr_families.c krb5_storage *sp; sp 680 source4/heimdal/lib/krb5/addr_families.c sp = krb5_storage_from_data((krb5_data*)rk_UNCONST(&addr->address)); sp 682 source4/heimdal/lib/krb5/addr_families.c krb5_storage_set_byteorder(sp, KRB5_STORAGE_BYTEORDER_LE); sp 684 source4/heimdal/lib/krb5/addr_families.c krb5_storage_seek(sp, 2, SEEK_CUR); /* skip first two bytes */ sp 685 source4/heimdal/lib/krb5/addr_families.c krb5_ret_address(sp, &addr1); sp 687 source4/heimdal/lib/krb5/addr_families.c krb5_storage_seek(sp, 2, SEEK_CUR); /* skip two bytes */ sp 688 source4/heimdal/lib/krb5/addr_families.c krb5_ret_address(sp, &addr2); sp 689 source4/heimdal/lib/krb5/addr_families.c krb5_storage_free(sp); sp 68 source4/heimdal/lib/krb5/convert_creds.c krb5_storage *sp; sp 97 source4/heimdal/lib/krb5/convert_creds.c sp = krb5_storage_from_mem(reply.data, reply.length); sp 98 source4/heimdal/lib/krb5/convert_creds.c if(sp == NULL) { sp 103 source4/heimdal/lib/krb5/convert_creds.c krb5_ret_int32(sp, &tmp); sp 107 source4/heimdal/lib/krb5/convert_creds.c ret = krb5_ret_int32(sp, &tmp); sp 111 source4/heimdal/lib/krb5/convert_creds.c ret = krb5_ret_data(sp, &ticket); sp 141 source4/heimdal/lib/krb5/convert_creds.c krb5_storage_free(sp); sp 45 source4/heimdal/lib/krb5/fcache.c krb5_storage *sp; sp 142 source4/heimdal/lib/krb5/fcache.c write_storage(krb5_context context, krb5_storage *sp, int fd) sp 148 source4/heimdal/lib/krb5/fcache.c ret = krb5_storage_to_data(sp, &data); sp 336 source4/heimdal/lib/krb5/fcache.c storage_set_flags(krb5_context context, krb5_storage *sp, int vno) sp 357 source4/heimdal/lib/krb5/fcache.c krb5_storage_set_flags(sp, flags); sp 405 source4/heimdal/lib/krb5/fcache.c krb5_storage *sp; sp 406 source4/heimdal/lib/krb5/fcache.c sp = krb5_storage_emem(); sp 407 source4/heimdal/lib/krb5/fcache.c krb5_storage_set_eof_code(sp, KRB5_CC_END); sp 412 source4/heimdal/lib/krb5/fcache.c ret |= krb5_store_int8(sp, 5); sp 413 source4/heimdal/lib/krb5/fcache.c ret |= krb5_store_int8(sp, f->version); sp 414 source4/heimdal/lib/krb5/fcache.c storage_set_flags(context, sp, f->version); sp 418 source4/heimdal/lib/krb5/fcache.c ret |= krb5_store_int16 (sp, 12); /* length */ sp 419 source4/heimdal/lib/krb5/fcache.c ret |= krb5_store_int16 (sp, FCC_TAG_DELTATIME); /* Tag */ sp 420 source4/heimdal/lib/krb5/fcache.c ret |= krb5_store_int16 (sp, 8); /* length of data */ sp 421 source4/heimdal/lib/krb5/fcache.c ret |= krb5_store_int32 (sp, context->kdc_sec_offset); sp 422 source4/heimdal/lib/krb5/fcache.c ret |= krb5_store_int32 (sp, context->kdc_usec_offset); sp 424 source4/heimdal/lib/krb5/fcache.c ret |= krb5_store_int16 (sp, 0); sp 427 source4/heimdal/lib/krb5/fcache.c ret |= krb5_store_principal(sp, primary_principal); sp 429 source4/heimdal/lib/krb5/fcache.c ret |= write_storage(context, sp, fd); sp 431 source4/heimdal/lib/krb5/fcache.c krb5_storage_free(sp); sp 472 source4/heimdal/lib/krb5/fcache.c krb5_storage *sp; sp 474 source4/heimdal/lib/krb5/fcache.c sp = krb5_storage_emem(); sp 475 source4/heimdal/lib/krb5/fcache.c krb5_storage_set_eof_code(sp, KRB5_CC_END); sp 476 source4/heimdal/lib/krb5/fcache.c storage_set_flags(context, sp, FCACHE(id)->version); sp 481 source4/heimdal/lib/krb5/fcache.c krb5_storage_set_flags(sp, KRB5_STORAGE_CREDS_FLAGS_WRONG_BITORDER); sp 482 source4/heimdal/lib/krb5/fcache.c ret = krb5_store_creds(sp, creds); sp 484 source4/heimdal/lib/krb5/fcache.c ret = write_storage(context, sp, fd); sp 485 source4/heimdal/lib/krb5/fcache.c krb5_storage_free(sp); sp 506 source4/heimdal/lib/krb5/fcache.c krb5_storage *sp; sp 513 source4/heimdal/lib/krb5/fcache.c sp = krb5_storage_from_fd(fd); sp 514 source4/heimdal/lib/krb5/fcache.c if(sp == NULL) { sp 519 source4/heimdal/lib/krb5/fcache.c krb5_storage_set_eof_code(sp, KRB5_CC_END); sp 520 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_int8(sp, &pvno); sp 540 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_int8(sp, &tag); /* should not be host byte order */ sp 548 source4/heimdal/lib/krb5/fcache.c storage_set_flags(context, sp, FCACHE(id)->version); sp 553 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_int16 (sp, &length); sp 566 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_int16 (sp, &dtag); sp 574 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_int16 (sp, &data_len); sp 585 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_int32 (sp, &context->kdc_sec_offset); sp 594 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_int32 (sp, &context->kdc_usec_offset); sp 606 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_int8 (sp, &dummy); sp 634 source4/heimdal/lib/krb5/fcache.c *ret_sp = sp; sp 639 source4/heimdal/lib/krb5/fcache.c if(sp != NULL) sp 640 source4/heimdal/lib/krb5/fcache.c krb5_storage_free(sp); sp 653 source4/heimdal/lib/krb5/fcache.c krb5_storage *sp; sp 655 source4/heimdal/lib/krb5/fcache.c ret = init_fcc (context, id, &sp, &fd); sp 658 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_principal(sp, principal); sp 661 source4/heimdal/lib/krb5/fcache.c krb5_storage_free(sp); sp 687 source4/heimdal/lib/krb5/fcache.c ret = init_fcc (context, id, &FCC_CURSOR(*cursor)->sp, sp 694 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_principal (FCC_CURSOR(*cursor)->sp, &principal); sp 715 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_creds(FCC_CURSOR(*cursor)->sp, creds); sp 728 source4/heimdal/lib/krb5/fcache.c krb5_storage_free(FCC_CURSOR(*cursor)->sp); sp 913 source4/heimdal/lib/krb5/fcache.c krb5_storage *sp; sp 915 source4/heimdal/lib/krb5/fcache.c ret = init_fcc (context, to, &sp, &fd); sp 916 source4/heimdal/lib/krb5/fcache.c krb5_storage_free(sp); sp 780 source4/heimdal/lib/krb5/get_in_tkt.c krb5_salt *sp = &salt; sp 789 source4/heimdal/lib/krb5/get_in_tkt.c sp = NULL; sp 795 source4/heimdal/lib/krb5/get_in_tkt.c sp); sp 44 source4/heimdal/lib/krb5/get_port.c struct servent *sp; sp 46 source4/heimdal/lib/krb5/get_port.c if ((sp = roken_getservbyname (service, proto)) == NULL) { sp 53 source4/heimdal/lib/krb5/get_port.c return sp->s_port; sp 169 source4/heimdal/lib/krb5/kcm.c krb5_storage *sp; sp 174 source4/heimdal/lib/krb5/kcm.c sp = krb5_storage_emem(); sp 175 source4/heimdal/lib/krb5/kcm.c if (sp == NULL) { sp 181 source4/heimdal/lib/krb5/kcm.c ret = krb5_store_int8(sp, KCM_PROTOCOL_VERSION_MAJOR); sp 184 source4/heimdal/lib/krb5/kcm.c ret = krb5_store_int8(sp, KCM_PROTOCOL_VERSION_MINOR); sp 187 source4/heimdal/lib/krb5/kcm.c ret = krb5_store_int16(sp, opcode); sp 191 source4/heimdal/lib/krb5/kcm.c *storage_p = sp; sp 196 source4/heimdal/lib/krb5/kcm.c krb5_storage_free(sp); sp 54 source4/heimdal/lib/krb5/keytab_file.c krb5_storage *sp, sp 59 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int16(sp, &size); sp 68 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_storage_read(sp, data->data, size); sp 76 source4/heimdal/lib/krb5/keytab_file.c krb5_storage *sp, sp 81 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int16(sp, &size); sp 89 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_storage_read(sp, *data, size); sp 98 source4/heimdal/lib/krb5/keytab_file.c krb5_storage *sp, sp 102 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_store_int16(sp, data.length); sp 105 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_storage_write(sp, data.data, data.length); sp 115 source4/heimdal/lib/krb5/keytab_file.c krb5_kt_store_string(krb5_storage *sp, sp 120 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_store_int16(sp, len); sp 123 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_storage_write(sp, data, len); sp 135 source4/heimdal/lib/krb5/keytab_file.c krb5_storage *sp, sp 141 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int16(sp, &tmp); /* keytype + etype */ sp 149 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_data(context, sp, &p->keyvalue); sp 160 source4/heimdal/lib/krb5/keytab_file.c krb5_storage *sp, sp 165 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_store_int16(sp, p->keytype); /* keytype + etype */ sp 172 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_store_data(context, sp, p->keyvalue); sp 184 source4/heimdal/lib/krb5/keytab_file.c krb5_storage *sp, sp 199 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int16(sp, &len); sp 207 source4/heimdal/lib/krb5/keytab_file.c if(krb5_storage_is_flags(sp, KRB5_STORAGE_PRINCIPAL_WRONG_NUM_COMPONENTS)) sp 217 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_string(context, sp, &p->realm); sp 232 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_string(context, sp, p->name.name_string.val + i); sp 241 source4/heimdal/lib/krb5/keytab_file.c if (krb5_storage_is_flags(sp, KRB5_STORAGE_PRINCIPAL_NO_NAME_TYPE)) sp 245 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int32(sp, &tmp32); sp 264 source4/heimdal/lib/krb5/keytab_file.c krb5_storage *sp, sp 270 source4/heimdal/lib/krb5/keytab_file.c if(krb5_storage_is_flags(sp, KRB5_STORAGE_PRINCIPAL_WRONG_NUM_COMPONENTS)) sp 271 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_store_int16(sp, p->name.name_string.len + 1); sp 273 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_store_int16(sp, p->name.name_string.len); sp 275 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_store_string(sp, p->realm); sp 278 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_store_string(sp, p->name.name_string.val[i]); sp 282 source4/heimdal/lib/krb5/keytab_file.c if(!krb5_storage_is_flags(sp, KRB5_STORAGE_PRINCIPAL_NO_NAME_TYPE)) { sp 283 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_store_int32(sp, p->name.name_type); sp 347 source4/heimdal/lib/krb5/keytab_file.c storage_set_flags(krb5_context context, krb5_storage *sp, int vno) sp 362 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_set_flags(sp, flags); sp 390 source4/heimdal/lib/krb5/keytab_file.c c->sp = krb5_storage_from_fd(c->fd); sp 391 source4/heimdal/lib/krb5/keytab_file.c if (c->sp == NULL) { sp 398 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_set_eof_code(c->sp, KRB5_KT_END); sp 399 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int8(c->sp, &pvno); sp 401 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_free(c->sp); sp 408 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_free(c->sp); sp 414 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int8(c->sp, &tag); sp 416 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_free(c->sp); sp 423 source4/heimdal/lib/krb5/keytab_file.c storage_set_flags(context, c->sp, id->version); sp 450 source4/heimdal/lib/krb5/keytab_file.c pos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR); sp 452 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int32(cursor->sp, &len); sp 456 source4/heimdal/lib/krb5/keytab_file.c pos = krb5_storage_seek(cursor->sp, -len, SEEK_CUR); sp 459 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_principal (context, d, cursor->sp, &entry->principal); sp 462 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int32(cursor->sp, &tmp32); sp 466 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int8(cursor->sp, &tmp8); sp 470 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_keyblock (context, d, cursor->sp, &entry->keyblock); sp 476 source4/heimdal/lib/krb5/keytab_file.c curpos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR); sp 478 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int32(cursor->sp, &tmp32); sp 486 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_seek(cursor->sp, pos + 4 + len, SEEK_SET); sp 504 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_free(cursor->sp); sp 513 source4/heimdal/lib/krb5/keytab_file.c krb5_storage *sp) sp 516 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_store_int8(sp, 5); sp 521 source4/heimdal/lib/krb5/keytab_file.c return krb5_store_int8 (sp, id->version); sp 531 source4/heimdal/lib/krb5/keytab_file.c krb5_storage *sp; sp 553 source4/heimdal/lib/krb5/keytab_file.c sp = krb5_storage_from_fd(fd); sp 554 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_set_eof_code(sp, KRB5_KT_END); sp 555 source4/heimdal/lib/krb5/keytab_file.c ret = fkt_setup_keytab(context, id, sp); sp 559 source4/heimdal/lib/krb5/keytab_file.c storage_set_flags(context, sp, id->version); sp 570 source4/heimdal/lib/krb5/keytab_file.c sp = krb5_storage_from_fd(fd); sp 571 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_set_eof_code(sp, KRB5_KT_END); sp 572 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int8(sp, &pvno); sp 576 source4/heimdal/lib/krb5/keytab_file.c ret = fkt_setup_keytab(context, id, sp); sp 583 source4/heimdal/lib/krb5/keytab_file.c storage_set_flags(context, sp, id->version); sp 592 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int8 (sp, &tag); sp 601 source4/heimdal/lib/krb5/keytab_file.c storage_set_flags(context, sp, id->version); sp 670 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_ret_int32(sp, &len); sp 678 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_seek(sp, -4, SEEK_CUR); sp 682 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_seek(sp, len, SEEK_CUR); sp 684 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_store_int32(sp, len); sp 685 source4/heimdal/lib/krb5/keytab_file.c if(krb5_storage_write(sp, keytab.data, keytab.length) < 0) { sp 695 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_free(sp); sp 722 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_seek(cursor.sp, pos_start, SEEK_SET); sp 724 source4/heimdal/lib/krb5/keytab_file.c krb5_store_int32(cursor.sp, -len); sp 727 source4/heimdal/lib/krb5/keytab_file.c krb5_storage_write(cursor.sp, buf, min(len, sizeof(buf))); sp 217 source4/heimdal/lib/krb5/keytab_keyfile.c c->sp = krb5_storage_from_fd(c->fd); sp 218 source4/heimdal/lib/krb5/keytab_keyfile.c ret = krb5_ret_uint32(c->sp, &d->num_entries); sp 220 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_storage_free(c->sp); sp 242 source4/heimdal/lib/krb5/keytab_keyfile.c pos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR); sp 252 source4/heimdal/lib/krb5/keytab_keyfile.c ret = krb5_ret_int32(cursor->sp, &kvno); sp 271 source4/heimdal/lib/krb5/keytab_keyfile.c ret = krb5_storage_read(cursor->sp, entry->keyblock.keyvalue.data, 8); sp 280 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_storage_seek(cursor->sp, pos + 4 + 8, SEEK_SET); sp 289 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_storage_free(cursor->sp); sp 303 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_storage *sp; sp 332 source4/heimdal/lib/krb5/keytab_keyfile.c sp = krb5_storage_from_fd(fd); sp 333 source4/heimdal/lib/krb5/keytab_keyfile.c if(sp == NULL) { sp 342 source4/heimdal/lib/krb5/keytab_keyfile.c if(krb5_storage_seek(sp, 0, SEEK_SET) < 0) { sp 344 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_storage_free(sp); sp 352 source4/heimdal/lib/krb5/keytab_keyfile.c ret = krb5_ret_int32(sp, &len); sp 354 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_storage_free(sp); sp 369 source4/heimdal/lib/krb5/keytab_keyfile.c ret = krb5_ret_int32(sp, &kvno); sp 375 source4/heimdal/lib/krb5/keytab_keyfile.c if(krb5_storage_seek(sp, 8, SEEK_CUR) < 0) { sp 391 source4/heimdal/lib/krb5/keytab_keyfile.c if(krb5_storage_seek(sp, 0, SEEK_SET) < 0) { sp 399 source4/heimdal/lib/krb5/keytab_keyfile.c ret = krb5_store_int32(sp, len); sp 407 source4/heimdal/lib/krb5/keytab_keyfile.c if(krb5_storage_seek(sp, (len - 1) * (8 + 4), SEEK_CUR) < 0) { sp 414 source4/heimdal/lib/krb5/keytab_keyfile.c ret = krb5_store_int32(sp, entry->vno); sp 420 source4/heimdal/lib/krb5/keytab_keyfile.c ret = krb5_storage_write(sp, entry->keyblock.keyvalue.data, sp 433 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_storage_free(sp); sp 485 source4/heimdal/lib/krb5/krb5.h krb5_storage *sp; sp 45 source4/heimdal/lib/krb5/misc.c krb5_storage *sp; sp 49 source4/heimdal/lib/krb5/misc.c sp = krb5_storage_emem(); sp 50 source4/heimdal/lib/krb5/misc.c if (sp == NULL) { sp 54 source4/heimdal/lib/krb5/misc.c krb5_storage_set_flags(sp, KRB5_STORAGE_BYTEORDER_LE); sp 55 source4/heimdal/lib/krb5/misc.c ret = krb5_store_int32(sp, self->name.name_type); sp 60 source4/heimdal/lib/krb5/misc.c ssize = krb5_storage_write(sp, self->name.name_string.val[i], size); sp 67 source4/heimdal/lib/krb5/misc.c ssize = krb5_storage_write(sp, self->realm, size); sp 73 source4/heimdal/lib/krb5/misc.c ssize = krb5_storage_write(sp, self->auth, size); sp 79 source4/heimdal/lib/krb5/misc.c ret = krb5_storage_to_data(sp, data); sp 80 source4/heimdal/lib/krb5/misc.c krb5_storage_free(sp); sp 90 source4/heimdal/lib/krb5/pac.c krb5_storage *sp = NULL; sp 100 source4/heimdal/lib/krb5/pac.c sp = krb5_storage_from_readonly_mem(ptr, len); sp 101 source4/heimdal/lib/krb5/pac.c if (sp == NULL) { sp 106 source4/heimdal/lib/krb5/pac.c krb5_storage_set_flags(sp, KRB5_STORAGE_BYTEORDER_LE); sp 108 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_ret_uint32(sp, &tmp), out); sp 109 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_ret_uint32(sp, &tmp2), out); sp 141 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].type), out); sp 142 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].buffersize), out); sp 143 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].offset_lo), out); sp 144 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].offset_hi), out); sp 211 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 217 source4/heimdal/lib/krb5/pac.c if (sp) sp 218 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 418 source4/heimdal/lib/krb5/pac.c krb5_storage *sp = NULL; sp 425 source4/heimdal/lib/krb5/pac.c sp = krb5_storage_from_mem((char *)data->data + sig->offset_lo, sp 427 source4/heimdal/lib/krb5/pac.c if (sp == NULL) { sp 431 source4/heimdal/lib/krb5/pac.c krb5_storage_set_flags(sp, KRB5_STORAGE_BYTEORDER_LE); sp 433 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_ret_uint32(sp, &type), out); sp 436 source4/heimdal/lib/krb5/pac.c sig->buffersize - krb5_storage_seek(sp, 0, SEEK_CUR); sp 443 source4/heimdal/lib/krb5/pac.c ret = krb5_storage_read(sp, cksum.checksum.data, cksum.checksum.length); sp 465 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 472 source4/heimdal/lib/krb5/pac.c if (sp) sp 473 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 536 source4/heimdal/lib/krb5/pac.c krb5_storage *sp; sp 540 source4/heimdal/lib/krb5/pac.c sp = krb5_storage_from_readonly_mem((const char *)data->data + logon_name->offset_lo, sp 542 source4/heimdal/lib/krb5/pac.c if (sp == NULL) { sp 547 source4/heimdal/lib/krb5/pac.c krb5_storage_set_flags(sp, KRB5_STORAGE_BYTEORDER_LE); sp 549 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_ret_uint32(sp, &time1), out); sp 550 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_ret_uint32(sp, &time2), out); sp 557 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 562 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_ret_uint16(sp, &len), out); sp 564 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 571 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 575 source4/heimdal/lib/krb5/pac.c ret = krb5_storage_read(sp, s, len); sp 577 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 581 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 646 source4/heimdal/lib/krb5/pac.c krb5_storage *sp; sp 655 source4/heimdal/lib/krb5/pac.c sp = krb5_storage_emem(); sp 656 source4/heimdal/lib/krb5/pac.c if (sp == NULL) { sp 660 source4/heimdal/lib/krb5/pac.c krb5_storage_set_flags(sp, KRB5_STORAGE_BYTEORDER_LE); sp 662 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_store_uint32(sp, t & 0xffffffff), out); sp 663 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_store_uint32(sp, t >> 32), out); sp 672 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_store_uint16(sp, len * 2), out); sp 690 source4/heimdal/lib/krb5/pac.c ret = krb5_storage_write(sp, s2, len * 2); sp 696 source4/heimdal/lib/krb5/pac.c ret = krb5_storage_to_data(sp, logon); sp 699 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 703 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 810 source4/heimdal/lib/krb5/pac.c fill_zeros(krb5_context context, krb5_storage *sp, size_t len) sp 819 source4/heimdal/lib/krb5/pac.c sret = krb5_storage_write(sp, zeros, l); sp 872 source4/heimdal/lib/krb5/pac.c krb5_storage *sp = NULL, *spdata = NULL; sp 930 source4/heimdal/lib/krb5/pac.c sp = krb5_storage_emem(); sp 931 source4/heimdal/lib/krb5/pac.c if (sp == NULL) { sp 935 source4/heimdal/lib/krb5/pac.c krb5_storage_set_flags(sp, KRB5_STORAGE_BYTEORDER_LE); sp 939 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 945 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_store_uint32(sp, p->pac->numbuffers), out); sp 946 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_store_uint32(sp, p->pac->version), out); sp 987 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_store_uint32(sp, p->pac->buffers[i].type), out); sp 988 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_store_uint32(sp, len), out); sp 989 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_store_uint32(sp, end), out); sp 990 source4/heimdal/lib/krb5/pac.c CHECK(ret, krb5_store_uint32(sp, 0), out); sp 1014 source4/heimdal/lib/krb5/pac.c ret = krb5_storage_write(sp, d.data, d.length); sp 1023 source4/heimdal/lib/krb5/pac.c ret = krb5_storage_to_data(sp, &d); sp 1051 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 1057 source4/heimdal/lib/krb5/pac.c if (sp) sp 1058 source4/heimdal/lib/krb5/pac.c krb5_storage_free(sp); sp 46 source4/heimdal/lib/krb5/store.c krb5_storage_set_flags(krb5_storage *sp, krb5_flags flags) sp 48 source4/heimdal/lib/krb5/store.c sp->flags |= flags; sp 52 source4/heimdal/lib/krb5/store.c krb5_storage_clear_flags(krb5_storage *sp, krb5_flags flags) sp 54 source4/heimdal/lib/krb5/store.c sp->flags &= ~flags; sp 58 source4/heimdal/lib/krb5/store.c krb5_storage_is_flags(krb5_storage *sp, krb5_flags flags) sp 60 source4/heimdal/lib/krb5/store.c return (sp->flags & flags) == flags; sp 64 source4/heimdal/lib/krb5/store.c krb5_storage_set_byteorder(krb5_storage *sp, krb5_flags byteorder) sp 66 source4/heimdal/lib/krb5/store.c sp->flags &= ~KRB5_STORAGE_BYTEORDER_MASK; sp 67 source4/heimdal/lib/krb5/store.c sp->flags |= byteorder; sp 71 source4/heimdal/lib/krb5/store.c krb5_storage_get_byteorder(krb5_storage *sp, krb5_flags byteorder) sp 73 source4/heimdal/lib/krb5/store.c return sp->flags & KRB5_STORAGE_BYTEORDER_MASK; sp 77 source4/heimdal/lib/krb5/store.c krb5_storage_seek(krb5_storage *sp, off_t offset, int whence) sp 79 source4/heimdal/lib/krb5/store.c return (*sp->seek)(sp, offset, whence); sp 83 source4/heimdal/lib/krb5/store.c krb5_storage_read(krb5_storage *sp, void *buf, size_t len) sp 85 source4/heimdal/lib/krb5/store.c return sp->fetch(sp, buf, len); sp 89 source4/heimdal/lib/krb5/store.c krb5_storage_write(krb5_storage *sp, const void *buf, size_t len) sp 91 source4/heimdal/lib/krb5/store.c return sp->store(sp, buf, len); sp 95 source4/heimdal/lib/krb5/store.c krb5_storage_set_eof_code(krb5_storage *sp, int code) sp 97 source4/heimdal/lib/krb5/store.c sp->eof_code = code; sp 125 source4/heimdal/lib/krb5/store.c krb5_storage_free(krb5_storage *sp) sp 127 source4/heimdal/lib/krb5/store.c if(sp->free) sp 128 source4/heimdal/lib/krb5/store.c (*sp->free)(sp); sp 129 source4/heimdal/lib/krb5/store.c free(sp->data); sp 130 source4/heimdal/lib/krb5/store.c free(sp); sp 135 source4/heimdal/lib/krb5/store.c krb5_storage_to_data(krb5_storage *sp, krb5_data *data) sp 141 source4/heimdal/lib/krb5/store.c pos = sp->seek(sp, 0, SEEK_CUR); sp 142 source4/heimdal/lib/krb5/store.c size = (size_t)sp->seek(sp, 0, SEEK_END); sp 145 source4/heimdal/lib/krb5/store.c sp->seek(sp, pos, SEEK_SET); sp 149 source4/heimdal/lib/krb5/store.c sp->seek(sp, 0, SEEK_SET); sp 150 source4/heimdal/lib/krb5/store.c sp->fetch(sp, data->data, data->length); sp 151 source4/heimdal/lib/krb5/store.c sp->seek(sp, pos, SEEK_SET); sp 157 source4/heimdal/lib/krb5/store.c krb5_store_int(krb5_storage *sp, sp 167 source4/heimdal/lib/krb5/store.c ret = sp->store(sp, v, len); sp 169 source4/heimdal/lib/krb5/store.c return (ret<0)?errno:sp->eof_code; sp 174 source4/heimdal/lib/krb5/store.c krb5_store_int32(krb5_storage *sp, sp 177 source4/heimdal/lib/krb5/store.c if(BYTEORDER_IS_HOST(sp)) sp 179 source4/heimdal/lib/krb5/store.c else if(BYTEORDER_IS_LE(sp)) sp 181 source4/heimdal/lib/krb5/store.c return krb5_store_int(sp, value, 4); sp 185 source4/heimdal/lib/krb5/store.c krb5_store_uint32(krb5_storage *sp, sp 188 source4/heimdal/lib/krb5/store.c return krb5_store_int32(sp, (int32_t)value); sp 192 source4/heimdal/lib/krb5/store.c krb5_ret_int(krb5_storage *sp, sp 199 source4/heimdal/lib/krb5/store.c ret = sp->fetch(sp, v, len); sp 201 source4/heimdal/lib/krb5/store.c return (ret<0)?errno:sp->eof_code; sp 208 source4/heimdal/lib/krb5/store.c krb5_ret_int32(krb5_storage *sp, sp 211 source4/heimdal/lib/krb5/store.c krb5_error_code ret = krb5_ret_int(sp, value, 4); sp 214 source4/heimdal/lib/krb5/store.c if(BYTEORDER_IS_HOST(sp)) sp 216 source4/heimdal/lib/krb5/store.c else if(BYTEORDER_IS_LE(sp)) sp 222 source4/heimdal/lib/krb5/store.c krb5_ret_uint32(krb5_storage *sp, sp 228 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int32(sp, &v); sp 236 source4/heimdal/lib/krb5/store.c krb5_store_int16(krb5_storage *sp, sp 239 source4/heimdal/lib/krb5/store.c if(BYTEORDER_IS_HOST(sp)) sp 241 source4/heimdal/lib/krb5/store.c else if(BYTEORDER_IS_LE(sp)) sp 243 source4/heimdal/lib/krb5/store.c return krb5_store_int(sp, value, 2); sp 247 source4/heimdal/lib/krb5/store.c krb5_store_uint16(krb5_storage *sp, sp 250 source4/heimdal/lib/krb5/store.c return krb5_store_int16(sp, (int16_t)value); sp 254 source4/heimdal/lib/krb5/store.c krb5_ret_int16(krb5_storage *sp, sp 259 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int(sp, &v, 2); sp 263 source4/heimdal/lib/krb5/store.c if(BYTEORDER_IS_HOST(sp)) sp 265 source4/heimdal/lib/krb5/store.c else if(BYTEORDER_IS_LE(sp)) sp 271 source4/heimdal/lib/krb5/store.c krb5_ret_uint16(krb5_storage *sp, sp 277 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int16(sp, &v); sp 285 source4/heimdal/lib/krb5/store.c krb5_store_int8(krb5_storage *sp, sp 290 source4/heimdal/lib/krb5/store.c ret = sp->store(sp, &value, sizeof(value)); sp 292 source4/heimdal/lib/krb5/store.c return (ret<0)?errno:sp->eof_code; sp 297 source4/heimdal/lib/krb5/store.c krb5_store_uint8(krb5_storage *sp, sp 300 source4/heimdal/lib/krb5/store.c return krb5_store_int8(sp, (int8_t)value); sp 304 source4/heimdal/lib/krb5/store.c krb5_ret_int8(krb5_storage *sp, sp 309 source4/heimdal/lib/krb5/store.c ret = sp->fetch(sp, value, sizeof(*value)); sp 311 source4/heimdal/lib/krb5/store.c return (ret<0)?errno:sp->eof_code; sp 316 source4/heimdal/lib/krb5/store.c krb5_ret_uint8(krb5_storage *sp, sp 322 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int8(sp, &v); sp 330 source4/heimdal/lib/krb5/store.c krb5_store_data(krb5_storage *sp, sp 334 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, data.length); sp 337 source4/heimdal/lib/krb5/store.c ret = sp->store(sp, data.data, data.length); sp 341 source4/heimdal/lib/krb5/store.c return sp->eof_code; sp 347 source4/heimdal/lib/krb5/store.c krb5_ret_data(krb5_storage *sp, sp 353 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int32(sp, &size); sp 360 source4/heimdal/lib/krb5/store.c ret = sp->fetch(sp, data->data, size); sp 362 source4/heimdal/lib/krb5/store.c return (ret < 0)? errno : sp->eof_code; sp 368 source4/heimdal/lib/krb5/store.c krb5_store_string(krb5_storage *sp, const char *s) sp 373 source4/heimdal/lib/krb5/store.c return krb5_store_data(sp, data); sp 377 source4/heimdal/lib/krb5/store.c krb5_ret_string(krb5_storage *sp, sp 382 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data(sp, &data); sp 395 source4/heimdal/lib/krb5/store.c krb5_store_stringz(krb5_storage *sp, const char *s) sp 400 source4/heimdal/lib/krb5/store.c ret = sp->store(sp, s, len); sp 405 source4/heimdal/lib/krb5/store.c return sp->eof_code; sp 411 source4/heimdal/lib/krb5/store.c krb5_ret_stringz(krb5_storage *sp, sp 419 source4/heimdal/lib/krb5/store.c while((ret = sp->fetch(sp, &c, 1)) == 1){ sp 436 source4/heimdal/lib/krb5/store.c return sp->eof_code; sp 444 source4/heimdal/lib/krb5/store.c krb5_store_stringnl(krb5_storage *sp, const char *s) sp 449 source4/heimdal/lib/krb5/store.c ret = sp->store(sp, s, len); sp 454 source4/heimdal/lib/krb5/store.c return sp->eof_code; sp 456 source4/heimdal/lib/krb5/store.c ret = sp->store(sp, "\n", 1); sp 461 source4/heimdal/lib/krb5/store.c return sp->eof_code; sp 469 source4/heimdal/lib/krb5/store.c krb5_ret_stringnl(krb5_storage *sp, sp 478 source4/heimdal/lib/krb5/store.c while((ret = sp->fetch(sp, &c, 1)) == 1){ sp 506 source4/heimdal/lib/krb5/store.c return sp->eof_code; sp 515 source4/heimdal/lib/krb5/store.c krb5_store_principal(krb5_storage *sp, sp 521 source4/heimdal/lib/krb5/store.c if(!krb5_storage_is_flags(sp, KRB5_STORAGE_PRINCIPAL_NO_NAME_TYPE)) { sp 522 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, p->name.name_type); sp 525 source4/heimdal/lib/krb5/store.c if(krb5_storage_is_flags(sp, KRB5_STORAGE_PRINCIPAL_WRONG_NUM_COMPONENTS)) sp 526 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, p->name.name_string.len + 1); sp 528 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, p->name.name_string.len); sp 531 source4/heimdal/lib/krb5/store.c ret = krb5_store_string(sp, p->realm); sp 534 source4/heimdal/lib/krb5/store.c ret = krb5_store_string(sp, p->name.name_string.val[i]); sp 541 source4/heimdal/lib/krb5/store.c krb5_ret_principal(krb5_storage *sp, sp 554 source4/heimdal/lib/krb5/store.c if(krb5_storage_is_flags(sp, KRB5_STORAGE_PRINCIPAL_NO_NAME_TYPE)) sp 556 source4/heimdal/lib/krb5/store.c else if((ret = krb5_ret_int32(sp, &type))){ sp 560 source4/heimdal/lib/krb5/store.c if((ret = krb5_ret_int32(sp, &ncomp))){ sp 564 source4/heimdal/lib/krb5/store.c if(krb5_storage_is_flags(sp, KRB5_STORAGE_PRINCIPAL_WRONG_NUM_COMPONENTS)) sp 572 source4/heimdal/lib/krb5/store.c ret = krb5_ret_string(sp, &p->realm); sp 584 source4/heimdal/lib/krb5/store.c ret = krb5_ret_string(sp, &p->name.name_string.val[i]); sp 598 source4/heimdal/lib/krb5/store.c krb5_store_keyblock(krb5_storage *sp, krb5_keyblock p) sp 601 source4/heimdal/lib/krb5/store.c ret = krb5_store_int16(sp, p.keytype); sp 604 source4/heimdal/lib/krb5/store.c if(krb5_storage_is_flags(sp, KRB5_STORAGE_KEYBLOCK_KEYTYPE_TWICE)){ sp 607 source4/heimdal/lib/krb5/store.c ret = krb5_store_int16(sp, p.keytype); sp 611 source4/heimdal/lib/krb5/store.c ret = krb5_store_data(sp, p.keyvalue); sp 616 source4/heimdal/lib/krb5/store.c krb5_ret_keyblock(krb5_storage *sp, krb5_keyblock *p) sp 621 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int16(sp, &tmp); sp 625 source4/heimdal/lib/krb5/store.c if(krb5_storage_is_flags(sp, KRB5_STORAGE_KEYBLOCK_KEYTYPE_TWICE)){ sp 626 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int16(sp, &tmp); sp 630 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data(sp, &p->keyvalue); sp 635 source4/heimdal/lib/krb5/store.c krb5_store_times(krb5_storage *sp, krb5_times times) sp 638 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, times.authtime); sp 640 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, times.starttime); sp 642 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, times.endtime); sp 644 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, times.renew_till); sp 649 source4/heimdal/lib/krb5/store.c krb5_ret_times(krb5_storage *sp, krb5_times *times) sp 653 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int32(sp, &tmp); sp 656 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int32(sp, &tmp); sp 659 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int32(sp, &tmp); sp 662 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int32(sp, &tmp); sp 668 source4/heimdal/lib/krb5/store.c krb5_store_address(krb5_storage *sp, krb5_address p) sp 671 source4/heimdal/lib/krb5/store.c ret = krb5_store_int16(sp, p.addr_type); sp 673 source4/heimdal/lib/krb5/store.c ret = krb5_store_data(sp, p.address); sp 678 source4/heimdal/lib/krb5/store.c krb5_ret_address(krb5_storage *sp, krb5_address *adr) sp 682 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int16(sp, &t); sp 685 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data(sp, &adr->address); sp 690 source4/heimdal/lib/krb5/store.c krb5_store_addrs(krb5_storage *sp, krb5_addresses p) sp 694 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, p.len); sp 697 source4/heimdal/lib/krb5/store.c ret = krb5_store_address(sp, p.val[i]); sp 704 source4/heimdal/lib/krb5/store.c krb5_ret_addrs(krb5_storage *sp, krb5_addresses *adr) sp 710 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int32(sp, &tmp); sp 717 source4/heimdal/lib/krb5/store.c ret = krb5_ret_address(sp, &adr->val[i]); sp 724 source4/heimdal/lib/krb5/store.c krb5_store_authdata(krb5_storage *sp, krb5_authdata auth) sp 728 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, auth.len); sp 731 source4/heimdal/lib/krb5/store.c ret = krb5_store_int16(sp, auth.val[i].ad_type); sp 733 source4/heimdal/lib/krb5/store.c ret = krb5_store_data(sp, auth.val[i].ad_data); sp 740 source4/heimdal/lib/krb5/store.c krb5_ret_authdata(krb5_storage *sp, krb5_authdata *auth) sp 746 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int32(sp, &tmp); sp 752 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int16(sp, &tmp2); sp 755 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data(sp, &auth->val[i].ad_data); sp 779 source4/heimdal/lib/krb5/store.c krb5_store_creds(krb5_storage *sp, krb5_creds *creds) sp 783 source4/heimdal/lib/krb5/store.c ret = krb5_store_principal(sp, creds->client); sp 786 source4/heimdal/lib/krb5/store.c ret = krb5_store_principal(sp, creds->server); sp 789 source4/heimdal/lib/krb5/store.c ret = krb5_store_keyblock(sp, creds->session); sp 792 source4/heimdal/lib/krb5/store.c ret = krb5_store_times(sp, creds->times); sp 795 source4/heimdal/lib/krb5/store.c ret = krb5_store_int8(sp, creds->second_ticket.length != 0); /* is_skey */ sp 799 source4/heimdal/lib/krb5/store.c if(krb5_storage_is_flags(sp, KRB5_STORAGE_CREDS_FLAGS_WRONG_BITORDER)) sp 800 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, creds->flags.i); sp 802 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, bitswap32(TicketFlags2int(creds->flags.b))); sp 806 source4/heimdal/lib/krb5/store.c ret = krb5_store_addrs(sp, creds->addresses); sp 809 source4/heimdal/lib/krb5/store.c ret = krb5_store_authdata(sp, creds->authdata); sp 812 source4/heimdal/lib/krb5/store.c ret = krb5_store_data(sp, creds->ticket); sp 815 source4/heimdal/lib/krb5/store.c ret = krb5_store_data(sp, creds->second_ticket); sp 820 source4/heimdal/lib/krb5/store.c krb5_ret_creds(krb5_storage *sp, krb5_creds *creds) sp 827 source4/heimdal/lib/krb5/store.c ret = krb5_ret_principal (sp, &creds->client); sp 829 source4/heimdal/lib/krb5/store.c ret = krb5_ret_principal (sp, &creds->server); sp 831 source4/heimdal/lib/krb5/store.c ret = krb5_ret_keyblock (sp, &creds->session); sp 833 source4/heimdal/lib/krb5/store.c ret = krb5_ret_times (sp, &creds->times); sp 835 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int8 (sp, &dummy8); sp 837 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int32 (sp, &dummy32); sp 856 source4/heimdal/lib/krb5/store.c ret = krb5_ret_addrs (sp, &creds->addresses); sp 858 source4/heimdal/lib/krb5/store.c ret = krb5_ret_authdata (sp, &creds->authdata); sp 860 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data (sp, &creds->ticket); sp 862 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data (sp, &creds->second_ticket); sp 885 source4/heimdal/lib/krb5/store.c krb5_store_creds_tag(krb5_storage *sp, krb5_creds *creds) sp 905 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, header); sp 908 source4/heimdal/lib/krb5/store.c ret = krb5_store_principal(sp, creds->client); sp 914 source4/heimdal/lib/krb5/store.c ret = krb5_store_principal(sp, creds->server); sp 920 source4/heimdal/lib/krb5/store.c ret = krb5_store_keyblock(sp, creds->session); sp 925 source4/heimdal/lib/krb5/store.c ret = krb5_store_times(sp, creds->times); sp 928 source4/heimdal/lib/krb5/store.c ret = krb5_store_int8(sp, creds->second_ticket.length != 0); /* is_skey */ sp 932 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, bitswap32(TicketFlags2int(creds->flags.b))); sp 937 source4/heimdal/lib/krb5/store.c ret = krb5_store_addrs(sp, creds->addresses); sp 943 source4/heimdal/lib/krb5/store.c ret = krb5_store_authdata(sp, creds->authdata); sp 949 source4/heimdal/lib/krb5/store.c ret = krb5_store_data(sp, creds->ticket); sp 955 source4/heimdal/lib/krb5/store.c ret = krb5_store_data(sp, creds->second_ticket); sp 964 source4/heimdal/lib/krb5/store.c krb5_ret_creds_tag(krb5_storage *sp, sp 973 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int32 (sp, &header); sp 977 source4/heimdal/lib/krb5/store.c ret = krb5_ret_principal (sp, &creds->client); sp 981 source4/heimdal/lib/krb5/store.c ret = krb5_ret_principal (sp, &creds->server); sp 985 source4/heimdal/lib/krb5/store.c ret = krb5_ret_keyblock (sp, &creds->session); sp 988 source4/heimdal/lib/krb5/store.c ret = krb5_ret_times (sp, &creds->times); sp 990 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int8 (sp, &dummy8); sp 992 source4/heimdal/lib/krb5/store.c ret = krb5_ret_int32 (sp, &dummy32); sp 1012 source4/heimdal/lib/krb5/store.c ret = krb5_ret_addrs (sp, &creds->addresses); sp 1016 source4/heimdal/lib/krb5/store.c ret = krb5_ret_authdata (sp, &creds->authdata); sp 1020 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data (sp, &creds->ticket); sp 1024 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data (sp, &creds->second_ticket); sp 47 source4/heimdal/lib/krb5/store_emem.c emem_fetch(krb5_storage *sp, void *data, size_t size) sp 49 source4/heimdal/lib/krb5/store_emem.c emem_storage *s = (emem_storage*)sp->data; sp 53 source4/heimdal/lib/krb5/store_emem.c sp->seek(sp, size, SEEK_CUR); sp 58 source4/heimdal/lib/krb5/store_emem.c emem_store(krb5_storage *sp, const void *data, size_t size) sp 60 source4/heimdal/lib/krb5/store_emem.c emem_storage *s = (emem_storage*)sp->data; sp 76 source4/heimdal/lib/krb5/store_emem.c sp->seek(sp, size, SEEK_CUR); sp 81 source4/heimdal/lib/krb5/store_emem.c emem_seek(krb5_storage *sp, off_t offset, int whence) sp 83 source4/heimdal/lib/krb5/store_emem.c emem_storage *s = (emem_storage*)sp->data; sp 95 source4/heimdal/lib/krb5/store_emem.c sp->seek(sp,s->ptr - s->base + offset, SEEK_SET); sp 98 source4/heimdal/lib/krb5/store_emem.c sp->seek(sp, s->len + offset, SEEK_SET); sp 108 source4/heimdal/lib/krb5/store_emem.c emem_free(krb5_storage *sp) sp 110 source4/heimdal/lib/krb5/store_emem.c emem_storage *s = sp->data; sp 118 source4/heimdal/lib/krb5/store_emem.c krb5_storage *sp; sp 121 source4/heimdal/lib/krb5/store_emem.c sp = malloc(sizeof(krb5_storage)); sp 122 source4/heimdal/lib/krb5/store_emem.c if (sp == NULL) sp 127 source4/heimdal/lib/krb5/store_emem.c free(sp); sp 130 source4/heimdal/lib/krb5/store_emem.c sp->data = s; sp 131 source4/heimdal/lib/krb5/store_emem.c sp->flags = 0; sp 132 source4/heimdal/lib/krb5/store_emem.c sp->eof_code = HEIM_ERR_EOF; sp 136 source4/heimdal/lib/krb5/store_emem.c free(sp); sp 142 source4/heimdal/lib/krb5/store_emem.c sp->fetch = emem_fetch; sp 143 source4/heimdal/lib/krb5/store_emem.c sp->store = emem_store; sp 144 source4/heimdal/lib/krb5/store_emem.c sp->seek = emem_seek; sp 145 source4/heimdal/lib/krb5/store_emem.c sp->free = emem_free; sp 146 source4/heimdal/lib/krb5/store_emem.c return sp; sp 46 source4/heimdal/lib/krb5/store_fd.c fd_fetch(krb5_storage * sp, void *data, size_t size) sp 48 source4/heimdal/lib/krb5/store_fd.c return net_read(FD(sp), data, size); sp 52 source4/heimdal/lib/krb5/store_fd.c fd_store(krb5_storage * sp, const void *data, size_t size) sp 54 source4/heimdal/lib/krb5/store_fd.c return net_write(FD(sp), data, size); sp 58 source4/heimdal/lib/krb5/store_fd.c fd_seek(krb5_storage * sp, off_t offset, int whence) sp 60 source4/heimdal/lib/krb5/store_fd.c return lseek(FD(sp), offset, whence); sp 64 source4/heimdal/lib/krb5/store_fd.c fd_free(krb5_storage * sp) sp 66 source4/heimdal/lib/krb5/store_fd.c close(FD(sp)); sp 72 source4/heimdal/lib/krb5/store_fd.c krb5_storage *sp; sp 78 source4/heimdal/lib/krb5/store_fd.c sp = malloc(sizeof(krb5_storage)); sp 79 source4/heimdal/lib/krb5/store_fd.c if (sp == NULL) { sp 84 source4/heimdal/lib/krb5/store_fd.c sp->data = malloc(sizeof(fd_storage)); sp 85 source4/heimdal/lib/krb5/store_fd.c if (sp->data == NULL) { sp 87 source4/heimdal/lib/krb5/store_fd.c free(sp); sp 90 source4/heimdal/lib/krb5/store_fd.c sp->flags = 0; sp 91 source4/heimdal/lib/krb5/store_fd.c sp->eof_code = HEIM_ERR_EOF; sp 92 source4/heimdal/lib/krb5/store_fd.c FD(sp) = fd; sp 93 source4/heimdal/lib/krb5/store_fd.c sp->fetch = fd_fetch; sp 94 source4/heimdal/lib/krb5/store_fd.c sp->store = fd_store; sp 95 source4/heimdal/lib/krb5/store_fd.c sp->seek = fd_seek; sp 96 source4/heimdal/lib/krb5/store_fd.c sp->free = fd_free; sp 97 source4/heimdal/lib/krb5/store_fd.c return sp; sp 46 source4/heimdal/lib/krb5/store_mem.c mem_fetch(krb5_storage *sp, void *data, size_t size) sp 48 source4/heimdal/lib/krb5/store_mem.c mem_storage *s = (mem_storage*)sp->data; sp 52 source4/heimdal/lib/krb5/store_mem.c sp->seek(sp, size, SEEK_CUR); sp 57 source4/heimdal/lib/krb5/store_mem.c mem_store(krb5_storage *sp, const void *data, size_t size) sp 59 source4/heimdal/lib/krb5/store_mem.c mem_storage *s = (mem_storage*)sp->data; sp 63 source4/heimdal/lib/krb5/store_mem.c sp->seek(sp, size, SEEK_CUR); sp 68 source4/heimdal/lib/krb5/store_mem.c mem_no_store(krb5_storage *sp, const void *data, size_t size) sp 74 source4/heimdal/lib/krb5/store_mem.c mem_seek(krb5_storage *sp, off_t offset, int whence) sp 76 source4/heimdal/lib/krb5/store_mem.c mem_storage *s = (mem_storage*)sp->data; sp 86 source4/heimdal/lib/krb5/store_mem.c return sp->seek(sp, s->ptr - s->base + offset, SEEK_SET); sp 88 source4/heimdal/lib/krb5/store_mem.c return sp->seek(sp, s->size + offset, SEEK_SET); sp 99 source4/heimdal/lib/krb5/store_mem.c krb5_storage *sp = malloc(sizeof(krb5_storage)); sp 101 source4/heimdal/lib/krb5/store_mem.c if(sp == NULL) sp 105 source4/heimdal/lib/krb5/store_mem.c free(sp); sp 108 source4/heimdal/lib/krb5/store_mem.c sp->data = s; sp 109 source4/heimdal/lib/krb5/store_mem.c sp->flags = 0; sp 110 source4/heimdal/lib/krb5/store_mem.c sp->eof_code = HEIM_ERR_EOF; sp 114 source4/heimdal/lib/krb5/store_mem.c sp->fetch = mem_fetch; sp 115 source4/heimdal/lib/krb5/store_mem.c sp->store = mem_store; sp 116 source4/heimdal/lib/krb5/store_mem.c sp->seek = mem_seek; sp 117 source4/heimdal/lib/krb5/store_mem.c sp->free = NULL; sp 118 source4/heimdal/lib/krb5/store_mem.c return sp; sp 130 source4/heimdal/lib/krb5/store_mem.c krb5_storage *sp = malloc(sizeof(krb5_storage)); sp 132 source4/heimdal/lib/krb5/store_mem.c if(sp == NULL) sp 136 source4/heimdal/lib/krb5/store_mem.c free(sp); sp 139 source4/heimdal/lib/krb5/store_mem.c sp->data = s; sp 140 source4/heimdal/lib/krb5/store_mem.c sp->flags = 0; sp 141 source4/heimdal/lib/krb5/store_mem.c sp->eof_code = HEIM_ERR_EOF; sp 145 source4/heimdal/lib/krb5/store_mem.c sp->fetch = mem_fetch; sp 146 source4/heimdal/lib/krb5/store_mem.c sp->store = mem_no_store; sp 147 source4/heimdal/lib/krb5/store_mem.c sp->seek = mem_seek; sp 148 source4/heimdal/lib/krb5/store_mem.c sp->free = NULL; sp 149 source4/heimdal/lib/krb5/store_mem.c return sp; sp 142 source4/heimdal/lib/krb5/v4_glue.c krb5_storage *sp, int append) sp 215 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_to_data(sp, &data); sp 241 source4/heimdal/lib/krb5/v4_glue.c krb5_storage *sp; sp 243 source4/heimdal/lib/krb5/v4_glue.c sp = krb5_storage_emem(); sp 244 source4/heimdal/lib/krb5/v4_glue.c if (sp == NULL) sp 247 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_byteorder(sp, KRB5_STORAGE_BYTEORDER_HOST); sp 248 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_eof_code(sp, KRB5_CC_IO); sp 253 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_stringz(sp, v4creds->pname), error); sp 254 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_stringz(sp, v4creds->pinst), error); sp 258 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_stringz(sp, v4creds->service), error); sp 259 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_stringz(sp, v4creds->instance), error); sp 260 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_stringz(sp, v4creds->realm), error); sp 261 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_storage_write(sp, v4creds->session, 8); sp 266 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int32(sp, v4creds->lifetime), error); sp 267 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int32(sp, v4creds->kvno), error); sp 268 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int32(sp, v4creds->ticket_st.length), error); sp 270 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_storage_write(sp, v4creds->ticket_st.dat, sp 276 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int32(sp, v4creds->issue_date), error); sp 278 source4/heimdal/lib/krb5/v4_glue.c ret = write_v4_cc(context, tkfile, sp, append); sp 281 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_free(sp); sp 346 source4/heimdal/lib/krb5/v4_glue.c krb5_storage *sp, sp 357 source4/heimdal/lib/krb5/v4_glue.c size = krb5_storage_seek(sp, 0, SEEK_END); sp 362 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_storage_write(sp, eightzeros, size); sp 366 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_storage_to_data(sp, &data); sp 389 source4/heimdal/lib/krb5/v4_glue.c put_nir(krb5_storage *sp, const char *name, sp 394 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_stringz(sp, name), error); sp 395 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_stringz(sp, instance), error); sp 397 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_stringz(sp, realm), error); sp 423 source4/heimdal/lib/krb5/v4_glue.c krb5_storage *sp; sp 427 source4/heimdal/lib/krb5/v4_glue.c sp = krb5_storage_emem(); sp 428 source4/heimdal/lib/krb5/v4_glue.c if (sp == NULL) { sp 432 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_byteorder(sp, KRB5_STORAGE_BYTEORDER_BE); sp 434 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int8(sp, flags), error); sp 435 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, put_nir(sp, pname, pinstance, prealm), error); sp 436 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int32(sp, ntohl(paddress)), error); sp 439 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_storage_write(sp, sp 447 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int8(sp, life), error); sp 448 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int32(sp, life_sec), error); sp 449 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, put_nir(sp, sname, sinstance, NULL), error); sp 451 source4/heimdal/lib/krb5/v4_glue.c ret = storage_to_etext(context, sp, key, enc_data); sp 454 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_free(sp); sp 480 source4/heimdal/lib/krb5/v4_glue.c krb5_storage *sp; sp 484 source4/heimdal/lib/krb5/v4_glue.c sp = krb5_storage_emem(); sp 485 source4/heimdal/lib/krb5/v4_glue.c if (sp == NULL) { sp 489 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_byteorder(sp, KRB5_STORAGE_BYTEORDER_BE); sp 492 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_storage_write(sp, sp 500 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, put_nir(sp, service, instance, realm), error); sp 501 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int8(sp, life), error); sp 502 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int8(sp, kvno), error); sp 503 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int8(sp, ticket->length), error); sp 504 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_storage_write(sp, ticket->data, ticket->length); sp 509 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int32(sp, kdc_time), error); sp 511 source4/heimdal/lib/krb5/v4_glue.c ret = storage_to_etext(context, sp, key, enc_data); sp 514 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_free(sp); sp 539 source4/heimdal/lib/krb5/v4_glue.c krb5_storage *sp; sp 543 source4/heimdal/lib/krb5/v4_glue.c sp = krb5_storage_emem(); sp 544 source4/heimdal/lib/krb5/v4_glue.c if (sp == NULL) { sp 548 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_byteorder(sp, KRB5_STORAGE_BYTEORDER_BE); sp 550 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int8(sp, KRB_PROT_VERSION), error); sp 551 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int8(sp, AUTH_MSG_KDC_REPLY), error); sp 552 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, put_nir(sp, pname, pinst, prealm), error); sp 553 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int32(sp, time_ws), error); sp 554 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int8(sp, n), error); sp 555 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int32(sp, x_date), error); sp 556 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int8(sp, kvno), error); sp 557 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int16(sp, cipher->length), error); sp 558 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_storage_write(sp, cipher->data, cipher->length); sp 564 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_storage_to_data(sp, data); sp 567 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_free(sp); sp 590 source4/heimdal/lib/krb5/v4_glue.c krb5_storage *sp; sp 599 source4/heimdal/lib/krb5/v4_glue.c sp = krb5_storage_emem(); sp 600 source4/heimdal/lib/krb5/v4_glue.c if (sp == NULL) { sp 604 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_byteorder(sp, KRB5_STORAGE_BYTEORDER_BE); sp 606 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int8(sp, KRB_PROT_VERSION), error); sp 607 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int8(sp, AUTH_MSG_ERR_REPLY), error); sp 608 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, put_nir(sp, name, inst, realm), error); sp 609 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int32(sp, time_ws), error); sp 613 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_int32(sp, e), error); sp 614 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_store_stringz(sp, e_string), error); sp 616 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_storage_to_data(sp, data); sp 619 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_free(sp); sp 627 source4/heimdal/lib/krb5/v4_glue.c get_v4_stringz(krb5_storage *sp, char **str, size_t max_len) sp 631 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_ret_stringz(sp, str); sp 657 source4/heimdal/lib/krb5/v4_glue.c krb5_storage *sp = NULL; sp 669 source4/heimdal/lib/krb5/v4_glue.c sp = krb5_storage_from_data(&ticket); sp 670 source4/heimdal/lib/krb5/v4_glue.c if (sp == NULL) { sp 676 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_eof_code(sp, KRB4ET_INTK_PROT); sp 678 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_ret_int8(sp, &ad->k_flags), error); sp 679 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, get_v4_stringz(sp, &ad->pname, ANAME_SZ), error); sp 680 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, get_v4_stringz(sp, &ad->pinst, INST_SZ), error); sp 681 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, get_v4_stringz(sp, &ad->prealm, REALM_SZ), error); sp 682 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_ret_uint32(sp, &ad->address), error); sp 684 source4/heimdal/lib/krb5/v4_glue.c size = krb5_storage_read(sp, des_key, sizeof(des_key)); sp 690 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_ret_uint8(sp, &ad->life), error); sp 693 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_byteorder(sp, KRB5_STORAGE_BYTEORDER_LE); sp 695 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_byteorder(sp, KRB5_STORAGE_BYTEORDER_BE); sp 697 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_ret_uint32(sp, &ad->time_sec), error); sp 699 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, get_v4_stringz(sp, sname, ANAME_SZ), error); sp 700 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, get_v4_stringz(sp, sinstance, INST_SZ), error); sp 718 source4/heimdal/lib/krb5/v4_glue.c if (sp) sp 719 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_free(sp); sp 751 source4/heimdal/lib/krb5/v4_glue.c krb5_storage *sp; sp 778 source4/heimdal/lib/krb5/v4_glue.c sp = krb5_storage_from_data(authent); sp 779 source4/heimdal/lib/krb5/v4_glue.c if (sp == NULL) { sp 784 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_eof_code(sp, KRB4ET_INTK_PROT); sp 786 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_ret_int8(sp, &pvno); sp 798 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_ret_int8(sp, &type); sp 814 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_ret_int8(sp, &s_kvno), error); sp 815 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, get_v4_stringz(sp, &realm, REALM_SZ), error); sp 816 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_ret_uint8(sp, &ticket_length), error); sp 817 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_ret_uint8(sp, &eaut_length), error); sp 820 source4/heimdal/lib/krb5/v4_glue.c size = krb5_storage_read(sp, ticket.data, ticket.length); sp 835 source4/heimdal/lib/krb5/v4_glue.c size = krb5_storage_read(sp, eaut.data, eaut.length); sp 843 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_free(sp); sp 844 source4/heimdal/lib/krb5/v4_glue.c sp = NULL; sp 850 source4/heimdal/lib/krb5/v4_glue.c sp = krb5_storage_from_data(&aut); sp 851 source4/heimdal/lib/krb5/v4_glue.c if (sp == NULL) { sp 858 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_byteorder(sp, KRB5_STORAGE_BYTEORDER_LE); sp 860 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_set_byteorder(sp, KRB5_STORAGE_BYTEORDER_BE); sp 862 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, get_v4_stringz(sp, &r_name, ANAME_SZ), error); sp 863 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, get_v4_stringz(sp, &r_instance, INST_SZ), error); sp 864 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, get_v4_stringz(sp, &r_realm, REALM_SZ), error); sp 866 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_ret_uint32(sp, &ad->checksum), error); sp 867 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_ret_uint8(sp, &time_5ms), error); sp 868 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, krb5_ret_uint32(sp, &r_time_sec), error); sp 927 source4/heimdal/lib/krb5/v4_glue.c if (sp) sp 928 source4/heimdal/lib/krb5/v4_glue.c krb5_storage_free(sp); sp 167 source4/heimdal/lib/ntlm/ntlm.c ret_sec_buffer(krb5_storage *sp, struct sec_buffer *buf) sp 170 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_ret_uint16(sp, &buf->length), 0); sp 171 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_ret_uint16(sp, &buf->allocated), 0); sp 172 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_ret_uint32(sp, &buf->offset), 0); sp 178 source4/heimdal/lib/ntlm/ntlm.c store_sec_buffer(krb5_storage *sp, const struct sec_buffer *buf) sp 181 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_store_uint16(sp, buf->length), 0); sp 182 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_store_uint16(sp, buf->allocated), 0); sp 183 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_store_uint32(sp, buf->offset), 0); sp 203 source4/heimdal/lib/ntlm/ntlm.c ret_string(krb5_storage *sp, int ucs2, struct sec_buffer *desc, char **s) sp 208 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_seek(sp, desc->offset, SEEK_SET), desc->offset); sp 209 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_read(sp, *s, desc->length), desc->length); sp 232 source4/heimdal/lib/ntlm/ntlm.c put_string(krb5_storage *sp, int ucs2, const char *s) sp 246 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_write(sp, buf.data, buf.length), buf.length); sp 259 source4/heimdal/lib/ntlm/ntlm.c ret_buf(krb5_storage *sp, struct sec_buffer *desc, struct ntlm_buf *buf) sp 265 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_seek(sp, desc->offset, SEEK_SET), desc->offset); sp 266 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_read(sp, buf->data, buf->length), buf->length); sp 273 source4/heimdal/lib/ntlm/ntlm.c put_buf(krb5_storage *sp, const struct ntlm_buf *buf) sp 276 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_write(sp, buf->data, buf->length), buf->length); sp 1129 source4/heimdal/lib/ntlm/ntlm.c krb5_storage *sp; sp 1145 source4/heimdal/lib/ntlm/ntlm.c sp = krb5_storage_emem(); sp 1146 source4/heimdal/lib/ntlm/ntlm.c if (sp == NULL) sp 1148 source4/heimdal/lib/ntlm/ntlm.c krb5_storage_set_flags(sp, KRB5_STORAGE_BYTEORDER_LE); sp 1150 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_store_uint32(sp, 0x00000101), 0); sp 1151 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_store_uint32(sp, 0), 0); sp 1153 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_store_uint32(sp, t & 0xffffffff), 0); sp 1154 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_store_uint32(sp, t >> 32), 0); sp 1156 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_write(sp, clientchallange, 8), 8); sp 1158 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_store_uint32(sp, 0), 0); /* unknown but zero will work */ sp 1159 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_write(sp, infotarget->data, infotarget->length), sp 1161 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_store_uint32(sp, 0), 0); /* unknown but zero will work */ sp 1163 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_to_data(sp, &data), 0); sp 1164 source4/heimdal/lib/ntlm/ntlm.c krb5_storage_free(sp); sp 1165 source4/heimdal/lib/ntlm/ntlm.c sp = NULL; sp 1174 source4/heimdal/lib/ntlm/ntlm.c sp = krb5_storage_emem(); sp 1175 source4/heimdal/lib/ntlm/ntlm.c if (sp == NULL) { sp 1180 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_write(sp, ntlmv2answer, 16), 16); sp 1181 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_write(sp, data.data, data.length), data.length); sp 1184 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_to_data(sp, &data), 0); sp 1185 source4/heimdal/lib/ntlm/ntlm.c krb5_storage_free(sp); sp 1186 source4/heimdal/lib/ntlm/ntlm.c sp = NULL; sp 1193 source4/heimdal/lib/ntlm/ntlm.c if (sp) sp 1194 source4/heimdal/lib/ntlm/ntlm.c krb5_storage_free(sp); sp 1234 source4/heimdal/lib/ntlm/ntlm.c krb5_storage *sp; sp 1255 source4/heimdal/lib/ntlm/ntlm.c sp = krb5_storage_from_readonly_mem(answer->data, answer->length); sp 1256 source4/heimdal/lib/ntlm/ntlm.c if (sp == NULL) sp 1258 source4/heimdal/lib/ntlm/ntlm.c krb5_storage_set_flags(sp, KRB5_STORAGE_BYTEORDER_LE); sp 1260 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_read(sp, clientanswer, 16), 16); sp 1262 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_ret_uint32(sp, &temp), 0); sp 1264 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_ret_uint32(sp, &temp), 0); sp 1267 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_ret_uint32(sp, &temp), 0); sp 1269 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_ret_uint32(sp, &temp), 0); sp 1280 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_read(sp, clientnonce, 8), 8); sp 1282 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_ret_uint32(sp, &temp), 0); /* unknown */ sp 1285 source4/heimdal/lib/ntlm/ntlm.c infotarget->length = answer->length - krb5_storage_seek(sp, 0, SEEK_CUR); sp 1291 source4/heimdal/lib/ntlm/ntlm.c CHECK(krb5_storage_read(sp, infotarget->data, infotarget->length), sp 1294 source4/heimdal/lib/ntlm/ntlm.c krb5_storage_free(sp); sp 1295 source4/heimdal/lib/ntlm/ntlm.c sp = NULL; sp 1312 source4/heimdal/lib/ntlm/ntlm.c if (sp) sp 1313 source4/heimdal/lib/ntlm/ntlm.c krb5_storage_free(sp); sp 554 source4/lib/socket/socket_ip.c const char *sp = name; sp 558 source4/lib/socket/socket_ip.c if (sp == NULL) return in6addr_any; sp 560 source4/lib/socket/socket_ip.c p = strchr_m(sp, '%'); sp 562 source4/lib/socket/socket_ip.c if (strcasecmp(sp, "localhost") == 0) { sp 563 source4/lib/socket/socket_ip.c sp = "::1"; sp 571 source4/lib/socket/socket_ip.c if (p && (p > sp) && (if_nametoindex(p+1) != 0)) { sp 572 source4/lib/socket/socket_ip.c strlcpy(addr, sp, sp 573 source4/lib/socket/socket_ip.c MIN(PTR_DIFF(p,sp)+1, sp 575 source4/lib/socket/socket_ip.c sp = addr; sp 578 source4/lib/socket/socket_ip.c ret = inet_pton(AF_INET6, sp, &dest6); sp 92 source4/ntvfs/simple/vfs_simple.c static struct svfs_file *find_fd(struct svfs_private *sp, struct ntvfs_handle *handle) sp 97 source4/ntvfs/simple/vfs_simple.c p = ntvfs_handle_get_backend_data(handle, sp->ntvfs); sp 1253 source4/torture/rpc/spoolss.c struct spoolss_StartPagePrinter sp; sp 1278 source4/torture/rpc/spoolss.c sp.in.handle = handle; sp 1280 source4/torture/rpc/spoolss.c status = dcerpc_spoolss_StartPagePrinter(p, tctx, &sp); sp 1283 source4/torture/rpc/spoolss.c torture_assert_werr_ok(tctx, sp.out.result, "StartPagePrinter failed");