/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gss.c | 93 gss_OID mech_type; /* GSS mechanism */ member 507 mechanism, &ap->mech_type, &ret_flags, &time_rec, cr, 0)) { in rpc_gss_seccreate() 547 NOT_NULL(ap->mech_type); in rpc_gss_seccreate() 548 __rpc_gss_dup_oid(ap->mech_type, in rpc_gss_seccreate() 1148 ap, ap->mech_type, (gss_OID *)NULL, (int *)NULL, 1269 if (ap->mech_type != NULL) { 1270 kgss_free_oid(ap->mech_type); 1271 ap->mech_type = NULL; 1476 if (__rpc_gss_oids_equal(ap->mech_type, in rpc_gss_revauth()
|
H A D | svc_rpcsec_gss.c | 796 gss_OID mech_type = GSS_C_NULL_OID; in do_gss_accept() local 841 &mech_type, in do_gss_accept() 863 client_data->raw_cred.mechanism = (rpc_gss_OID) mech_type; in do_gss_accept() 903 rpc_gss_display_status(gssstat, minor_stat, mech_type, in do_gss_accept() 991 if (free_mech_type && mech_type) in do_gss_accept() 992 kgss_free_oid(mech_type); in do_gss_accept()
|
H A D | rpcsec_gss_utils.c | 179 rpc_gss_display_status(major, minor, mech_type, in rpc_gss_display_status() argument 182 gss_OID mech_type; 207 GSS_C_GSS_CODE, mech_type, 236 GSS_C_MECH_CODE, mech_type,
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss.c | 87 gss_OID mech_type; /* GSS mechanism */ member 114 gss_OID mech_type; local 134 if (!__rpc_gss_mech_to_oid(mech, &mech_type)) { 189 ap->mech_type = mech_type; 196 &mech_type, &ret_flags, &time_rec)) { 233 if ((s = __rpc_gss_oid_to_mech(mech_type)) != NULL) 301 ap->mech_type, 450 if ((mech = __rpc_gss_oid_to_mech(ap->mech_type)) == NULL)
|
/illumos-gate/usr/src/cmd/cmd-crypto/digest/ |
H A D | digest.c | 368 CK_MECHANISM_TYPE mech_type; in execute_cmd() local 398 mech_type = mech_aliases[mech_match].type; in execute_cmd() 543 rv = C_GetMechanismInfo(token_slot_id, mech_type, &info); in execute_cmd() 552 rv = C_GetMechanismInfo(slotID, mech_type, &info); in execute_cmd() 619 if (mech_type == CKM_DES_MAC) { in execute_cmd() 651 if (mech_type == CKM_DES_MAC) { in execute_cmd() 665 if (mech_type == CKM_DES_MAC) { in execute_cmd() 714 mech.mechanism = mech_type; in execute_cmd()
|
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/ |
H A D | decrypt.c | 423 CK_MECHANISM_TYPE mech_type = 0; in execute_cmd() local 458 mech_type = mech_aliases[mech_match].type; in execute_cmd() 594 rv = C_GetMechanismInfo(token_slot_id, mech_type, &info); in execute_cmd() 602 rv = C_GetMechanismInfo(slotID, mech_type, &info); in execute_cmd() 615 (mech_type == CKM_RC4) || in execute_cmd() 671 rv = pkcs11_mech2keytype(mech_type, &keytype); in execute_cmd() 897 mech.mechanism = mech_type; in execute_cmd()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | encrypt.c | 81 init_key_kef(crypto_mech_type_t mech_type, krb5_keyblock *key) in init_key_kef() argument 96 key->kef_mt = mech_type; in init_key_kef() 98 if (key->key_tmpl == NULL && mech_type != CRYPTO_MECH_INVALID) { in init_key_kef()
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_dsp_status.c | 63 gss_OID mech_type = (gss_OID) req_mech_type; local 126 mech_type = &m_oid; 130 mech = __gss_get_mechanism(mech_type); 135 if (mech_type == GSS_C_NULL_OID) 136 mech_type = &mech->mech_type; 139 status_value, status_type, mech_type,
|
H A D | g_glue.c | 305 gss_OID mech_type; 335 const gss_OID mech_type; 407 mech_type->length + 440 (void) memcpy(buf, mech_type->elements, mech_type->length); 441 buf += mech_type->length; 458 gss_OID mech_type; 488 gss_OID mech_type; 513 mech_type, in gssint_delete_internal_sec_context() argument 517 gss_OID mech_type; 611 if (union_name->mech_type) [all …]
|
H A D | g_rel_name.c | 71 if (union_name->mech_type) { 73 union_name->mech_type, 75 (void) gss_release_oid(minor_status, &union_name->mech_type);
|
H A D | g_userok.c | 38 const gss_OID mech_type, in compare_names() argument 53 if (!gss_user.value || !name || !mech_type) in compare_names() 67 mech_type, in compare_names() 113 mech = __gss_get_mechanism(intName->mech_type); in __gss_userok() 118 if (intName->mech_type == NULL) { in __gss_userok() 127 major = compare_names(minor, intName->mech_type, in __gss_userok()
|
H A D | g_acquire_cred_with_pw.c | 145 default_OID.length = mech->mech_type.length; 146 default_OID.elements = mech->mech_type.elements; 300 if (union_name->mech_type && 301 g_OID_equal(union_name->mech_type, 302 &mech->mech_type)) 306 &mech->mech_type, union_name, 371 malloc(mech->mech_type.length)) == NULL) 375 &mech->mech_type); 408 &mech->mech_type, 425 &mech->mech_type,
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | krb5_gss_glue.c | 555 gss_OID *mech_type; 567 mech_type, 701 gss_OID mech_type; 792 gss_OID mech_type; 812 lifetime_rec, mech_type, ret_flags, in k5glue_inquire_context() argument 820 gss_OID *mech_type; 853 gss_OID mech_type; 860 mech_type, name, initiator_lifetime, 1121 const gss_OID mech_type; 1125 mech_type, output_name); [all …]
|
H A D | init_sec_context.c | 266 gss_OID mech_type; 469 gss_OID mech_type, in new_connection() argument 563 mech_type = (gss_OID) gss_mech_krb5; in new_connection() 581 mech_type, &token))) { in new_connection() 630 *actual_mech_type = mech_type; in new_connection() 676 gss_OID mech_type, in mutual_auth() argument 844 *actual_mech_type = mech_type; in mutual_auth() 868 gss_OID mech_type; 967 if (mech_type == GSS_C_NULL_OID) { 970 mech_type = (gss_OID) gss_mech_krb5; [all …]
|
H A D | inq_cred.c | 224 mech_type, name, initiator_lifetime, in krb5_gss_inquire_cred_by_mech() argument 228 gss_OID mech_type; 241 if ((mech_type != GSS_C_NULL_OID) && 242 !g_OID_equal(gss_mech_krb5_old, mech_type) && 243 !g_OID_equal(gss_mech_krb5, mech_type)) {
|
H A D | accept_sec_context.c | 271 input_chan_bindings, src_name, mech_type, in krb5_gss_accept_sec_context() argument 280 gss_OID *mech_type; 351 if (mech_type) 352 *mech_type = GSS_C_NULL_OID; 1155 if (mech_type) { 1162 *mech_type = (gss_OID) mech_used;
|
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | impl.h | 477 #define KCF_MECH2CLASS(mech_type) ((kcf_ops_class_t)((mech_type) >> 32)) argument 479 #define KCF_MECH2INDEX(mech_type) ((int)(mech_type)) argument 481 #define KCF_TO_PROV_MECH_INDX(pd, mech_type) \ argument 482 ((pd)->pd_mech_indx[KCF_MECH2CLASS(mech_type)] \ 483 [KCF_MECH2INDEX(mech_type)]) 485 #define KCF_TO_PROV_MECHINFO(pd, mech_type) \ argument 486 ((pd)->pd_mechanisms[KCF_TO_PROV_MECH_INDX(pd, mech_type)]) 488 #define KCF_TO_PROV_MECHNUM(pd, mech_type) \ argument 489 (KCF_TO_PROV_MECHINFO(pd, mech_type).cm_mech_number) 491 #define KCF_CAN_SHARE_OPSTATE(pd, mech_type) \ argument [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cryptmod.h | 180 crypto_mech_type_t mech_type; member
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | sadb.c | 7560 ipsec_check_key(crypto_mech_type_t mech_type, sadb_key_t *sadb_key, argument 7567 mech.cm_type = mech_type;
|
/illumos-gate/usr/src/uts/common/gssapi/ |
H A D | gss_import_name.c | 69 union_name->mech_type = 0; in gss_import_name()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_spnego/mech/ |
H A D | spnego_mech.c | 940 gss_OID mech_type, in glue_spnego_gss_init_sec_context() argument 955 mech_type, in glue_spnego_gss_init_sec_context() 973 gss_OID mech_type, in spnego_gss_init_sec_context() argument 1765 mech_type, in acc_ctx_call_acc() 1826 mech_type, in glue_spnego_gss_accept_sec_context() 1999 gss_OID mech_type, in glue_spnego_gss_display_status() argument 2006 mech_type, in glue_spnego_gss_display_status() 2017 gss_OID mech_type, in spnego_gss_display_status() argument 2042 mech_type, in spnego_gss_display_status() 2445 mech_type, in glue_spnego_gss_inquire_context() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
H A D | dh_common.c | 90 gss_OID_desc mech_type, /* OID of mechanism */ in __dh_generic_initialize() argument 119 mech->mech_type = mech_type; in __dh_generic_initialize() 128 context->mech = &mech->mech_type; in __dh_generic_initialize()
|
H A D | dh_common.h | 40 gss_OID_desc mech_type, dh_keyopts_t keyopts);
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_krb5ssp.c | 124 gss_OID mech_type = GSS_C_NULL_OID; in smbd_krb5ssp_work() local 146 GSS_C_NO_CHANNEL_BINDINGS, &gname, &mech_type, &outtok, in smbd_krb5ssp_work() 166 (int)mech_type, major, minor); in smbd_krb5ssp_work()
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_tabs.c | 798 kcf_get_sw_prov(crypto_mech_type_t mech_type, kcf_provider_desc_t **pd, in kcf_get_sw_prov() argument 805 if (kcf_get_mech_entry(mech_type, &me) != KCF_SUCCESS) in kcf_get_sw_prov()
|