Virgil IoT KIT
Macros
integration/platformio/include/config/platforms/win32/trust_list-config.h File Reference

Trust List settings. More...

Go to the source code of this file.

Macros

#define VS_TL_STORAGE_SIZE   (10 * 4096)
 Maximum size of trust list used. More...
 
#define VS_TL_STORAGE_MAX_PART_SIZE   (512)
 Maximum size of each part of trust list. More...
 
#define VS_TL_SIGNATURES_QTY   (2)
 Minimum quantity of required signatures, which must be in TL footer. More...
 
#define VS_TL_SIGNER_TYPE_LIST
 List of signer types, which must be among signatures in TL footer. More...
 

Detailed Description

Trust List settings.

This file provides defines that set up Trust List behavior.

Macro Definition Documentation

◆ VS_TL_SIGNATURES_QTY

#define VS_TL_SIGNATURES_QTY   (2)

Minimum quantity of required signatures, which must be in TL footer.

◆ VS_TL_SIGNER_TYPE_LIST

#define VS_TL_SIGNER_TYPE_LIST
Value:
{ \
VS_KEY_AUTH, \
VS_KEY_TRUSTLIST \
}

List of signer types, which must be among signatures in TL footer.

Quantity MUST be equal to VS_TL_SIGNATURES_QTY It's values of vs_key_type_e from provision library

◆ VS_TL_STORAGE_MAX_PART_SIZE

#define VS_TL_STORAGE_MAX_PART_SIZE   (512)

Maximum size of each part of trust list.

It should be not less than max size of tl header, tl footer and tl public key

◆ VS_TL_STORAGE_SIZE

#define VS_TL_STORAGE_SIZE   (10 * 4096)

Maximum size of trust list used.

Please note that library uses three type of storage, so you need have at least VS_TL_STORAGE_SIZE * 3 memory size (excluding filesystem)