Searched refs:resetoninit_attr (Results 1 – 1 of 1) sorted by relevance
425 CK_ATTRIBUTE *resetoninit_attr; in counter_set_default_attributes() local430 resetoninit_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in counter_set_default_attributes()433 if (! value_attr || ! hasreset_attr || ! resetoninit_attr) { in counter_set_default_attributes()436 if (resetoninit_attr) free(resetoninit_attr); in counter_set_default_attributes()451 resetoninit_attr->type = CKA_RESET_ON_INIT; in counter_set_default_attributes()452 resetoninit_attr->ulValueLen = sizeof (CK_BBOOL); in counter_set_default_attributes()453 resetoninit_attr->pValue = (CK_BYTE *)resetoninit_attr + in counter_set_default_attributes()455 *(CK_BBOOL *)resetoninit_attr->pValue = FALSE; in counter_set_default_attributes()459 (void) template_update_attribute(tmpl, resetoninit_attr); in counter_set_default_attributes()