Searched refs:mech (Results 1 - 25 of 124) sorted by relevance

12345

/osnet-11/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Ddh_common.c48 gss_mechanism (*mech_init)(gss_mechanism mech);
49 gss_mechanism mech; local
53 if ((mech = __dh_gss_initialize(dhmech)) == NULL) {
58 mech->mech_type = mech_type;
60 return (mech);
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/
H A DMakefile27 PROTOCOL_DIR = mech
30 DERIVED_FILES = mech/dhmech_prot.h mech/xdr_token.c
57 mech/xdr_token.c: $(PROTOCOL_DIR)/dhmech_prot.x
61 mech/dhmech_prot.h: mech/dhmech_prot.x
71 $(RM) Makefile+ mech/crypto.c+ mech/dhmech.c+
76 < mech/crypto.c > mech/crypt
[all...]
/osnet-11/usr/src/lib/libgss/
H A Dg_context_time.c43 gss_mechanism mech; local
61 mech = __gss_get_mechanism(ctx->mech_type);
63 if (mech) {
65 if (mech->gss_context_time) {
66 status = mech->gss_context_time(
71 map_error(minor_status, mech);
H A Dg_inq_context_oid.c46 gss_mechanism mech; local
60 mech = gssint_get_mechanism (ctx->mech_type);
62 if (mech != NULL) {
63 if (mech->gss_inquire_sec_context_by_oid != NULL) {
64 status = mech->gss_inquire_sec_context_by_oid(minor_status,
69 map_error(minor_status, mech);
H A Dg_process_context.c44 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(
75 map_error(minor_status, mech);
H A Dg_inquire_context.c81 gss_mechanism mech; local
99 mech = __gss_get_mechanism(ctx->mech_type);
101 if (!mech || !mech->gss_inquire_context || !mech->gss_display_name ||
102 !mech->gss_release_name) {
106 status = mech->gss_inquire_context(
118 map_error(minor_status, mech);
124 status = __gss_convert_name_to_union_name(minor_status, mech,
128 mech
[all...]
H A Dg_compare_name.c75 gss_mechanism mech = NULL; local
99 mech = __gss_get_mechanism(union_name1->mech_type);
100 if (!mech)
102 if (!mech->gss_compare_name)
119 if (!mech)
121 if (!mech->gss_compare_name)
123 major_status = mech->gss_compare_name(
129 map_error(minor_status, mech);
200 if (!mech)
202 if (!mech
[all...]
H A Dg_seal.c90 gss_mechanism mech; local
105 mech = __gss_get_mechanism(ctx->mech_type);
107 if (mech) {
108 if (mech->gss_seal) {
109 status = mech->gss_seal(
118 map_error(minor_status, mech);
167 gss_mechanism mech; local
186 mech = __gss_get_mechanism(ctx->mech_type);
188 if (!mech)
191 if (mech
[all...]
H A Dg_inquire_cred.c54 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(minor_status,
95 map_error(minor_status, mech);
104 &temp_minor_status, mech,
108 map_error(minor_status, mech);
227 gss_mechanism mech; local
240 mech
[all...]
H A Dg_store_cred.c100 gss_mechanism mech; local
125 mech = __gss_get_mechanism(desired_mech);
126 if (mech == NULL)
129 if (mech->gss_store_cred == NULL)
136 major_status = mech->gss_store_cred(minor_status,
145 map_error(minor_status, mech);
154 /* Get mech and cred element */
156 mech = __gss_get_mechanism(dmech);
157 if (mech == NULL)
160 if (mech
[all...]
H A Dg_rel_cred.c47 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
87 map_error(minor_status, mech);
H A Dg_sign.c83 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(
107 map_error(minor_status, mech);
H A Dg_unseal.c51 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(
92 map_error(minor_status, mech);
H A Dg_verify.c47 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(
77 map_error(minor_status, mech);
H A Dg_glue.c216 * <mech OID bytes>
308 gss_mechanism mech; local
310 mech = gssint_get_mechanism(mech_type);
311 if (mech) {
312 if (mech->gss_import_name) {
313 status = mech->gss_import_name(
319 map_error(minor_status, mech);
338 gss_mechanism mech; local
348 mech = gssint_get_mechanism(mech_type);
349 if (!mech)
461 gss_mechanism mech; local
489 gss_mechanism mech; local
518 gss_mechanism mech; local
[all...]
H A Dg_utils.c143 num_str = name; /* will contain mech */
148 qop_num_pairs[qop_num_pair_cnt].mech = strdup(name);
149 if (qop_num_pairs[qop_num_pair_cnt].mech == NULL) {
166 char *mech,
186 if ((strcasecmp(mech, qop_num_pairs[i].mech) == 0) &&
198 char *mech,
215 if (mech == NULL)
222 if ((strcasecmp(mech, qop_num_pairs[i].mech)
164 __gss_qop_to_num( char *qop, char *mech, OM_uint32 *num ) argument
197 __gss_num_to_qop( char *mech, OM_uint32 num, char **qop ) argument
236 __gss_get_mech_info( char *mech, char **qops ) argument
271 __gss_mech_qops( char *mech, qop_num *mechqops, int *numqop ) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_spnego/
H A DMakefile37 HDRDIR = mech
59 $(RM) Makefile+ mech/spnego_mech.c+
61 < mech/spnego_mech.c > mech/spnego_mech.c+
62 $(MV) mech/spnego_mech.c+ mech/spnego_mech.c
66 $(CHMOD) 444 Makefile mech/spnego_mech.c
72 $(RM) Makefile+ mech/spnego_mech.c+
74 < mech/spnego_mech.c > mech/spnego_mec
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_dummy/
H A DMakefile88 $(RM) Makefile+ mech/dmech.c+
90 < mech/dmech.c > mech/dmech.c+
91 $(MV) mech/dmech.c+ mech/dmech.c
95 $(CHMOD) 444 Makefile mech/dmech.c
101 $(RM) Makefile+ mech/dmech.c+
103 < mech/dmech.c > mech/dmech.c+
104 $(MV) mech/dmec
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dencr_mgr.c34 CK_MECHANISM * mech,
45 if (! sess || ! ctx || ! mech) {
88 switch (mech->mechanism) {
91 if (mech->ulParameterLen != 0) {
114 if (mech->ulParameterLen > 0) {
115 ptr = (CK_BYTE *)malloc(mech->ulParameterLen);
119 (void) memcpy(ptr, mech->pParameter, mech->ulParameterLen);
123 ctx->mech.ulParameterLen = mech
31 encr_mgr_init(SESSION * sess, ENCR_DECR_CONTEXT * ctx, CK_ULONG operation, CK_MECHANISM * mech, CK_OBJECT_HANDLE key_handle) argument
[all...]
H A Ddecr_mgr.c36 CK_MECHANISM *mech,
88 switch (mech->mechanism) {
91 if (mech->ulParameterLen != 0)
115 if (mech->ulParameterLen > 0) {
116 ptr = (CK_BYTE *)malloc(mech->ulParameterLen);
120 (void) memcpy(ptr, mech->pParameter, mech->ulParameterLen);
124 ctx->mech.ulParameterLen = mech->ulParameterLen;
125 ctx->mech
32 decr_mgr_init( SESSION *sess, ENCR_DECR_CONTEXT *ctx, CK_ULONG operation, CK_MECHANISM *mech, CK_OBJECT_HANDLE key_handle) argument
[all...]
H A Dsign_mgr.c33 CK_MECHANISM * mech,
66 switch (mech->mechanism) {
139 if (mech->ulParameterLen != 0) {
164 (CK_MAC_GENERAL_PARAMS *)mech->pParameter;
166 if (mech->ulParameterLen !=
171 if ((mech->mechanism == CKM_MD5_HMAC_GENERAL) &&
175 if ((mech->mechanism == CKM_SHA_1_HMAC_GENERAL) &&
200 if (mech->ulParameterLen > 0 && mech->pParameter == NULL)
203 if (mech
31 sign_mgr_init(SESSION * sess, SIGN_VERIFY_CONTEXT * ctx, CK_MECHANISM * mech, CK_BBOOL recover_mode, CK_OBJECT_HANDLE key) argument
[all...]
H A Dverify_mgr.c33 CK_MECHANISM * mech,
70 switch (mech->mechanism) {
161 (CK_MAC_GENERAL_PARAMS *)mech->pParameter;
163 if (mech->ulParameterLen !=
167 if ((mech->mechanism == CKM_MD5_HMAC_GENERAL) &&
171 if ((mech->mechanism == CKM_SHA_1_HMAC_GENERAL) &&
197 ctx->mech.ulParameterLen = mech->ulParameterLen;
198 ctx->mech.mechanism = mech
31 verify_mgr_init(SESSION * sess, SIGN_VERIFY_CONTEXT * ctx, CK_MECHANISM * mech, CK_BBOOL recover_mode, CK_OBJECT_HANDLE key) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_errmap.c51 gss_OID_desc mech; member in struct:mecherror
73 if (m1.mech.length < m2.mech.length)
75 if (m1.mech.length > m2.mech.length)
77 if (m1.mech.length == 0)
79 return memcmp(m1.mech.elements, m2.mech.elements, m1.mech.length);
92 if (src.mech
[all...]
/osnet-11/usr/src/cmd/ldap/common/
H A Dldaptool-sasl.h15 void *ldaptool_set_sasl_defaults ( LDAP *ld, char *mech, char *authid, char *username, char *passwd, char *realm );
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Ddhmech.c34 {0, 0}, /* OID for mech type. */
121 * then check that the mech is not already initialized (If so just return
122 * the mech). It will then assign the entry points that are common to the
123 * mechanism family to the uninitialized mech. After which, it allocate space
129 __dh_gss_initialize(gss_mechanism mech) argument
132 *mech = dh_mechanism;
134 /* return the mech */
135 return (mech);

Completed in 69 milliseconds

12345