/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gen_subkey.c | 34 krb5_generate_subkey(krb5_context context, const krb5_keyblock *key, krb5_keyblock **subkey) argument 52 if ((*subkey = (krb5_keyblock *) malloc(sizeof(krb5_keyblock))) == NULL) 56 (void) memset(*subkey, 0, sizeof(krb5_keyblock)); 58 if ((retval = krb5_c_make_random_key(context, key->enctype, *subkey))) { 59 krb5_xfree(*subkey);
|
H A D | mk_rep.c | 67 repl.subkey = auth_context->send_subkey; 69 repl.subkey = auth_context->authentp->subkey;
|
H A D | rd_rep.c | 84 /* Set auth subkey */ 85 if ((*repl)->subkey) { 90 retval = krb5_copy_keyblock(context, (*repl)->subkey, 98 retval = krb5_copy_keyblock(context, (*repl)->subkey,
|
H A D | rd_req_dec.c | 364 (((*auth_context)->authentp->subkey) && 366 etype = (*auth_context)->authentp->subkey->enctype))) { 412 if ((*auth_context)->authentp->subkey) { 415 (*auth_context)->authentp->subkey->enctype) 420 if (krb5_enctype_to_string((*auth_context)->authentp->subkey->enctype, 433 if ((*auth_context)->authentp->subkey) { 441 (*auth_context)->authentp->subkey, 450 retval = krb5_copy_keyblock(context, (*auth_context)->authentp->subkey,
|
H A D | mk_req_ext.c | 92 sessions could pick the same subkey. */ 184 /* generate subkey if needed */ 287 retval = krb5_copy_keyblock(context, key, &authent->subkey); 291 authent->subkey = 0;
|
H A D | send_tgs.c | 75 authent.subkey = 0;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_athctr.c | 66 if (authfrom->subkey) { 67 retval = krb5_copy_keyblock(context, authfrom->subkey, &tempto->subkey); 69 krb5_xfree_wrap(tempto->subkey, sizeof(krb5_keyblock)); 81 krb5_xfree_wrap(tempto->subkey, sizeof(krb5_keyblock));
|
H A D | ser_auth.c | 98 /* Calculate size required by subkey, if appropriate */ 99 if (!kret && authenticator->subkey) 102 (krb5_pointer) authenticator->subkey, 182 /* Now handle subkey, if appropriate */ 183 if (!kret && authenticator->subkey) 187 authenticator->subkey, 295 /* Attempt to read in the subkey */ 300 &authenticator->subkey,
|
H A D | kfree.c | 88 if (val->subkey) 89 krb5_free_keyblock(context, val->subkey); 105 if (val->subkey) { 106 krb5_free_keyblock(context, val->subkey); 107 val->subkey = 0;
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | winreg_svc.c | 33 * the terms key and subkey are used interchangeably. Values, analogous 36 * A specific subkey can be identifies by its fully qualified name (FQN), 43 * The HKEY_LOCAL_MACHINE root key contains a subkey called System, and 44 * System contains a subkey called CurrentControlSet. 197 char subkey[MAXPATHLEN]; local 211 (void) snprintf(subkey, MAXPATHLEN, "%s", winreg_log[i]); 212 winreg_add_predefined(subkey); 214 (void) snprintf(subkey, MAXPATHLEN, "%s\\%s", 216 winreg_add_predefined(subkey); 218 (void) snprintf(subkey, MAXPATHLE 240 winreg_add_predefined(const char *subkey) argument 400 char *subkey; local 490 char *subkey; local 537 winreg_key_has_subkey(const char *subkey) argument 566 winreg_enum_subkey(ndr_xa_t *mxa, const char *subkey, uint32_t index) argument 637 char *subkey; local 816 char *subkey = (char *)param->name.str; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | accept_sec_context.c | 122 * "recv_subkey" field might contain a session subkey. Either of 128 * subkey, so this code works fine against a JCSI client.) Up to the 628 if ((authdat->authenticator->subkey == NULL) || 886 &ctx->subkey))) { 894 /* use the session key if the subkey isn't present */ 896 if (ctx->subkey == NULL) { 898 &ctx->subkey))) { 908 if (ctx->subkey == NULL) { 918 "ctx->subkey->enctype=%d", ctx->subkey [all...] |
H A D | init_sec_context.c | 310 /* call mk_req. subkey and ap_req need to be used or destroyed */ 384 switch(ctx->subkey->enctype) { 388 ctx->subkey->enctype = ENCTYPE_DES_CBC_RAW; 395 if ((code = krb5_copy_keyblock(context, ctx->subkey, &ctx->enc))) 405 ctx->subkey->enctype = ENCTYPE_DES3_CBC_RAW; 411 code = krb5_copy_keyblock (context, ctx->subkey, &ctx->enc); 415 code = krb5_copy_keyblock (context, ctx->subkey, &ctx->seq); 437 code = (*kaccess.krb5int_c_mandatory_cksumtype)(context, ctx->subkey->enctype, 594 &ctx->subkey); 656 if (ctx_free->subkey) [all...] |
H A D | lucid_context.c | 227 /* (subkey is always present, either a copy of the kerberos 228 session key or a subkey) */ 229 if ((retval = copy_keyblock_to_lucid_key(gctx->subkey,
|
H A D | inq_context.c | 216 key = ctx->have_acceptor_subkey ? ctx->acceptor_subkey : ctx->subkey;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | delete_sec_context.c | 180 if (ctx->subkey) 181 krb5_free_keyblock(context, ctx->subkey);
|
H A D | ser_sctx.c | 275 * ... for subkey 315 if (!kret && ctx->subkey) 318 (krb5_pointer) ctx->subkey, 457 if (!kret && ctx->subkey) 460 (krb5_pointer) ctx->subkey, 628 (krb5_pointer *) &ctx->subkey, 706 if (ctx->subkey) 707 krb5_free_keyblock(kcontext, ctx->subkey);
|
H A D | k5seal.c | 411 if (ctx->subkey == NULL && !ctx->established) {
|
H A D | k5unseal.c | 435 (code = kg_make_seed(context, ctx->subkey, ctx->seed))) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | krb5_decode.c | 207 clear_field(rep,subkey); 224 if(tagnum == 6){ alloc_field((*rep)->subkey,krb5_keyblock); } 225 opt_field(*((*rep)->subkey),6,asn1_decode_encryption_key); 234 free_field(*rep,subkey); 443 clear_field(rep,subkey); 449 if(tagnum == 2){ alloc_field((*rep)->subkey,krb5_keyblock); } 450 opt_field(*((*rep)->subkey),2,asn1_decode_encryption_key); 458 free_field(*rep,subkey);
|
H A D | asn1_k_encode.c | 713 /* subkey[6] EncryptionKey OPTIONAL */ 714 FIELDOF_OPT(krb5_authenticator, ptr_encryption_key, subkey, 6, 6), 731 if (val->subkey != NULL) 874 /* subkey[2] EncryptionKey OPTIONAL */ 875 FIELDOF_OPT(krb5_ap_rep_enc_part, ptr_encryption_key, subkey, 2, 2), 886 if (val->subkey != NULL)
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | do_tgs_req.c | 68 krb5_keyblock * subkey; local 128 errcode = kdc_process_tgs_req(request, from, pkt, &header_ticket, &subkey); 671 reply.enc_part.enctype = subkey ? subkey->enctype : 674 subkey ? 1 : 0, 675 subkey ? subkey :
|
H A D | kdc_util.c | 197 krb5_keyblock **subkey) 319 auth_context, subkey))) 195 kdc_process_tgs_req(krb5_kdc_req *request, const krb5_fulladdr *from, krb5_data *pkt, krb5_ticket **ticket, krb5_keyblock **subkey) argument
|
/illumos-gate/usr/src/uts/common/smbsrv/ndl/ |
H A D | winreg.ndl | 214 IN winreg_string_t subkey; 228 IN winreg_string_t subkey;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | gssapiP_krb5.h | 188 krb5_keyblock *subkey; member in struct:_krb5_gss_ctx_id_rec 211 krb5_cksumtype cksumtype; /* for "main" subkey */
|
H A D | krb5.h | 1099 krb5_keyblock *subkey; /* true session key, optional */ member in struct:_krb5_authenticator 1226 krb5_keyblock *subkey; /* true session key, optional */ member in struct:_krb5_ap_rep_enc_part
|