The purpose of this Pull Request is to integrate ATECC608 secure element to perform authentication of the device with the mender server. This will permit to avoid generating keys in the device and expose the private key (it will instead remains secret inside the secure element).
To achieve this integration, the platform directory architecture needs to be reworked to permit several implementation of each feature. At the same time weak implementation is added to permit user custom variant.
Particularly regarding the platform "tls" module, variants available at the end will be "mbedtls" (the current one and will remains the default), "cryptoauthlib" (library from microchip to interface secure element such as the ATECC608) and "weak" (that the developer can select to create it's own version of the variant).
The purpose of this Pull Request is to integrate ATECC608 secure element to perform authentication of the device with the mender server. This will permit to avoid generating keys in the device and expose the private key (it will instead remains secret inside the secure element).
To achieve this integration, the platform directory architecture needs to be reworked to permit several implementation of each feature. At the same time weak implementation is added to permit user custom variant.
Particularly regarding the platform "tls" module, variants available at the end will be "mbedtls" (the current one and will remains the default), "cryptoauthlib" (library from microchip to interface secure element such as the ATECC608) and "weak" (that the developer can select to create it's own version of the variant).