| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
| dhmech.c | 38 {0, 0}, /* OID for mech type. */ 101 * then check that the mech is not already initialized (If so just return 102 * the mech). It will then assign the entry points that are common to the 103 * mechanism family to the uninitialized mech. After which, it allocate space 109 __dh_gss_initialize(gss_mechanism mech) 111 if (mech->context != NULL) 112 return (mech); /* already initialized */ 115 *mech = dh_mechanism; 118 mech->context = New(dh_context_desc, 1); 119 if (mech->context == NULL [all...] |
| /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_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_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_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_glue.c | 217 * <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 ( 314 mech->context, /* SUNW17PACresync */ 320 map_error(minor_status, mech); 338 gss_mechanism mech; local 348 mech = gssint_get_mechanism(mech_type) 462 gss_mechanism mech; local 490 gss_mechanism mech; local 520 gss_mechanism mech; local [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_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_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_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_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_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...] |
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_spnego/ |
| Makefile | 40 HDRDIR = mech 61 $(RM) Makefile+ mech/spnego_mech.c+ 63 < mech/spnego_mech.c > mech/spnego_mech.c+ 64 $(MV) mech/spnego_mech.c+ mech/spnego_mech.c 68 $(CHMOD) 444 Makefile mech/spnego_mech.c 74 $(RM) Makefile+ mech/spnego_mech.c+ 76 < mech/spnego_mech.c > mech/spnego_mech.c+ [all...] |
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_dummy/ |
| Makefile | 89 $(RM) Makefile+ mech/dmech.c+ 91 < mech/dmech.c > mech/dmech.c+ 92 $(MV) mech/dmech.c+ mech/dmech.c 96 $(CHMOD) 444 Makefile mech/dmech.c 102 $(RM) Makefile+ mech/dmech.c+ 104 < mech/dmech.c > mech/dmech.c+ 105 $(MV) mech/dmech.c+ mech/dmech. [all...] |
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_dh/backend/ |
| Makefile | 28 PROTOCOL_DIR = mech 32 DERIVED_FILES = mech/dhmech_prot.h mech/xdr_token.c 65 mech/xdr_token.c: $(PROTOCOL_DIR)/dhmech_prot.x 69 mech/dhmech_prot.h: mech/dhmech_prot.x 79 $(RM) Makefile+ Makefile.com+ mech/crypto.c+ mech/dhmech.c+ 87 < mech/crypto.c > mech/crypto.c [all...] |
| /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/pkcs11/pkcs11_tpm/common/ |
| encr_mgr.c | 34 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->ulParameterLen [all...] |
| decr_mgr.c | 36 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.mechanism = mech->mechanism [all...] |
| sign_mgr.c | 33 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->ulParameterLen > 0) [all...] |
| /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/mech/ |
| util_token.c | 47 /* XXXX this code currently makes the assumption that a mech oid will 70 the sequence tag and length octets, the mech OID DER encoding, and the 147 /* returns the length of a token, given the mech oid and the body size */ 149 unsigned int g_token_size(mech, body_size) 150 const gss_OID_desc * mech; 154 body_size += 4 + (int) mech->length; /* NEED overflow check */ 161 void g_make_token_header(mech, body_size, buf, tok_type) 162 const gss_OID_desc * mech; 169 (tok_type == -1) ? 2 : (int) (4 + mech->length + body_size)); 171 *(*buf)++ = (unsigned char) mech->length [all...] |
| /onnv/onnv-gate/usr/src/cmd/ldap/common/ |
| ldaptool-sasl.h | 15 void *ldaptool_set_sasl_defaults ( LDAP *ld, char *mech, char *authid, char *username, char *passwd, char *realm );
|
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/ |
| Makefile | 32 crypto/des/d3_cbc.c+ mech/seal.c+ mech/unseal.c+ 35 < mech/seal.c > mech/seal.c+ 36 $(MV) mech/seal.c+ mech/seal.c 39 < mech/unseal.c > mech/unseal.c+ 40 $(MV) mech/unseal.c+ mech/unseal. [all...] |