/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | winreg_svc.c | 197 char subkey[MAXPATHLEN]; in winreg_initialize() local 211 (void) snprintf(subkey, MAXPATHLEN, "%s", winreg_log[i]); in winreg_initialize() 212 winreg_add_predefined(subkey); in winreg_initialize() 214 (void) snprintf(subkey, MAXPATHLEN, "%s\\%s", in winreg_initialize() 216 winreg_add_predefined(subkey); in winreg_initialize() 218 (void) snprintf(subkey, MAXPATHLEN, "%s\\%s\\%s", in winreg_initialize() 220 winreg_add_predefined(subkey); in winreg_initialize() 240 winreg_add_predefined(const char *subkey) in winreg_add_predefined() argument 246 (void) strlcpy(key->sk_name, subkey, MAXPATHLEN); in winreg_add_predefined() 400 char *subkey; in winreg_s_CreateKey() local [all …]
|
/titanic_41/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) in krb5_generate_subkey() argument 52 if ((*subkey = (krb5_keyblock *) malloc(sizeof(krb5_keyblock))) == NULL) in krb5_generate_subkey() 56 (void) memset(*subkey, 0, sizeof(krb5_keyblock)); in krb5_generate_subkey() 58 if ((retval = krb5_c_make_random_key(context, key->enctype, *subkey))) { in krb5_generate_subkey() 59 krb5_xfree(*subkey); in krb5_generate_subkey()
|
H A D | mk_rep.c | 67 repl.subkey = auth_context->send_subkey; in krb5_mk_rep() 69 repl.subkey = auth_context->authentp->subkey; in krb5_mk_rep()
|
H A D | rd_rep.c | 85 if ((*repl)->subkey) { in krb5_rd_rep() 90 retval = krb5_copy_keyblock(context, (*repl)->subkey, in krb5_rd_rep() 98 retval = krb5_copy_keyblock(context, (*repl)->subkey, in krb5_rd_rep()
|
H A D | rd_req_dec.c | 364 (((*auth_context)->authentp->subkey) && in krb5_rd_req_decoded_opt() 366 etype = (*auth_context)->authentp->subkey->enctype))) { in krb5_rd_req_decoded_opt() 412 if ((*auth_context)->authentp->subkey) { in krb5_rd_req_decoded_opt() 415 (*auth_context)->authentp->subkey->enctype) in krb5_rd_req_decoded_opt() 420 if (krb5_enctype_to_string((*auth_context)->authentp->subkey->enctype, in krb5_rd_req_decoded_opt() 433 if ((*auth_context)->authentp->subkey) { in krb5_rd_req_decoded_opt() 441 (*auth_context)->authentp->subkey, in krb5_rd_req_decoded_opt() 450 retval = krb5_copy_keyblock(context, (*auth_context)->authentp->subkey, in krb5_rd_req_decoded_opt()
|
H A D | mk_req_ext.c | 287 retval = krb5_copy_keyblock(context, key, &authent->subkey); in krb5_generate_authenticator() 291 authent->subkey = 0; in krb5_generate_authenticator()
|
H A D | send_tgs.c | 74 authent.subkey = 0; in krb5_send_tgs_basic()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_athctr.c | 66 if (authfrom->subkey) { in krb5_copy_authenticator() 67 retval = krb5_copy_keyblock(context, authfrom->subkey, &tempto->subkey); in krb5_copy_authenticator() 69 krb5_xfree_wrap(tempto->subkey, sizeof(krb5_keyblock)); in krb5_copy_authenticator() 81 krb5_xfree_wrap(tempto->subkey, sizeof(krb5_keyblock)); in krb5_copy_authenticator()
|
H A D | ser_auth.c | 98 if (!kret && authenticator->subkey) in krb5_authenticator_size() 101 (krb5_pointer) authenticator->subkey, in krb5_authenticator_size() 181 if (!kret && authenticator->subkey) in krb5_authenticator_externalize() 185 authenticator->subkey, in krb5_authenticator_externalize() 297 &authenticator->subkey, in krb5_authenticator_internalize()
|
H A D | kfree.c | 88 if (val->subkey) in krb5_free_ap_rep_enc_part() 89 krb5_free_keyblock(context, val->subkey); in krb5_free_ap_rep_enc_part() 105 if (val->subkey) { in krb5_free_authenticator_contents() 106 krb5_free_keyblock(context, val->subkey); in krb5_free_authenticator_contents() 107 val->subkey = 0; in krb5_free_authenticator_contents()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | accept_sec_context.c | 628 if ((authdat->authenticator->subkey == NULL) || 886 &ctx->subkey))) { 896 if (ctx->subkey == NULL) { 898 &ctx->subkey))) { 908 if (ctx->subkey == NULL) { 918 "ctx->subkey->enctype=%d", ctx->subkey->enctype); 921 switch(ctx->subkey->enctype) { 924 ctx->subkey->enctype = ENCTYPE_DES_CBC_RAW; 931 if ((code = krb5_copy_keyblock(context, ctx->subkey, &ctx->enc))) { 944 ctx->subkey->enctype = ENCTYPE_DES3_CBC_RAW; [all …]
|
H A D | init_sec_context.c | 384 switch(ctx->subkey->enctype) { in setup_enc() 388 ctx->subkey->enctype = ENCTYPE_DES_CBC_RAW; in setup_enc() 395 if ((code = krb5_copy_keyblock(context, ctx->subkey, &ctx->enc))) in setup_enc() 405 ctx->subkey->enctype = ENCTYPE_DES3_CBC_RAW; in setup_enc() 411 code = krb5_copy_keyblock (context, ctx->subkey, &ctx->enc); in setup_enc() 415 code = krb5_copy_keyblock (context, ctx->subkey, &ctx->seq); in setup_enc() 437 code = (*kaccess.krb5int_c_mandatory_cksumtype)(context, ctx->subkey->enctype, in setup_enc() 594 &ctx->subkey); in new_connection() 656 if (ctx_free->subkey) in new_connection() 657 krb5_free_keyblock(context, ctx_free->subkey); in new_connection() [all …]
|
H A D | lucid_context.c | 229 if ((retval = copy_keyblock_to_lucid_key(gctx->subkey, in make_external_lucid_ctx_v1()
|
H A D | inq_context.c | 215 key = ctx->have_acceptor_subkey ? ctx->acceptor_subkey : ctx->subkey; in gss_krb5int_inq_session_key()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | ser_sctx.c | 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 | delete_sec_context.c | 180 if (ctx->subkey) 181 krb5_free_keyblock(context, 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))) {
|
/titanic_41/usr/src/cmd/krb5/krb5kdc/ |
H A D | do_tgs_req.c | 68 krb5_keyblock * subkey; in process_tgs_req() local 128 errcode = kdc_process_tgs_req(request, from, pkt, &header_ticket, &subkey); in process_tgs_req() 671 reply.enc_part.enctype = subkey ? subkey->enctype : in process_tgs_req() 674 subkey ? 1 : 0, in process_tgs_req() 675 subkey ? subkey : in process_tgs_req()
|
H A D | kdc_util.c | 197 krb5_keyblock **subkey) in kdc_process_tgs_req() argument 319 auth_context, subkey))) in kdc_process_tgs_req()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | krb5_decode.c | 207 clear_field(rep,subkey); in decode_krb5_authenticator() 224 if(tagnum == 6){ alloc_field((*rep)->subkey,krb5_keyblock); } in decode_krb5_authenticator() 225 opt_field(*((*rep)->subkey),6,asn1_decode_encryption_key); in decode_krb5_authenticator() 234 free_field(*rep,subkey); in decode_krb5_authenticator() 443 clear_field(rep,subkey); in decode_krb5_ap_rep_enc_part() 449 if(tagnum == 2){ alloc_field((*rep)->subkey,krb5_keyblock); } in decode_krb5_ap_rep_enc_part() 450 opt_field(*((*rep)->subkey),2,asn1_decode_encryption_key); in decode_krb5_ap_rep_enc_part() 458 free_field(*rep,subkey); in decode_krb5_ap_rep_enc_part()
|
H A D | asn1_k_encode.c | 714 FIELDOF_OPT(krb5_authenticator, ptr_encryption_key, subkey, 6, 6), 731 if (val->subkey != NULL) in optional_krb5_authenticator() 875 FIELDOF_OPT(krb5_ap_rep_enc_part, ptr_encryption_key, subkey, 2, 2), 886 if (val->subkey != NULL) in optional_ap_rep_enc_part()
|
/titanic_41/usr/src/uts/common/smbsrv/ndl/ |
H A D | winreg.ndl | 214 IN winreg_string_t subkey; 228 IN winreg_string_t subkey;
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | gssapiP_krb5.h | 188 krb5_keyblock *subkey; member
|
H A D | krb5.h | 1099 krb5_keyblock *subkey; /* true session key, optional */ member 1226 krb5_keyblock *subkey; /* true session key, optional */ member
|