Type definitions#
Modules#
Enumerations#
Values available to all users of the manufacturing store.
Value sizes in bytes.
Typedefs#
Function pointer type for converting an application-specific value to an offset.
Function pointer type for overwriting the default read calls.
Macros#
The current version of the MFG storage.
Last version with fixed offsets
This macro defines the version number for the TLV (Type-Length-Value)
Maximum length for flash write operations in the manufacturing store.
Enumeration Documentation#
sid_pal_mfg_store_value_t#
sid_pal_mfg_store_value_t
Values available to all users of the manufacturing store.
| Enumerator | |
|---|---|
| SID_PAL_MFG_STORE_DEVID | use sid_pal_mfg_store_dev_id_get |
| SID_PAL_MFG_STORE_VERSION | Note
|
| SID_PAL_MFG_STORE_SERIAL_NUM | use sid_pal_mfg_store_dev_id_get |
| SID_PAL_MFG_STORE_SMSN | |
| SID_PAL_MFG_STORE_APP_PUB_ED25519 | |
| SID_PAL_MFG_STORE_DEVICE_PRIV_ED25519 | |
| SID_PAL_MFG_STORE_DEVICE_PUB_ED25519 | |
| SID_PAL_MFG_STORE_DEVICE_PUB_ED25519_SIGNATURE | |
| SID_PAL_MFG_STORE_DEVICE_PRIV_P256R1 | |
| SID_PAL_MFG_STORE_DEVICE_PUB_P256R1 | |
| SID_PAL_MFG_STORE_DEVICE_PUB_P256R1_SIGNATURE | |
| SID_PAL_MFG_STORE_DAK_PUB_ED25519 | |
| SID_PAL_MFG_STORE_DAK_PUB_ED25519_SIGNATURE | |
| SID_PAL_MFG_STORE_DAK_ED25519_SERIAL | |
| SID_PAL_MFG_STORE_DAK_PUB_P256R1 | |
| SID_PAL_MFG_STORE_DAK_PUB_P256R1_SIGNATURE | |
| SID_PAL_MFG_STORE_DAK_P256R1_SERIAL | |
| SID_PAL_MFG_STORE_PRODUCT_PUB_ED25519 | |
| SID_PAL_MFG_STORE_PRODUCT_PUB_ED25519_SIGNATURE | |
| SID_PAL_MFG_STORE_PRODUCT_ED25519_SERIAL | |
| SID_PAL_MFG_STORE_PRODUCT_PUB_P256R1 | |
| SID_PAL_MFG_STORE_PRODUCT_PUB_P256R1_SIGNATURE | |
| SID_PAL_MFG_STORE_PRODUCT_P256R1_SERIAL | |
| SID_PAL_MFG_STORE_MAN_PUB_ED25519 | |
| SID_PAL_MFG_STORE_MAN_PUB_ED25519_SIGNATURE | |
| SID_PAL_MFG_STORE_MAN_ED25519_SERIAL | |
| SID_PAL_MFG_STORE_MAN_PUB_P256R1 | |
| SID_PAL_MFG_STORE_MAN_PUB_P256R1_SIGNATURE | |
| SID_PAL_MFG_STORE_MAN_P256R1_SERIAL | |
| SID_PAL_MFG_STORE_SW_PUB_ED25519 | |
| SID_PAL_MFG_STORE_SW_PUB_ED25519_SIGNATURE | |
| SID_PAL_MFG_STORE_SW_ED25519_SERIAL | |
| SID_PAL_MFG_STORE_SW_PUB_P256R1 | |
| SID_PAL_MFG_STORE_SW_PUB_P256R1_SIGNATURE | |
| SID_PAL_MFG_STORE_SW_P256R1_SERIAL | |
| SID_PAL_MFG_STORE_AMZN_PUB_ED25519 | |
| SID_PAL_MFG_STORE_AMZN_PUB_P256R1 | |
| SID_PAL_MFG_STORE_APID | |
| SID_PAL_MFG_STORE_DTID | |
| SID_PAL_MFG_STORE_CORE_VALUE_MAX | Note
|
| SID_PAL_MFG_STORE_VALUE_MAX | Note
|
sid_pal_mfg_store_value_size_t#
sid_pal_mfg_store_value_size_t
Value sizes in bytes.
This enum defines the sizes of various values stored in the manufacturing store.
| Enumerator | |
|---|---|
| SID_PAL_MFG_STORE_DEVID_SIZE | |
| SID_PAL_MFG_STORE_VERSION_SIZE | |
| SID_PAL_MFG_STORE_SERIAL_NUM_SIZE | |
| SID_PAL_MFG_STORE_SMSN_SIZE | |
| SID_PAL_MFG_STORE_APP_PUB_ED25519_SIZE | |
| SID_PAL_MFG_STORE_DEVICE_PRIV_ED25519_SIZE | |
| SID_PAL_MFG_STORE_DEVICE_PUB_ED25519_SIZE | |
| SID_PAL_MFG_STORE_DEVICE_PUB_ED25519_SIGNATURE_SIZE | |
| SID_PAL_MFG_STORE_DEVICE_PRIV_P256R1_SIZE | |
| SID_PAL_MFG_STORE_DEVICE_PUB_P256R1_SIZE | |
| SID_PAL_MFG_STORE_DEVICE_PUB_P256R1_SIGNATURE_SIZE | |
| SID_PAL_MFG_STORE_DAK_PUB_ED25519_SIZE | |
| SID_PAL_MFG_STORE_DAK_PUB_ED25519_SIGNATURE_SIZE | |
| SID_PAL_MFG_STORE_DAK_ED25519_SERIAL_SIZE | |
| SID_PAL_MFG_STORE_DAK_PUB_P256R1_SIZE | |
| SID_PAL_MFG_STORE_DAK_PUB_P256R1_SIGNATURE_SIZE | |
| SID_PAL_MFG_STORE_DAK_P256R1_SERIAL_SIZE | |
| SID_PAL_MFG_STORE_PRODUCT_PUB_ED25519_SIZE | |
| SID_PAL_MFG_STORE_PRODUCT_PUB_ED25519_SIGNATURE_SIZE | |
| SID_PAL_MFG_STORE_PRODUCT_ED25519_SERIAL_SIZE | |
| SID_PAL_MFG_STORE_PRODUCT_PUB_P256R1_SIZE | |
| SID_PAL_MFG_STORE_PRODUCT_PUB_P256R1_SIGNATURE_SIZE | |
| SID_PAL_MFG_STORE_PRODUCT_P256R1_SERIAL_SIZE | |
| SID_PAL_MFG_STORE_MAN_PUB_ED25519_SIZE | |
| SID_PAL_MFG_STORE_MAN_PUB_ED25519_SIGNATURE_SIZE | |
| SID_PAL_MFG_STORE_MAN_ED25519_SERIAL_SIZE | |
| SID_PAL_MFG_STORE_MAN_PUB_P256R1_SIZE | |
| SID_PAL_MFG_STORE_MAN_PUB_P256R1_SIGNATURE_SIZE | |
| SID_PAL_MFG_STORE_MAN_P256R1_SERIAL_SIZE | |
| SID_PAL_MFG_STORE_SW_PUB_ED25519_SIZE | |
| SID_PAL_MFG_STORE_SW_PUB_ED25519_SIGNATURE_SIZE | |
| SID_PAL_MFG_STORE_SW_ED25519_SERIAL_SIZE | |
| SID_PAL_MFG_STORE_SW_PUB_P256R1_SIZE | |
| SID_PAL_MFG_STORE_SW_PUB_P256R1_SIGNATURE_SIZE | |
| SID_PAL_MFG_STORE_SW_P256R1_SERIAL_SIZE | |
| SID_PAL_MFG_STORE_AMZN_PUB_ED25519_SIZE | |
| SID_PAL_MFG_STORE_AMZN_PUB_P256R1_SIZE | |
| SID_PAL_MFG_STORE_APID_SIZE | |
| SID_PAL_MFG_STORE_DTID_SIZE | |
Typedef Documentation#
sid_pal_mfg_store_app_value_to_offset_t#
sid_pal_mfg_store_app_value_to_offset_t )(int value)
Function pointer type for converting an application-specific value to an offset.
| Type | Direction | Argument Name | Description |
|---|---|---|---|
| N/A | value | The application-specific value to be converted to an offset. |
Returns
A 32-bit unsigned integer representing the offset corresponding to the input value.
sid_pal_mfg_store_overwrite_read_t#
sid_pal_mfg_store_overwrite_read_t )(uint16_t value, uint8_t *buffer, uint16_t length)
Function pointer type for overwriting the default read calls.
| Type | Direction | Argument Name | Description |
|---|---|---|---|
| N/A | value | Enum constant for the desired value. Use values from sid_pal_mfg_store_value_t or application defined values here. | |
| N/A | buffer | Buffer to which the value will be copied. | |
| N/A | length | Length of the value in bytes. Use values from sid_pal_mfg_store_value_size_t here. |
Returns
True if the value is overwritten, otherwise false
Macro Definition Documentation#
SID_PAL_MFG_STORE_EMPTY_VERSION_NUMBER#
#define SID_PAL_MFG_STORE_EMPTY_VERSION_NUMBERValue:
0xFFFFFFFF
The current version of the MFG storage.
The version is stored during generating MFG. It can be used to migrate between different versions of MFG when changing its data structure.
SID_PAL_MFG_STORE_FIXED_OFFSETS_VERSION#
#define SID_PAL_MFG_STORE_FIXED_OFFSETS_VERSIONValue:
7
Last version with fixed offsets
SID_PAL_MFG_STORE_TLV_VERSION#
#define SID_PAL_MFG_STORE_TLV_VERSIONValue:
8
This macro defines the version number for the TLV (Type-Length-Value)
SID_PAL_MFG_STORE_MAX_FLASH_WRITE_LEN#
#define SID_PAL_MFG_STORE_MAX_FLASH_WRITE_LENValue:
64
Maximum length for flash write operations in the manufacturing store.
This macro defines the maximum number of bytes that can be written to the flash memory in a single write operation within the manufacturing store.
Note
This value is set to 64 bytes.