FreeAttributes

Synopsis

void FreeAttributes(
CK_ATTRIBUTE_PTR attr,
CK_COUNT attrCount);

Description

Free all attributes contained in the attribute array, then free the array itself.  This function also explicitly writes 0xaa to the memory to be freed before freeing.

Parameters

attr

Attribute array to free

attrCount

Number of attributes in the array