attr_hdr
struct attr_hdr *ah;
ah = (struct attr_hdr *)
ks_attr_hdr_t attr_hdr;
attr_hdr.type = SWAP64((uint64_t)extra_attr->attr.type);
attr_hdr.ulValueLen =
(void) memcpy(buf1, &attr_hdr, sizeof (ks_attr_hdr_t));
ks_attr_hdr_t *attr_hdr;
attr_hdr = (ks_attr_hdr_t *)buf;
template.type = (CK_ATTRIBUTE_TYPE)(SWAP64(attr_hdr->type));
template.ulValueLen = (CK_ULONG)(SWAP64(attr_hdr->ulValueLen));
struct attr_hdr *ah;
sizeof (struct attr_hdr)) {
ah = (struct attr_hdr *)&fe->fe_spec[ea_off];