| /onnv/onnv-gate/usr/src/lib/libgss/ |
| g_context_time.c | 46 gss_mechanism mech; local 64 mech = __gss_get_mechanism(ctx->mech_type); 66 if (mech) { 68 if (mech->gss_context_time) 69 status = mech->gss_context_time( 70 mech->context,
|
| g_process_context.c | 44 gss_mechanism mech; local 65 mech = __gss_get_mechanism(ctx->mech_type); 67 if (mech) { 69 if (mech->gss_process_context_token) 70 status = mech->gss_process_context_token( 71 mech->context,
|
| g_delete_sec_context.c | 76 gss_mechanism mech; local 90 mech = __gss_get_mechanism(ctx->mech_type); 92 if (mech) { 94 if (mech->gss_delete_sec_context) 95 status = mech->gss_delete_sec_context(mech->context,
|
| g_unseal.c | 51 gss_mechanism mech; local 80 mech = __gss_get_mechanism(ctx->mech_type); 82 if (mech) { 83 if (mech->gss_unseal) 84 status = mech->gss_unseal( 85 mech->context,
|
| g_verify.c | 47 gss_mechanism mech; local 66 mech = __gss_get_mechanism(ctx->mech_type); 68 if (mech) { 69 if (mech->gss_verify) 70 status = mech->gss_verify( 71 mech->context,
|
| g_inq_context_oid.c | 45 gss_mechanism mech; local 59 mech = gssint_get_mechanism (ctx->mech_type); 61 if (mech != NULL) { 62 if (mech->gss_inquire_sec_context_by_oid != NULL) { 63 status = mech->gss_inquire_sec_context_by_oid(minor_status, 68 map_error(minor_status, mech);
|
| g_rel_cred.c | 50 gss_mechanism mech; local 76 mech = __gss_get_mechanism(&union_cred->mechs_array[j]); 80 if (mech) { 81 if (mech->gss_release_cred) { 82 temp_status = mech->gss_release_cred 83 (mech->context, minor_status,
|
| g_seal.c | 89 gss_mechanism mech; local 104 mech = __gss_get_mechanism(ctx->mech_type); 106 if (mech) { 107 if (mech->gss_seal) 108 status = mech->gss_seal( 109 mech->context, 165 gss_mechanism mech; local 183 mech = __gss_get_mechanism(ctx->mech_type); 185 if (!mech) 188 if (!mech->gss_wrap_size_limit [all...] |
| g_sign.c | 83 gss_mechanism mech; local 96 mech = __gss_get_mechanism(ctx->mech_type); 98 if (mech) { 99 if (mech->gss_sign) 100 status = mech->gss_sign( 101 mech->context,
|
| g_compare_name.c | 75 gss_mechanism mech; local 99 mech = __gss_get_mechanism(union_name1->mech_type); 100 if (!mech) 102 if (!mech->gss_compare_name) 119 return (mech->gss_compare_name(mech->context, minor_status, 192 major_status = mech->gss_compare_name(mech->context, minor_status,
|
| g_dsp_status.c | 64 gss_mechanism mech; local 89 mech = __gss_get_mechanism(mech_type); 91 if (mech && mech->gss_display_status) { 93 mech_type = &mech->mech_type; 95 return (mech->gss_display_status(mech->context, minor_status, 100 if (!mech)
|
| g_exp_sec_context.c | 81 gss_mechanism mech; local 96 mech = __gss_get_mechanism(ctx->mech_type); 97 if (!mech) 99 if (!mech->gss_export_sec_context) 102 status = mech->gss_export_sec_context(mech->context, minor_status,
|
| g_imp_sec_context.c | 82 gss_mechanism mech; local 132 mech = __gss_get_mechanism(ctx->mech_type); 133 if (!mech) { 137 if (!mech->gss_import_sec_context) { 142 status = mech->gss_import_sec_context(mech->context, minor_status,
|
| g_inquire_context.c | 92 gss_mechanism mech; local 110 mech = __gss_get_mechanism(ctx->mech_type); 112 if (!mech || !mech->gss_inquire_context || !mech->gss_display_name || 113 !mech->gss_release_name) { 117 status = mech->gss_inquire_context( 118 mech->context, 135 status = __gss_convert_name_to_union_name(minor_status, mech, 139 mech->gss_release_name(mech->context [all...] |
| g_inquire_cred.c | 54 gss_mechanism mech; local 78 * get_mechanism will return the first mechanism in the mech 82 if ((mech = __gss_get_mechanism(GSS_C_NULL_OID)) == NULL) 85 if (!mech->gss_inquire_cred) 88 status = mech->gss_inquire_cred(mech->context, minor_status, 102 &temp_minor_status, mech, 222 gss_mechanism mech; local 235 mech = __gss_get_mechanism(mech_type); 236 if (!mech) [all...] |
| g_store_cred.c | 79 gss_mechanism mech; local 99 mech = __gss_get_mechanism(desired_mech); 100 if (mech == NULL) 103 if (mech->gss_store_cred == NULL) 110 return (mech->gss_store_cred(mech->context, 126 /* Get mech and cred element */ 128 mech = __gss_get_mechanism(dmech); 129 if (mech == NULL) 132 if (mech->gss_store_cred == NULL [all...] |
| g_userok.c | 99 gss_mechanism mech; local 115 mech = __gss_get_mechanism(intName->mech_type); 116 if (mech == NULL) 125 if (mech->__gss_userok) 126 major = mech->__gss_userok(mech->context, minor, mechName,
|
| g_init_sec_context.c | 109 gss_mechanism mech; local 130 mech = __gss_get_mechanism(mech_type); 131 if (mech == NULL) 134 if (mech->gss_init_sec_context == NULL) 138 mech_type = &mech->mech_type; 157 * descriptor to hold the mech type information as well as the 191 status = mech->gss_init_sec_context( 192 mech->context,
|
| g_inquire_names.c | 44 gss_mechanism mech; local 67 mech = __gss_get_mechanism(mechanism); 69 if (mech) { 71 if (mech->gss_inquire_names_for_mech) 72 status = mech->gss_inquire_names_for_mech( 73 mech->context,
|
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/ |
| ef_crypto.c | 22 crypto_mechanism_t mech; local 45 mech.cm_type = key->kef_mt; 46 if (mech.cm_type == CRYPTO_MECH_INVALID) { 48 "k5_ef_crypto - invalid crypto mech type: 0x%llx", 54 mech.cm_param_len = ivec->length; 55 mech.cm_param = (char *)ivec->data; 57 mech.cm_param_len = 0; 58 mech.cm_param = NULL; 62 rv = crypto_encrypt(&mech, &d1, 68 rv = crypto_decrypt(&mech, &d1 [all...] |
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/ |
| hash_kef_generic.c | 24 crypto_mechanism_t mech; local 40 mech.cm_type = context->kef_cksum_mt; 41 if (mech.cm_type == CRYPTO_MECH_INVALID) { 43 "k5_ef_hash() invalid mech specified: 0x%llx", 47 mech.cm_param = 0; 48 mech.cm_param_len = 0; 50 rv = crypto_digest_init(&mech, &ctxp, NULL); 97 crypto_mechanism_t mech; local 116 mech.cm_type = context->kef_hash_mt; 117 if (mech.cm_type == CRYPTO_MECH_INVALID) [all...] |
| /onnv/onnv-gate/usr/src/cmd/ssh/ssh/ |
| gss-clnt.c | 68 gss_OID mech; local 109 mech = &acquired->elements[i]; 111 if (ssh_gssapi_is_spnego(mech)) 114 ssh_gssapi_build_ctx(&ctxt, 1, mech); 131 ssh_gssapi_oid_to_name(mech), errmsg); 138 maj = gss_add_oid_set_member(&min, mech, &supported); 182 NULL, /* actual mech type */
|
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
| dh_common.c | 95 gss_mechanism (*mech_init)(gss_mechanism mech); 96 gss_mechanism mech; local 116 if ((mech = mech_init(dhmech)) == NULL) { 121 mech->mech_type = mech_type; 124 context = (dh_context_t)mech->context; 130 context->mech = &mech->mech_type; 132 return (mech);
|
| /onnv/onnv-gate/usr/src/lib/libcryptoutil/common/ |
| mechstr.c | 27 * Convert Algorithm names as strings to PKCS#11 Mech numbers and vice versa. 45 CK_MECHANISM_TYPE mech; member in struct:__anon1 327 return (((pkcs11_mapping_t *)mapping1)->mech - 328 ((pkcs11_mapping_t *)mapping2)->mech); 333 * pkcs11_mech2str - convert PKCS#11 mech to a string 340 *pkcs11_mech2str(CK_MECHANISM_TYPE mech) 345 if (mech >= CKM_VENDOR_DEFINED) { 350 target.mech = mech; 363 * pkcs11_str2mech - convert a string into a PKCS#11 mech number [all...] |
| /onnv/onnv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
| softFipsPostUtil.c | 84 CK_MECHANISM mech = {0, NULL, 0}; local 117 mech.mechanism = CKM_SHA1_RSA_PKCS; 122 mech.mechanism = CKM_DSA_SHA1; 127 mech.mechanism = CKM_ECDSA_SHA1; 141 rv = soft_sign_init(session_p, &mech, privateKey); 155 rv = soft_verify_init(session_p, &mech, publicKey);
|