Added crypto callback functions for TROPIC01 secure element
Description
Added support for the TROPIC01 secure element via the callback function Tropic01_CryptoCb Within this function, there is an implementation of the following algo_type:
-
WC_ALGO_TYPE_RNG
-
WC_ALGO_TYPE_SEED
-
WC_ALGO_TYPE_PK (TROPIC01 is used as a secure keys storage) 3.1. WC_PK_TYPE_ED25519_KEYGEN 3.2. WC_PK_TYPE_ED25519_SIGN 3.3. WC_PK_TYPE_ED25519_VERIFY
-
WC_ALGO_TYPE_CIPHER (TROPIC01 is used as a secure keys storage) 4.1. WC_CIPHER_AES_GCM 4.2. WC_CIPHER_AES_CBC
Testing
For the testing, we have developed and used a dedicated test application, which is available here https://github.com/tropicsquare/tropic01-wolfssl-test This application can be built and run on the following target platforms:
- Linux PC + TROPIC01 USB stick
- Raspberry PI 4/5/6 + TROPIC01 RPI shield
Checklist
- [ ] added tests
- [ ] updated/added doxygen
- [ x] updated appropriate READMEs
- [ ] Updated manual and documentation
Can one of the admins verify this patch?
Hello @kosmax871
Thanks for this excellent PR! Could you tell us a bit about your project and goals using wolfSSL? We require a signed contributor agreement to be in place before we can accept third party code. Could you please send an email to support @ wolfssl.com and I will help you get started with that process.
Kind regards, @embhorn - wolfSSL Support
Okay to test. Contributor Agreement approved and on file.
Jenkins "Retest this please": "Found unhandled org.jenkinsci.plugins.workflow.support.steps.AgentOfflineException exception:"
Retest this please: "Found unhandled org.jenkinsci.plugins.workflow.support.steps.AgentOfflineException exception:"
Retest this please "Agent offline"
Merging with the openssh failure (not related). That was fixed in PR 8879