Searched refs:new_tmpl (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSSL.c440 CK_ATTRIBUTE_PTR new_tmpl; local
521 new_tmpl = malloc(sizeof (CK_ATTRIBUTE) * newattrcount);
523 if (new_tmpl == NULL)
528 new_tmpl = obj_tmpl;
535 new_tmpl[0].type = CKA_CLASS;
536 new_tmpl[0].pValue = &class;
537 new_tmpl[0].ulValueLen = sizeof (class);
538 new_tmpl[1].type = CKA_KEY_TYPE;
539 new_tmpl[1].pValue = &keyType;
540 new_tmpl[
635 CK_ATTRIBUTE_PTR new_tmpl; local
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobject.c430 TEMPLATE * new_tmpl = NULL; local
442 new_tmpl = (TEMPLATE *)malloc(sizeof (TEMPLATE));
444 if (! o || ! tmpl || ! new_tmpl) {
451 (void) memset(new_tmpl, 0x0, sizeof (TEMPLATE));
459 rc = template_add_attributes(new_tmpl, pTemplate, ulCount);
484 rc = template_validate_attributes(new_tmpl, class, subclass,
489 rc = template_merge(tmpl, &new_tmpl);
506 if (new_tmpl)
507 (void) template_free(new_tmpl);
712 TEMPLATE * new_tmpl; local
[all...]
H A Dtemplate.c701 template_unflatten(TEMPLATE ** new_tmpl, argument
716 if (! new_tmpl || ! buf) {
824 *new_tmpl = tmpl;

Completed in 63 milliseconds