/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | cert.c | 305 cert_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 310 if (! tmpl) 314 found = template_attribute_find(tmpl, 321 return (template_check_required_base_attributes(tmpl, mode)); 328 cert_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 345 template_validate_base_attribute(tmpl, attr, mode)); 350 cert_x509_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) { argument 354 found = template_attribute_find(tmpl, CKA_SUBJECT, &attr); 358 found = template_attribute_find(tmpl, CKA_VALUE, &attr); 362 return (cert_check_required_attributes(tmpl, mod 375 cert_x509_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 416 cert_x509_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 443 cert_vendor_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 449 cert_vendor_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument [all...] |
H A D | hwf_obj.c | 296 hwf_object_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 301 found = template_attribute_find(tmpl, CKA_HW_FEATURE_TYPE, &attr); 308 return (template_check_required_base_attributes(tmpl, mode)); 312 clock_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 318 found = template_attribute_find(tmpl, CKA_VALUE, &attr); 324 return (hwf_object_check_required_attributes(tmpl, mode)); 328 counter_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 334 found = template_attribute_find(tmpl, CKA_VALUE, &attr); 339 found = template_attribute_find(tmpl, CKA_HAS_RESET, &attr); 344 found = template_attribute_find(tmpl, CKA_RESET_ON_INI 357 hwf_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 373 clock_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 384 counter_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 401 clock_set_default_attributes(TEMPLATE *tmpl) argument 421 counter_set_default_attributes(TEMPLATE *tmpl) argument [all...] |
H A D | data_obj.c | 297 data_object_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 299 return (template_check_required_base_attributes(tmpl, mode)); 312 data_object_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 346 (void) template_update_attribute(tmpl, class_attr); 347 (void) template_update_attribute(tmpl, app_attr); 348 (void) template_update_attribute(tmpl, value_attr); 354 data_object_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, argument 366 return (template_validate_base_attribute(tmpl, attr, mode));
|
H A D | key.c | 296 key_object_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 301 found = template_attribute_find(tmpl, CKA_KEY_TYPE, &attr); 308 return (template_check_required_base_attributes(tmpl, mode)); 312 key_object_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 366 (void) template_update_attribute(tmpl, id_attr); 367 (void) template_update_attribute(tmpl, sdate_attr); 368 (void) template_update_attribute(tmpl, edate_attr); 369 (void) template_update_attribute(tmpl, derive_attr); 370 (void) template_update_attribute(tmpl, local_attr); 376 key_object_validate_attribute(TEMPLATE *tmpl, argument 402 publ_key_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 407 publ_key_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 496 publ_key_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 519 priv_key_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 524 priv_key_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 653 priv_key_unwrap(TEMPLATE *tmpl, CK_ULONG keytype, CK_BYTE *data, CK_ULONG data_len) argument 726 priv_key_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 798 secret_key_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 804 secret_key_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 948 secret_key_unwrap(TEMPLATE *tmpl, CK_ULONG keytype, CK_BYTE *data, CK_ULONG data_len, CK_BBOOL fromend) argument 1020 secret_key_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 1101 rsa_publ_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1131 rsa_publ_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1187 rsa_publ_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 1226 rsa_priv_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1309 rsa_priv_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1360 rsa_priv_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 1430 rsa_priv_wrap_get_data(TEMPLATE *tmpl, CK_BBOOL length_only, CK_BYTE **data, CK_ULONG *data_len) argument 1481 rsa_priv_unwrap(TEMPLATE *tmpl, CK_BYTE *data, CK_ULONG total_length) argument 1524 generic_secret_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1550 generic_secret_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument 1600 generic_secret_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument 1636 generic_secret_wrap_get_data(TEMPLATE * tmpl, CK_BBOOL length_only, CK_BYTE ** data, CK_ULONG * data_len) argument 1669 generic_secret_unwrap(TEMPLATE *tmpl, CK_BYTE *data, CK_ULONG data_len, CK_BBOOL fromend) argument [all...] |
H A D | template.c | 302 template_add_attributes(TEMPLATE * tmpl, argument 329 rc = template_update_attribute(tmpl, attr); 343 template_add_default_attributes(TEMPLATE * tmpl, argument 352 rc = template_set_default_common_attributes(tmpl); 360 return (data_object_set_default_attributes(tmpl, mode)); 363 return (cert_x509_set_default_attributes(tmpl, mode)); 370 tmpl, mode)); 379 tmpl, mode)); 388 tmpl, mode)); 397 tmpl)); 421 template_attribute_find(TEMPLATE * tmpl, CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE ** attr) argument 452 template_attribute_find_multiple(TEMPLATE * tmpl, ATTRIBUTE_PARSE_LIST * parselist, CK_ULONG plcount) argument 470 template_check_required_attributes(TEMPLATE * tmpl, CK_ULONG class, CK_ULONG subclass, CK_ULONG mode) argument 541 template_check_required_base_attributes(TEMPLATE * tmpl, CK_ULONG mode) argument 630 template_flatten(TEMPLATE * tmpl, CK_BYTE * dest) argument 705 TEMPLATE * tmpl = NULL; local 829 template_free(TEMPLATE *tmpl) argument 847 template_get_class(TEMPLATE * tmpl, CK_ULONG * class, CK_ULONG * subclass) argument 879 template_get_count(TEMPLATE *tmpl) argument 887 template_get_size(TEMPLATE *tmpl) argument 907 template_get_compressed_size(TEMPLATE *tmpl) argument 949 template_check_exportability(TEMPLATE *tmpl, CK_ATTRIBUTE_TYPE type) argument 1024 template_set_default_common_attributes(TEMPLATE *tmpl) argument 1076 template_update_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *new_attr) argument 1105 template_validate_attribute(TEMPLATE * tmpl, CK_ATTRIBUTE * attr, CK_ULONG class, CK_ULONG subclass, CK_ULONG mode) argument 1167 template_validate_attributes(TEMPLATE * tmpl, CK_ULONG class, CK_ULONG subclass, CK_ULONG mode) argument 1192 template_validate_base_attribute(TEMPLATE * tmpl, CK_ATTRIBUTE * attr, CK_ULONG mode) argument [all...] |
H A D | object.c | 429 TEMPLATE * tmpl = NULL; local 441 tmpl = (TEMPLATE *)malloc(sizeof (TEMPLATE)); 444 if (! o || ! tmpl || ! new_tmpl) { 450 (void) memset(tmpl, 0x0, sizeof (TEMPLATE)); 455 rc = template_copy(tmpl, old_obj->template); 471 found = template_get_class(tmpl, &class, &subclass); 489 rc = template_merge(tmpl, &new_tmpl); 494 rc = template_check_required_attributes(tmpl, class, 499 o->template = tmpl; 504 if (tmpl) 757 TEMPLATE * tmpl = NULL; local 820 TEMPLATE * tmpl = NULL; local [all...] |
/illumos-gate/usr/src/cmd/mktemp/ |
H A D | mktemp.c | 55 char *tmpl; local 91 tmpl = template; 95 tmpl = argv[0]; 105 if (strchr(tmpl, '/') != NULL) { 118 len = snprintf(NULL, 0, "%s/%s", prefix, tmpl) + 1; 124 (void) snprintf(tmp, len, "%s/%s", prefix, tmpl); 125 tmpl = tmp; 129 if (mkdtemp(tmpl) == NULL) { 133 "directory: %s\n"), tmpl); 138 (void) rmdir(tmpl); [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | pbkdf2.c | 60 CK_ATTRIBUTE tmpl[3]; local 70 tmpl[attrs].type = CKA_CLASS; 71 tmpl[attrs].pValue = &class; 72 tmpl[attrs].ulValueLen = sizeof (class); 79 tmpl[attrs].type = CKA_KEY_TYPE; 80 tmpl[attrs].pValue = &keytype; 81 tmpl[attrs].ulValueLen = sizeof (keytype); 94 tmpl[attrs].type = CKA_VALUE_LEN; 97 tmpl[attrs].pValue = &outlen; 98 tmpl[attr [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | disptmpl.c | 48 static void free_disptmpl( struct ldap_disptmpl *tmpl ); 159 struct ldap_disptmpl *prevtmpl, *tmpl; local 174 while ( buflen > 0 && ( rc = read_next_tmpl( &buf, &buflen, &tmpl, 175 version )) == 0 && tmpl != NULLDISPTMPL ) { 177 *tmpllistp = tmpl; 179 prevtmpl->dt_next = tmpl; 181 prevtmpl = tmpl; 209 free_disptmpl( struct ldap_disptmpl *tmpl ) 211 if ( tmpl != NULL ) { 212 if ( tmpl 368 ldap_next_tmplrow( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row ) argument 376 ldap_first_tmplcol( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row ) argument 384 ldap_next_tmplcol( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row, struct ldap_tmplitem *col ) argument 393 ldap_tmplattrs( struct ldap_disptmpl *tmpl, char **includeattrs, int exclude, unsigned long syntaxmask ) argument 471 struct ldap_disptmpl *tmpl = NULL; local [all...] |
H A D | tmplout.c | 49 struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, 59 static int max_label_len( struct ldap_disptmpl *tmpl ); 88 struct ldap_disptmpl *tmpl, 100 return( do_entry2text( ld, buf, NULL, entry, tmpl, defattrs, defvals, 113 struct ldap_disptmpl *tmpl, 131 return( do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals, 142 struct ldap_disptmpl *tmpl, 193 ( tmpl == NULL ) ? "Entry" : tmpl->dt_name ); 197 eol, eol, ( tmpl 84 ldap_entry2text( LDAP *ld, char *buf, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts ) argument 109 ldap_entry2html( LDAP *ld, char *buf, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts, char *base, char *urlprefix ) argument 137 do_entry2text( LDAP *ld, char *buf, char *base, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts, char *urlprefix ) argument 454 struct ldap_disptmpl *tmpl; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/etc/ppp/ |
H A D | Makefile | 30 ETCPROG= options.tmpl options.ttya.tmpl myisp-chat.tmpl 31 ETCPEERS= myisp.tmpl
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | tmpltest.c | 21 void dump_tmpl( struct ldap_disptmpl *tmpl ); 116 dump_tmpl( struct ldap_disptmpl *tmpl ) 125 NULLSTRINGIFNULL( tmpl->dt_name ), 126 NULLSTRINGIFNULL( tmpl->dt_pluralname ), 127 NULLSTRINGIFNULL( tmpl->dt_iconname )); 130 for ( ocp = tmpl->dt_oclist; ocp != NULL; ocp = ocp->oc_next ) { 140 if ( tmpl->dt_options == 0L ) { 143 printf( "%s %s %s\n", LDAP_IS_DISPTMPL_OPTION_SET( tmpl, 145 LDAP_IS_DISPTMPL_OPTION_SET( tmpl, LDAP_DTMPL_OPT_ALLOWMODRDN ) 147 LDAP_IS_DISPTMPL_OPTION_SET( tmpl, LDAP_DTMPL_OPT_ALTVIE [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfslogtab.c | 212 struct logtab_ent_list *head = NULL, *tail = NULL, *tmpl; local 233 tmpl = (struct logtab_ent_list *) 235 if (tmpl == NULL) { 240 tmpl->lel_le = lep; 241 tmpl->lel_next = NULL; 246 head = tail = tmpl; 252 tail->lel_next = tmpl; 253 tail = tmpl; /* remember the last element */ 273 for (tmpl = head; tmpl ! [all...] |
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | api.h | 65 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_ [all...] |
/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | ctfstabs.c | 185 process_ifile(FILE *tmpl, proc_ops_t *ops) argument 192 for (lineno = skipping = 0; (line = readline(tmpl)) != NULL; lineno++) { 240 FILE *tmpl; local 273 tmpl = stdin; 274 else if ((tmpl = fopen(tmplfile, "r")) == NULL) 296 (process_ifile(tmpl, ops) < 0) ||
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_sign.c | 47 crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, 75 key, NULL, NULL, tmpl); 92 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) 114 * freeing this tmpl and create a new one for the key and new SW 118 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { 229 crypto_ctx_template_t tmpl, crypto_data_t *signature, 248 key, data, signature, tmpl); 258 crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, 282 * freeing this tmpl and create a new one for the key and new SW 286 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) ! 46 crypto_sign_init_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument 91 crypto_sign_init(crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument 227 crypto_sign_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, crypto_call_req_t *crq) argument 257 sign_sr_atomic_common(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, crypto_call_req_t *crq, crypto_func_group_t fg) argument 338 crypto_sign(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, crypto_call_req_t *crq) argument 347 crypto_sign_recover_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, crypto_call_req_t *crq) argument 377 crypto_sign_recover(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, crypto_call_req_t *crq) argument 386 crypto_sign_recover_init_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument [all...] |
H A D | kcf_verify.c | 47 crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, 75 key, NULL, NULL, tmpl); 93 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) 115 * freeing this tmpl and create a new one for the key and new SW 119 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { 231 crypto_ctx_template_t tmpl, crypto_data_t *signature, 250 key, data, signature, tmpl); 260 crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, 284 * freeing this tmpl and create a new one for the key and new SW 288 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) ! 46 crypto_verify_init_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument 92 crypto_verify_init(crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument 229 crypto_verify_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, crypto_call_req_t *crq) argument 259 verify_vr_atomic_common(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, crypto_call_req_t *crq, crypto_func_group_t fg) argument 341 crypto_verify(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, crypto_ctx_template_t tmpl, crypto_data_t *signature, crypto_call_req_t *crq) argument 350 crypto_verify_recover_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *signature, crypto_ctx_template_t tmpl, crypto_data_t *data, crypto_call_req_t *crq) argument 379 crypto_verify_recover(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *signature, crypto_ctx_template_t tmpl, crypto_data_t *data, crypto_call_req_t *crq) argument 388 crypto_verify_recover_init_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument [all...] |
H A D | kcf_cipher.c | 77 * tmpl: a crypto_ctx_template_t, opaque template of a context of an 79 * 'tmpl' is created by a previous call to 91 * schedule from the context template, tmpl. 107 crypto_spi_ctx_template_t tmpl, crypto_context_t *ctxp, 149 &lmech, key, tmpl, KCF_SWFP_RHNDL(crq)); 154 &lmech, key, tmpl, KCF_SWFP_RHNDL(crq)); 199 mech, key, NULL, NULL, tmpl); 203 mech, key, NULL, NULL, tmpl); 230 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, 253 * freeing this tmpl an 105 crypto_cipher_init_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq, crypto_func_group_t func) argument 229 crypto_cipher_init(crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq, crypto_func_group_t func) argument 318 crypto_encrypt_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_data_t *plaintext, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext, crypto_call_req_t *crq) argument 354 crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext, crypto_call_req_t *crq) argument 430 crypto_encrypt_init_prov(crypto_provider_t pd, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument 445 crypto_encrypt_init(crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument 599 crypto_decrypt_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_data_t *ciphertext, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext, crypto_call_req_t *crq) argument 636 crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *ciphertext, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext, crypto_call_req_t *crq) argument 712 crypto_decrypt_init_prov(crypto_provider_t pd, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument 727 crypto_decrypt_init(crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument [all...] |
H A D | kcf_mac.c | 75 * tmpl: a crypto_ctx_template_t, opaque template of a context of a 76 * MAC with the 'mech' using 'key'. 'tmpl' is created by 97 crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) 116 data, mac, tmpl); 130 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, 154 * freeing this tmpl and create a new one for the key and new SW 158 ((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) { 221 crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) 240 key, data, mac, tmpl); 254 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_ 95 crypto_mac_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) argument 129 crypto_mac(crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) argument 219 crypto_mac_verify_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) argument 253 crypto_mac_verify(crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) argument 371 crypto_mac_init_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument 434 crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument [all...] |
H A D | kcf_ctxops.c | 127 * tmpl: an opaque crypto_ctx_template_t previously created by 139 crypto_destroy_ctx_template(crypto_ctx_template_t tmpl) argument 141 kcf_ctx_template_t *ctx_tmpl = (kcf_ctx_template_t *)tmpl;
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | disptmpl.h | 295 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,
|
/illumos-gate/usr/src/cmd/hwdata/ |
H A D | Makefile | 39 THIRDPARTYLICENSE.pciids: pci.ids THIRDPARTYLICENSE.pciids.tmpl 42 $(CAT) THIRDPARTYLICENSE.pciids.tmpl >> $@
|
/illumos-gate/usr/src/uts/common/contract/ |
H A D | process.c | 224 ctmpl_process_set(struct ct_template *tmpl, ct_kparam_t *kparam, argument 227 ctmpl_process_t *ctp = tmpl->ctmpl_data; 288 EXCESS(ctp, tmpl->ctmpl_ev_crit) && 290 tmpl->ctmpl_ev_info |= (tmpl->ctmpl_ev_crit & ~SAFE_EV); 291 tmpl->ctmpl_ev_crit &= SAFE_EV; 324 tmpl->ctmpl_ev_crit = param_value; 335 if (EXCESS(ctp, tmpl->ctmpl_ev_crit) && 340 tmpl->ctmpl_ev_info |= (tmpl 817 contract_process_create(ctmpl_process_t *tmpl, proc_t *parent, int canfail) argument 1016 ct_template_t *tmpl; local [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystore.c | 1991 CK_ATTRIBUTE tmpl[5]; local 2007 tmpl[attrs].type = CKA_CLASS; 2008 tmpl[attrs].pValue = &class; 2009 tmpl[attrs].ulValueLen = sizeof (class); 2012 tmpl[attrs].type = CKA_KEY_TYPE; 2013 tmpl[attrs].pValue = &keytype; 2014 tmpl[attrs].ulValueLen = sizeof (keytype); 2017 tmpl[attrs].type = CKA_ENCRYPT; 2018 tmpl[attrs].pValue = &truevalue; 2019 tmpl[attr 2116 CK_ATTRIBUTE tmpl[5]; local [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | method.c | 353 int tmpl, err, istrans, iswait, ret; local 367 tmpl = open64(CTFS_ROOT "/process/template", O_RDWR); 368 if (tmpl == -1) 376 err = ct_pr_tmpl_set_param(tmpl, CT_PR_INHERIT | CT_PR_REGENT | 392 err = ct_tmpl_set_critical(tmpl, cevents); 395 err = ct_tmpl_set_informative(tmpl, 0); 397 err = ct_pr_tmpl_set_fatal(tmpl, fevents); 400 err = ct_tmpl_set_cookie(tmpl, istrans ? METHOD_OTHER_COOKIE : 405 ret = ct_pr_tmpl_set_transfer(tmpl, inst->ri_i.i_primary_ctid); 427 err = ct_pr_tmpl_set_svc_fmri(tmpl, ins [all...] |