CryptoAuthLib v3.7.8
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
cryptoauthlib.library.AtcaStructure Class Reference
Inheritance diagram for cryptoauthlib.library.AtcaStructure:
cryptoauthlib.atcacert.atcacert_cert_element_t cryptoauthlib.atcacert.atcacert_cert_loc_t cryptoauthlib.atcacert.atcacert_comp_data_t cryptoauthlib.atcacert.atcacert_def_t cryptoauthlib.atcacert.atcacert_device_loc_t cryptoauthlib.device.Atecc508aConfig cryptoauthlib.device.Atecc608Config cryptoauthlib.device.Atsha204aConfig cryptoauthlib.iface.ATCAIfaceCfg cryptoauthlib.iface._ATCACUSTOM cryptoauthlib.iface._ATCAHID cryptoauthlib.iface._ATCAI2C cryptoauthlib.iface._ATCAKIT cryptoauthlib.iface._ATCASPI cryptoauthlib.iface._ATCASWI cryptoauthlib.iface._ATCAUART

Public Member Functions

None __init__ (self, *args, **kwargs)
 
def from_definition (cls)
 
def check_rationality (cls)
 
def get_field_definition (cls, str name)
 
Any __getattribute__ (self, str name)
 
def __iter__ (self)
 
def __str__ (self)
 
def to_c_code (self, name=None, **kwargs)
 
def update_from_buffer (self, buffer)
 

Detailed Description

 An extended ctypes structure to accept complex inputs 

Member Function Documentation

◆ check_rationality()

def cryptoauthlib.library.AtcaStructure.check_rationality (   cls)
Perform a rationality check on the structure definition against the expected definition by
checking structure sizes between the compiled library and the python library

◆ from_definition()

def cryptoauthlib.library.AtcaStructure.from_definition (   cls)
Trigger _field_ creation from the values provided in _def_ - must be run before the class
is instantiated