def set_index(self, index): """ Select the requested NVRAM storage area index :param index: The storage area index to select """ tss_lib.Tspi_SetAttribUint32(self.handle[0], tss_lib.TSS_TSPATTRIB_NV_INDEX, 0, index)
def set_attribute_uint32(self, attrib, sub, val): """ Set a 32 bit attribute associated with a given object :param attrib: The attribute to modify :param sub: The subattribute to modify :param val: The value to assign """ tss_lib.Tspi_SetAttribUint32(self.get_handle(), attrib, sub, val)