ATECC508A.DataZone.lock
You're seeing just the function
lock
, go back to ATECC508A.DataZone module for more information.
Specs
lock(ATECC508A.Transport.t(), ATECC508A.crc16()) :: :ok | {:error, atom()}
Lock the data and OTP zones.
The expected contents concatenated together for the non-private key data slots and the OTP need to be passed for a CRC calculation. They are not written by design. The logic is that this is a final chance before it's too late to check that the device is programmed correctly.