Lines Matching defs:obj_tmpl
439 CK_ATTRIBUTE obj_tmpl[MAX_DEFAULT_ATTRS];
528 new_tmpl = obj_tmpl;
634 CK_ATTRIBUTE obj_tmpl[MAX_DEFAULT_ATTRS];
773 obj_tmpl[0].type = CKA_CLASS;
774 obj_tmpl[0].pValue = &class; /* CKO_SECRET_KEY */
775 obj_tmpl[0].ulValueLen = sizeof (class);
776 obj_tmpl[1].type = CKA_KEY_TYPE;
777 obj_tmpl[1].pValue = &keyType; /* CKK_GENERIC_SECRET */
778 obj_tmpl[1].ulValueLen = sizeof (keyType);
779 obj_tmpl[2].type = CKA_DERIVE;
780 obj_tmpl[2].pValue = &true;
781 obj_tmpl[2].ulValueLen = sizeof (true);
782 obj_tmpl[3].type = CKA_SIGN;
783 obj_tmpl[3].pValue = &true;
784 obj_tmpl[3].ulValueLen = sizeof (true);
785 obj_tmpl[4].type = CKA_VERIFY;
786 obj_tmpl[4].pValue = &true;
787 obj_tmpl[4].ulValueLen = sizeof (true);
788 obj_tmpl[5].type = CKA_VALUE;
789 obj_tmpl[5].pValue = kb;
790 obj_tmpl[5].ulValueLen = mac_key_bytes;
792 rv = soft_add_derived_key(obj_tmpl, 6,
800 obj_tmpl[5].pValue = kb;
801 rv = soft_add_derived_key(obj_tmpl, 6,
822 new_tmpl = obj_tmpl;