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

/osnet-11/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.c700 template_unflatten(TEMPLATE ** new_tmpl, argument
715 if (! new_tmpl || ! buf) {
824 *new_tmpl = tmpl;
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSSL.c443 CK_ATTRIBUTE_PTR new_tmpl; local
535 new_tmpl = malloc(sizeof (CK_ATTRIBUTE) * newattrcount);
537 if (new_tmpl == NULL)
542 new_tmpl = obj_tmpl;
549 new_tmpl[0].type = CKA_CLASS;
550 new_tmpl[0].pValue = &class;
551 new_tmpl[0].ulValueLen = sizeof (class);
552 new_tmpl[1].type = CKA_KEY_TYPE;
553 new_tmpl[1].pValue = &keyType;
554 new_tmpl[
649 CK_ATTRIBUTE_PTR new_tmpl; local
[all...]

Completed in 18 milliseconds