-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add asymmetric encryption to TS provider #295
Add asymmetric encryption to TS provider #295
Conversation
Adding components for creating an FFI wrapper and protobuf code, a Cargo feature, and a Docker image. Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
Add build framework
Create base of Trusted Service provider - it connects to the service and can be instantiated in the service. Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
Add TS provider
This commit adds functionality for generating and destroying keys in the Trusted Service provider. Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
Add generate and destroy key to TS provider
This commit adds functionality to the Trusted Service provider allowing it to sign and verify hashes. Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
Add asymmetric sign and verify to TS provider
This commit implements import and export public key for the Trusted Service provider. Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
Implement import and export pub key
This commit adds documentation to the structures and methods in the new Trusted Service provider. A few small fixes are also added, along with a finer-grained approach to zeroizing the key data in import_key. Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
Add docs and some fixes
|
Will wait to get CI working first |
This commit imports the TS code as a submodule and uses it to build and test the provider on the CI. Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
This commit implements proper error handling for errors originating from the TS Context. Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
This commit modifies the stress test and the stress test client to only check asymmetric encryption/decryption when they're supported by the provider. Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
Pull in TS code and build on CI
This commit adds asymmetric encryption functionality in the TS provider. It also moves the TS protobuf code in a new module given that it now contains a bunch of hand written code as well. Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
27feb4b
to
3694550
Compare
CI will fail because of some issues with the TS implementation, will keep this parked until those get resolved. |
Sorry, ended up deleting the branch without realising :] |
543aaf9
to
d78e3a3
Compare
This commit adds asymmetric encryption functionality in the TS
provider. It also moves the TS protobuf code in a new module given
that it now contains a bunch of hand written code as well.
Signed-off-by: Ionut Mihalcea ionut.mihalcea@arm.com