aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>2024-04-09 12:12:48 +0200
committerManuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>2024-04-12 12:44:40 +0200
commitdde1abd5724edd5ef5bd915a3d191b69a3ab25ba (patch)
tree7fccc626f0f6a03469e80e6bc2e541378a8d68d9
parent6c45361a9c8f927b25e2448bbb5e66ee85b6d9e0 (diff)
downloadmbedtls-dde1abd5724edd5ef5bd915a3d191b69a3ab25ba.tar.gz
Update of opaque asymmetric encrypt/decrypt
https://github.com/Mbed-TLS/mbedtls/pull/8700 merged in the meantime. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
-rw-r--r--docs/architecture/testing/driver-interface-test-strategy.md10
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/architecture/testing/driver-interface-test-strategy.md b/docs/architecture/testing/driver-interface-test-strategy.md
index f4f224b85..dfec4b378 100644
--- a/docs/architecture/testing/driver-interface-test-strategy.md
+++ b/docs/architecture/testing/driver-interface-test-strategy.md
@@ -384,8 +384,10 @@ The following entry points are declared (transparent and opaque):
The transparent driver fully implements the declared entry points, and can use
any backend: internal or libtestdriver1.
-The opaque driver is not implemented at all, neither instumentation nor the
-operation: entry points always return `NOT_SUPPORTED`.
+The opaque driver implements the declared entry points, and can use any
+backend: internal or libtestdriver1. However it does not implement the
+instrumentation (hits, forced output/status), as this [was not an immediate
+priority](https://github.com/Mbed-TLS/mbedtls/pull/8700#issuecomment-1892466159).
Note: the instrumentation also allows forcing a specific output and output
length.
@@ -528,7 +530,6 @@ we thought about something when writing the test driver, but not when writing
test functions/data.
Key management:
-- `mbedtls_test_opaque_unwrap_key()` is never called.
- `mbedtls_test_transparent_generate_key()` is not tested with RSA keys.
- `mbedtls_test_transparent_import_key()` is not tested with DH keys.
- `mbedtls_test_opaque_import_key()` is not tested with unstructured keys nor
@@ -571,9 +572,6 @@ Signature:
- `sign_hash()` is not tested with RSA-PSS
- No opaque entry point is tested (they're not implemented either).
-Asymmetric encryption:
-- No opaque entry point is tested (they're not implemented either).
-
Key agreement:
- `mbedtls_test_transparent_key_agreement()` is not tested with FFDH.
- No opaque entry point is tested (they're not implemented either).