Home
last modified time | relevance | path

Searched refs:tmpl (Results 1 – 25 of 59) sorted by relevance

123

/titanic_44/usr/src/lib/libldap5/sources/ldap/common/
H A Ddisptmpl.c48 static void free_disptmpl( struct ldap_disptmpl *tmpl );
159 struct ldap_disptmpl *prevtmpl, *tmpl; in ldap_init_templates_buf() local
174 while ( buflen > 0 && ( rc = read_next_tmpl( &buf, &buflen, &tmpl, in ldap_init_templates_buf()
175 version )) == 0 && tmpl != NULLDISPTMPL ) { in ldap_init_templates_buf()
177 *tmpllistp = tmpl; in ldap_init_templates_buf()
179 prevtmpl->dt_next = tmpl; in ldap_init_templates_buf()
181 prevtmpl = tmpl; in ldap_init_templates_buf()
209 free_disptmpl( struct ldap_disptmpl *tmpl ) in free_disptmpl() argument
211 if ( tmpl != NULL ) { in free_disptmpl()
212 if ( tmpl->dt_name != NULL ) { in free_disptmpl()
[all …]
H A Dtmplout.c49 struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals,
59 static int max_label_len( struct ldap_disptmpl *tmpl );
88 struct ldap_disptmpl *tmpl, in ldap_entry2text() argument
100 return( do_entry2text( ld, buf, NULL, entry, tmpl, defattrs, defvals, in ldap_entry2text()
113 struct ldap_disptmpl *tmpl, in ldap_entry2html() argument
131 return( do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals, in ldap_entry2html()
142 struct ldap_disptmpl *tmpl, in do_entry2text() argument
193 ( tmpl == NULL ) ? "Entry" : tmpl->dt_name ); in do_entry2text()
197 eol, eol, ( tmpl == NULL ) ? "Entry" : tmpl->dt_name ); in do_entry2text()
250 if ( tmpl != NULL && ( opts & LDAP_DISP_OPT_AUTOLABELWIDTH ) != 0 ) { in do_entry2text()
[all …]
/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtemplate.c302 template_add_attributes(TEMPLATE * tmpl, in template_add_attributes() argument
329 rc = template_update_attribute(tmpl, attr); in template_add_attributes()
343 template_add_default_attributes(TEMPLATE * tmpl, in template_add_default_attributes() argument
352 rc = template_set_default_common_attributes(tmpl); in template_add_default_attributes()
360 return (data_object_set_default_attributes(tmpl, mode)); in template_add_default_attributes()
363 return (cert_x509_set_default_attributes(tmpl, mode)); in template_add_default_attributes()
370 tmpl, mode)); in template_add_default_attributes()
379 tmpl, mode)); in template_add_default_attributes()
388 tmpl, mode)); in template_add_default_attributes()
397 tmpl)); in template_add_default_attributes()
[all …]
H A Dkey.c296 key_object_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) in key_object_check_required_attributes() argument
301 found = template_attribute_find(tmpl, CKA_KEY_TYPE, &attr); in key_object_check_required_attributes()
308 return (template_check_required_base_attributes(tmpl, mode)); in key_object_check_required_attributes()
312 key_object_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) in key_object_set_default_attributes() argument
366 (void) template_update_attribute(tmpl, id_attr); in key_object_set_default_attributes()
367 (void) template_update_attribute(tmpl, sdate_attr); in key_object_set_default_attributes()
368 (void) template_update_attribute(tmpl, edate_attr); in key_object_set_default_attributes()
369 (void) template_update_attribute(tmpl, derive_attr); in key_object_set_default_attributes()
370 (void) template_update_attribute(tmpl, local_attr); in key_object_set_default_attributes()
376 key_object_validate_attribute(TEMPLATE *tmpl, in key_object_validate_attribute() argument
[all …]
H A Dhwf_obj.c296 hwf_object_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) in hwf_object_check_required_attributes() argument
301 found = template_attribute_find(tmpl, CKA_HW_FEATURE_TYPE, &attr); in hwf_object_check_required_attributes()
308 return (template_check_required_base_attributes(tmpl, mode)); in hwf_object_check_required_attributes()
312 clock_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) in clock_check_required_attributes() argument
318 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in clock_check_required_attributes()
324 return (hwf_object_check_required_attributes(tmpl, mode)); in clock_check_required_attributes()
328 counter_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) in counter_check_required_attributes() argument
334 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in counter_check_required_attributes()
339 found = template_attribute_find(tmpl, CKA_HAS_RESET, &attr); in counter_check_required_attributes()
344 found = template_attribute_find(tmpl, CKA_RESET_ON_INIT, &attr); in counter_check_required_attributes()
[all …]
H A Dcert.c305 cert_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) in cert_check_required_attributes() argument
310 if (! tmpl) in cert_check_required_attributes()
314 found = template_attribute_find(tmpl, in cert_check_required_attributes()
321 return (template_check_required_base_attributes(tmpl, mode)); in cert_check_required_attributes()
328 cert_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) in cert_validate_attribute() argument
345 template_validate_base_attribute(tmpl, attr, mode)); in cert_validate_attribute()
350 cert_x509_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) { in cert_x509_check_required_attributes() argument
354 found = template_attribute_find(tmpl, CKA_SUBJECT, &attr); in cert_x509_check_required_attributes()
358 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in cert_x509_check_required_attributes()
362 return (cert_check_required_attributes(tmpl, mode)); in cert_x509_check_required_attributes()
[all …]
H A Ddata_obj.c297 data_object_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) in data_object_check_required_attributes() argument
299 return (template_check_required_base_attributes(tmpl, mode)); in data_object_check_required_attributes()
312 data_object_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) in data_object_set_default_attributes() argument
346 (void) template_update_attribute(tmpl, class_attr); in data_object_set_default_attributes()
347 (void) template_update_attribute(tmpl, app_attr); in data_object_set_default_attributes()
348 (void) template_update_attribute(tmpl, value_attr); in data_object_set_default_attributes()
354 data_object_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, in data_object_validate_attribute() argument
366 return (template_validate_base_attribute(tmpl, attr, mode)); in data_object_validate_attribute()
H A Dobject.c429 TEMPLATE * tmpl = NULL; in object_copy() local
441 tmpl = (TEMPLATE *)malloc(sizeof (TEMPLATE)); in object_copy()
444 if (! o || ! tmpl || ! new_tmpl) { in object_copy()
450 (void) memset(tmpl, 0x0, sizeof (TEMPLATE)); in object_copy()
455 rc = template_copy(tmpl, old_obj->template); in object_copy()
471 found = template_get_class(tmpl, &class, &subclass); in object_copy()
489 rc = template_merge(tmpl, &new_tmpl); in object_copy()
494 rc = template_check_required_attributes(tmpl, class, in object_copy()
499 o->template = tmpl; in object_copy()
504 if (tmpl) in object_copy()
[all …]
/titanic_44/usr/src/cmd/mktemp/
H A Dmktemp.c55 char *tmpl; in main() local
91 tmpl = template; in main()
95 tmpl = argv[0]; in main()
105 if (strchr(tmpl, '/') != NULL) { in main()
118 len = snprintf(NULL, 0, "%s/%s", prefix, tmpl) + 1; in main()
124 (void) snprintf(tmp, len, "%s/%s", prefix, tmpl); in main()
125 tmpl = tmp; in main()
129 if (mkdtemp(tmpl) == NULL) { in main()
133 "directory: %s\n"), tmpl); in main()
138 (void) rmdir(tmpl); in main()
[all …]
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpbkdf2.c60 CK_ATTRIBUTE tmpl[3]; in krb5int_pbkdf2_hmac_sha1() local
70 tmpl[attrs].type = CKA_CLASS; in krb5int_pbkdf2_hmac_sha1()
71 tmpl[attrs].pValue = &class; in krb5int_pbkdf2_hmac_sha1()
72 tmpl[attrs].ulValueLen = sizeof (class); in krb5int_pbkdf2_hmac_sha1()
79 tmpl[attrs].type = CKA_KEY_TYPE; in krb5int_pbkdf2_hmac_sha1()
80 tmpl[attrs].pValue = &keytype; in krb5int_pbkdf2_hmac_sha1()
81 tmpl[attrs].ulValueLen = sizeof (keytype); in krb5int_pbkdf2_hmac_sha1()
94 tmpl[attrs].type = CKA_VALUE_LEN; in krb5int_pbkdf2_hmac_sha1()
97 tmpl[attrs].pValue = &outlen; in krb5int_pbkdf2_hmac_sha1()
98 tmpl[attrs].ulValueLen = sizeof (outlen); in krb5int_pbkdf2_hmac_sha1()
[all …]
/titanic_44/usr/src/cmd/ldap/common/
H A Dtmpltest.c21 void dump_tmpl( struct ldap_disptmpl *tmpl );
116 dump_tmpl( struct ldap_disptmpl *tmpl ) in dump_tmpl() argument
125 NULLSTRINGIFNULL( tmpl->dt_name ), in dump_tmpl()
126 NULLSTRINGIFNULL( tmpl->dt_pluralname ), in dump_tmpl()
127 NULLSTRINGIFNULL( tmpl->dt_iconname )); in dump_tmpl()
130 for ( ocp = tmpl->dt_oclist; ocp != NULL; ocp = ocp->oc_next ) { in dump_tmpl()
140 if ( tmpl->dt_options == 0L ) { in dump_tmpl()
143 printf( "%s %s %s\n", LDAP_IS_DISPTMPL_OPTION_SET( tmpl, in dump_tmpl()
145 LDAP_IS_DISPTMPL_OPTION_SET( tmpl, LDAP_DTMPL_OPT_ALLOWMODRDN ) in dump_tmpl()
147 LDAP_IS_DISPTMPL_OPTION_SET( tmpl, LDAP_DTMPL_OPT_ALTVIEW ) in dump_tmpl()
[all …]
/titanic_44/usr/src/cmd/fs.d/nfs/lib/
H A Dnfslogtab.c212 struct logtab_ent_list *head = NULL, *tail = NULL, *tmpl; in logtab_rement() local
233 tmpl = (struct logtab_ent_list *) in logtab_rement()
235 if (tmpl == NULL) { in logtab_rement()
240 tmpl->lel_le = lep; in logtab_rement()
241 tmpl->lel_next = NULL; in logtab_rement()
246 head = tail = tmpl; in logtab_rement()
252 tail->lel_next = tmpl; in logtab_rement()
253 tail = tmpl; /* remember the last element */ in logtab_rement()
273 for (tmpl = head; tmpl != NULL; tmpl = tmpl->lel_next) in logtab_rement()
274 (void) logtab_putent(fd, tmpl->lel_le); in logtab_rement()
/titanic_44/usr/src/uts/common/contract/
H A Dprocess.c224 ctmpl_process_set(struct ct_template *tmpl, ct_kparam_t *kparam, in ctmpl_process_set() argument
227 ctmpl_process_t *ctp = tmpl->ctmpl_data; in ctmpl_process_set()
288 EXCESS(ctp, tmpl->ctmpl_ev_crit) && in ctmpl_process_set()
290 tmpl->ctmpl_ev_info |= (tmpl->ctmpl_ev_crit & ~SAFE_EV); in ctmpl_process_set()
291 tmpl->ctmpl_ev_crit &= SAFE_EV; in ctmpl_process_set()
324 tmpl->ctmpl_ev_crit = param_value; in ctmpl_process_set()
335 if (EXCESS(ctp, tmpl->ctmpl_ev_crit) && in ctmpl_process_set()
340 tmpl->ctmpl_ev_info |= (tmpl->ctmpl_ev_crit & ~allowed); in ctmpl_process_set()
341 tmpl->ctmpl_ev_crit &= allowed; in ctmpl_process_set()
817 contract_process_create(ctmpl_process_t *tmpl, proc_t *parent, int canfail) in contract_process_create() argument
[all …]
/titanic_44/usr/src/uts/common/crypto/api/
H A Dkcf_cipher.c107 crypto_spi_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_cipher_init_prov() argument
149 &lmech, key, tmpl, KCF_SWFP_RHNDL(crq)); in crypto_cipher_init_prov()
154 &lmech, key, tmpl, KCF_SWFP_RHNDL(crq)); in crypto_cipher_init_prov()
199 mech, key, NULL, NULL, tmpl); in crypto_cipher_init_prov()
203 mech, key, NULL, NULL, tmpl); in crypto_cipher_init_prov()
230 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_cipher_init() argument
257 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { in crypto_cipher_init()
320 crypto_ctx_template_t tmpl, crypto_data_t *ciphertext, in crypto_encrypt_prov() argument
340 plaintext, ciphertext, tmpl); in crypto_encrypt_prov()
355 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext, in crypto_encrypt() argument
[all …]
H A Dkcf_sign.c47 crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, in crypto_sign_init_prov() argument
75 key, NULL, NULL, tmpl); in crypto_sign_init_prov()
92 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_sign_init() argument
118 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { in crypto_sign_init()
229 crypto_ctx_template_t tmpl, crypto_data_t *signature, in crypto_sign_prov() argument
248 key, data, signature, tmpl); in crypto_sign_prov()
258 crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, in sign_sr_atomic_common() argument
286 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { in sign_sr_atomic_common()
339 crypto_ctx_template_t tmpl, crypto_data_t *signature, in crypto_sign() argument
342 return (sign_sr_atomic_common(mech, key, data, tmpl, signature, crq, in crypto_sign()
[all …]
H A Dkcf_verify.c47 crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, in crypto_verify_init_prov() argument
75 key, NULL, NULL, tmpl); in crypto_verify_init_prov()
93 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_verify_init() argument
119 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { in crypto_verify_init()
231 crypto_ctx_template_t tmpl, crypto_data_t *signature, in crypto_verify_prov() argument
250 key, data, signature, tmpl); in crypto_verify_prov()
260 crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, in verify_vr_atomic_common() argument
288 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { in verify_vr_atomic_common()
342 crypto_ctx_template_t tmpl, crypto_data_t *signature, in crypto_verify() argument
345 return (verify_vr_atomic_common(mech, key, data, tmpl, signature, crq, in crypto_verify()
[all …]
H A Dkcf_mac.c97 crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) in crypto_mac_prov() argument
116 data, mac, tmpl); in crypto_mac_prov()
130 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, in crypto_mac() argument
158 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { in crypto_mac()
221 crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) in crypto_mac_verify_prov() argument
240 key, data, mac, tmpl); in crypto_mac_verify_prov()
254 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, in crypto_mac_verify() argument
282 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { in crypto_mac_verify()
372 crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, in crypto_mac_init_prov() argument
405 rv = KCF_PROV_MAC_INIT(real_provider, ctx, &lmech, key, tmpl, in crypto_mac_init_prov()
[all …]
/titanic_44/usr/src/uts/common/sys/crypto/
H A Dapi.h65 crypto_key_t *key, crypto_ctx_template_t *tmpl, int kmflag);
66 extern void crypto_destroy_ctx_template(crypto_ctx_template_t tmpl);
89 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac,
95 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac,
101 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *cr);
114 crypto_data_t *data, crypto_ctx_template_t tmpl,
120 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *cr);
130 crypto_ctx_template_t tmpl, crypto_context_t *, crypto_call_req_t *);
132 crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature,
142 crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature,
[all …]
/titanic_44/usr/src/cmd/cmd-inet/etc/ppp/
H A DMakefile30 ETCPROG= options.tmpl options.ttya.tmpl myisp-chat.tmpl
31 ETCPEERS= myisp.tmpl
H A Dmyisp.tmpl30 # mv /etc/ppp/options.tmpl /etc/ppp/options
31 # mv /etc/ppp/options.ttya.tmpl /etc/ppp/options.ttya
32 # mv /etc/ppp/myisp-chat.tmpl /etc/ppp/myisp-chat
33 # mv /etc/ppp/peers/myisp.tmpl /etc/ppp/peers/myisp
/titanic_44/usr/src/lib/libldap5/include/ldap/
H A Ddisptmpl.h295 struct ldap_disptmpl *tmpl );
307 ldap_tmplattrs( struct ldap_disptmpl *tmpl, char **includeattrs, int exclude,
312 ldap_first_tmplrow( struct ldap_disptmpl *tmpl );
316 ldap_next_tmplrow( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row );
320 ldap_first_tmplcol( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row );
324 ldap_next_tmplcol( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row,
330 struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals,
350 struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals,
/titanic_44/usr/src/tools/ctf/stabs/common/
H A Dctfstabs.c185 process_ifile(FILE *tmpl, proc_ops_t *ops) in process_ifile() argument
192 for (lineno = skipping = 0; (line = readline(tmpl)) != NULL; lineno++) { in process_ifile()
240 FILE *tmpl; in main() local
273 tmpl = stdin; in main()
274 else if ((tmpl = fopen(tmplfile, "r")) == NULL) in main()
296 (process_ifile(tmpl, ops) < 0) || in main()
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c1991 CK_ATTRIBUTE tmpl[5]; in soft_gen_crypt_key() local
2007 tmpl[attrs].type = CKA_CLASS; in soft_gen_crypt_key()
2008 tmpl[attrs].pValue = &class; in soft_gen_crypt_key()
2009 tmpl[attrs].ulValueLen = sizeof (class); in soft_gen_crypt_key()
2012 tmpl[attrs].type = CKA_KEY_TYPE; in soft_gen_crypt_key()
2013 tmpl[attrs].pValue = &keytype; in soft_gen_crypt_key()
2014 tmpl[attrs].ulValueLen = sizeof (keytype); in soft_gen_crypt_key()
2017 tmpl[attrs].type = CKA_ENCRYPT; in soft_gen_crypt_key()
2018 tmpl[attrs].pValue = &truevalue; in soft_gen_crypt_key()
2019 tmpl[attrs].ulValueLen = sizeof (CK_BBOOL); in soft_gen_crypt_key()
[all …]
/titanic_44/usr/src/cmd/svc/startd/
H A Dmethod.c353 int tmpl, err, istrans, iswait, ret; in method_ready_contract() local
367 tmpl = open64(CTFS_ROOT "/process/template", O_RDWR); in method_ready_contract()
368 if (tmpl == -1) in method_ready_contract()
376 err = ct_pr_tmpl_set_param(tmpl, CT_PR_INHERIT | CT_PR_REGENT | in method_ready_contract()
392 err = ct_tmpl_set_critical(tmpl, cevents); in method_ready_contract()
395 err = ct_tmpl_set_informative(tmpl, 0); in method_ready_contract()
397 err = ct_pr_tmpl_set_fatal(tmpl, fevents); in method_ready_contract()
400 err = ct_tmpl_set_cookie(tmpl, istrans ? METHOD_OTHER_COOKIE : in method_ready_contract()
405 ret = ct_pr_tmpl_set_transfer(tmpl, inst->ri_i.i_primary_ctid); in method_ready_contract()
427 err = ct_pr_tmpl_set_svc_fmri(tmpl, inst->ri_i.i_fmri); in method_ready_contract()
[all …]
/titanic_44/usr/src/cmd/sgs/packages/
H A DMakefile.targ24 pkginfo: ../common/pkginfo.tmpl awk_pkginfo
25 $(RM) $@; nawk -f awk_pkginfo ../common/$@.tmpl > $@

123