Datasheet

Table Of Contents
Figure 43-1. Return Code Status Decoding
The following table shows how the severity indicators should be decoded.
Table 43-3. Severity Indicators
Value for Bits 14–15 Severity Comment
0xC000 Severe Indicates a blocking error condition
0x8000 Warning Indicates a cautionary use of the return values
0x4000 Information Indicates the result is correct and gives information
0x0000 No error or no severity given
The following table contains the exhaustive list of all reason codes.
Table 43-4. Return Codes
Value for Bits 00–13 Severity Code Reason Code
0x0000 PUKCL_OK
0x4001 Informative PUKCL_NUMBER_IS_NOT_PRIME
0x4002 Informative PUKCL_NUMBER_IS_PRIME
0xC001 Severe PUKCL_COMPUTATION_NOT_STARTED
0xC002 Severe PUKCL_UNKNOWN_SERVICE
0xC003 Severe PUKCL_UNEXPLOITABLE_OPTIONS
0xC004 Severe PUKCL_HARDWARE_ISSUE
0xC005 Severe PUKCL_WRONG_HARDWARE
0xC006 Severe PUKCL_LIBRARY_MALFORMED
0xC007 Severe PUKCL_ERROR
0xC008 Severe PUKCL_UNKNOWN_SUBSERVICE
0xC101 Severe PUKCL_DIVISION_BY_ZERO
0xC102 Severe PUKCL_MALFORMED_MODULUS
0xC103 Severe PUKCL_FAULT_DETECTED
0xC104 Severe PUKCL_MALFORMED_KEY
SAM D5x/E5x Family Data Sheet
Public Key Cryptography Controller (PUKCC)
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1449