Virgil IoT KIT
Macros
config/pc/trust_list-config.h File Reference

PC configuration : Trust List settings. More...

Go to the source code of this file.

Macros

#define VS_TL_STORAGE_SIZE   (10 * 4096)
 Maximum size of TrustList used. More...
 
#define VS_TL_STORAGE_MAX_PART_SIZE   (512)
 Maximum size of each part of TrustList. 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

PC configuration : 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 TrustList.

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 TrustList 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)