| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
| disp_status.c | 35 mech_type, message_context, status_string) 39 gss_OID mech_type; 46 if ((mech_type != GSS_C_NULL_OID) && 47 !g_OID_equal(gss_mech_krb5, mech_type) && 48 !g_OID_equal(gss_mech_krb5_old, mech_type)) {
|
| inq_cred.c | 224 mech_type, name, initiator_lifetime, 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)) {
|
| /onnv/onnv-gate/usr/src/lib/libgss/ |
| g_canon_name.c | 49 const gss_OID mech_type, 66 if (input_name == GSS_C_NO_NAME || mech_type == GSS_C_NULL_OID) 75 mech_type, 79 const gss_OID mech_type; 87 mech_type, 100 if (!output_name && in_union->mech_type && 101 g_OID_equal(in_union->mech_type, mech_type)) 111 out_union->mech_type = 0; 134 if (in_union->mech_type) { [all...] |
| g_inquire_context.c | 39 gss_OID *mech_type) 53 if (mech_type != NULL) 54 *mech_type = GSS_C_NO_OID; 75 mech_type, 85 gss_OID *mech_type; 100 mech_type); 110 mech = __gss_get_mechanism(ctx->mech_type); 158 if (mech_type) 159 *mech_type = &mech->mech_type; [all...] |
| g_compare_name.c | 90 if (union_name1->mech_type == 0) { 98 if (union_name1->mech_type) { 99 mech = __gss_get_mechanism(union_name1->mech_type); 111 if (union_name1->mech_type && union_name2->mech_type) { 112 if (!g_OID_equal(union_name1->mech_type, 113 union_name2->mech_type)) 135 if (!union_name1->mech_type && !union_name2->mech_type) { 140 * Not knowing a mech_type we can't import the name wit [all...] |
| g_init_sec_context.c | 108 gss_OID mech_type = GSS_C_NULL_OID; local 121 mech_type = (gss_OID)req_mech_type; 127 * mechanism. If mech_type is NULL, set it to the resultant 130 mech = __gss_get_mechanism(mech_type); 137 if (mech_type == GSS_C_NULL_OID) 138 mech_type = &mech->mech_type; 142 * mech_type that we're about to use. Otherwise, do an import on 145 if (union_name->mech_type && 146 g_OID_equal(union_name->mech_type, mech_type)) [all...] |
| g_imp_sec_context.c | 96 ctx->mech_type = (gss_OID) malloc(sizeof (gss_OID_desc)); 97 if (!ctx->mech_type) { 116 ctx->mech_type->length = length; 117 ctx->mech_type->elements = malloc(length); 118 if (!ctx->mech_type->elements) { 121 (void) memcpy(ctx->mech_type->elements, p, length); 132 mech = __gss_get_mechanism(ctx->mech_type); 152 if (ctx->mech_type) { 153 if (ctx->mech_type->elements) 154 free(ctx->mech_type->elements) [all...] |
| g_dup_name.c | 97 dest_union->mech_type = 0; 118 if (src_union->mech_type) { 120 src_union->mech_type, 121 &dest_union->mech_type); 126 dest_union->mech_type, 149 dest_union->mech_type, 151 if (dest_union->mech_type) 153 &dest_union->mech_type);
|
| g_rel_name.c | 73 if (union_name->mech_type) { 75 union_name->mech_type, 77 (void) gss_release_oid(minor_status, &union_name->mech_type);
|
| g_glue.c | 300 OM_uint32 gssint_import_internal_name (minor_status, mech_type, union_name, 303 gss_OID mech_type; 310 mech = gssint_get_mechanism (mech_type); 330 OM_uint32 gssint_export_internal_name(minor_status, mech_type, 333 const gss_OID mech_type; 348 mech = gssint_get_mechanism(mech_type); 402 mechOidDERLen = gssint_der_length_size(mech_type->length); 405 mech_type->length + 421 mechOidLen = mechOidDERLen + mechOidTagLen + mech_type->length; 430 if (gssint_put_der_length(mech_type->length, &buf [all...] |
| g_userok.c | 40 const gss_OID mech_type, 55 if (!gss_user.value || !name || !mech_type) 69 mech_type, 115 mech = __gss_get_mechanism(intName->mech_type); 120 if (intName->mech_type == NULL) { 129 major = compare_names(minor, intName->mech_type,
|
| g_exp_sec_context.c | 96 mech = __gss_get_mechanism(ctx->mech_type); 107 length = token.length + 4 + ctx->mech_type->length; 115 length = ctx->mech_type->length; 123 (void) memcpy(buf+4, ctx->mech_type->elements, 124 (size_t)ctx->mech_type->length); 125 (void) memcpy(buf+4+ctx->mech_type->length, token.value, token.length); 129 free(ctx->mech_type->elements); 130 free(ctx->mech_type);
|
| g_export_name.c | 71 if (!union_name->mech_type) 74 return __gss_export_internal_name(minor_status, union_name->mech_type,
|
| g_accept_sec_context.c | 43 gss_OID *mech_type, 56 if (mech_type != NULL) 57 *mech_type = GSS_C_NO_OID; 91 mech_type, 103 gss_OID *mech_type; 127 mech_type, 161 &union_ctx_id->mech_type); 171 token_mech_type = union_ctx_id->mech_type; 212 if (mech_type != NULL) 213 *mech_type = actual_mech [all...] |
| g_delete_sec_context.c | 90 mech = __gss_get_mechanism(ctx->mech_type); 103 free(ctx->mech_type->elements); 104 free(ctx->mech_type);
|
| g_dsp_status.c | 63 gss_OID mech_type = (gss_OID) req_mech_type; local 89 mech = __gss_get_mechanism(mech_type); 92 if (mech_type == GSS_C_NULL_OID) 93 mech_type = &mech->mech_type; 96 status_value, status_type, mech_type,
|
| g_context_time.c | 64 mech = __gss_get_mechanism(ctx->mech_type);
|
| g_process_context.c | 65 mech = __gss_get_mechanism(ctx->mech_type);
|
| g_inq_context_oid.c | 59 mech = gssint_get_mechanism (ctx->mech_type);
|
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
| dh_common.c | 92 gss_OID_desc mech_type, /* OID of mechanism */ 121 mech->mech_type = mech_type; 130 context->mech = &mech->mech_type;
|
| dh_common.h | 42 gss_OID_desc mech_type, dh_keyopts_t keyopts);
|
| /onnv/onnv-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
| kernelSlot.h | 41 int mech_type; member in struct:cipher_mechs_threshold
|
| /onnv/onnv-gate/usr/src/cmd/gss/gssd/ |
| gssdtest.c | 360 gss_OID mech_type; local 409 mech_type = gss_str2oid((char *)GSS_KRB5_MECH_OID); 411 mech_type = gss_str2oid(argv[0]); 413 if (mech_type == 0 || mech_type->length == 0) { 419 * set up desired_mechs so it points to mech_type. 425 desired_mechs->elements = mech_type; 513 /* mech_type and desired_mechs are allocated above. Release it here */ 515 FREE(mech_type->elements, mech_type->length) 537 gss_OID mech_type; local 785 gss_OID mech_type = (gss_OID) 0; local 1034 gss_OID mech_type; local 1702 gss_OID mech_type = (gss_OID) 0; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/crypto/io/ |
| rsa.c | 82 rsa_mech_type_t mech_type; member in struct:rsa_ctx 91 rsa_mech_type_t mech_type; member in struct:digest_rsa_ctx 554 ctxp->mech_type = mechanism->cm_type; 580 rv = rsa_encrypt_common(ctxp->mech_type, ctxp->key, plaintext, 615 if (ctxp->mech_type == RSA_PKCS_MECH_INFO_TYPE || 616 ctxp->mech_type == RSA_X_509_MECH_INFO_TYPE) 628 rsa_encrypt_common(rsa_mech_type_t mech_type, crypto_key_t *key, 649 if (mech_type == RSA_PKCS_MECH_INFO_TYPE) { 670 if (mech_type == RSA_PKCS_MECH_INFO_TYPE) { 800 rv = rsa_decrypt_common(ctxp->mech_type, ctxp->key 1097 rsa_mech_type_t mech_type; local 1324 rsa_mech_type_t mech_type; local [all...] |
| ecc.c | 80 ecc_mech_type_t mech_type; member in struct:ecc_ctx 90 ecc_mech_type_t mech_type; member in struct:digest_ecc_ctx 376 check_mech_and_key(ecc_mech_type_t mech_type, crypto_key_t *key, ulong_t class) 383 if (mech_type != ECDSA_SHA1_MECH_INFO_TYPE && 384 mech_type != ECDSA_MECH_INFO_TYPE) 487 if (ctxp->mech_type == ECDSA_MECH_INFO_TYPE) 506 ecc_mech_type_t mech_type = mechanism->cm_type; local 533 switch (mech_type) { 550 switch (mech_type) { 561 ctxp->mech_type = mech_type 584 ecc_mech_type_t mech_type = mechanism->cm_type; local 604 ecc_mech_type_t mech_type = mechanism->cm_type; local 632 ecc_mech_type_t mech_type; local 769 ecc_mech_type_t mech_type; local 818 ecc_mech_type_t mech_type = mechanism->cm_type; local 1015 ecc_mech_type_t mech_type = mechanism->cm_type; local [all...] |