1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Update and document mbedtls extensions

Signed-off-by: Archana <archana.madhavan@silabs.com>
Signed-off-by: Asfandyar Orakzai <asfandyar.orakzai@silabs.com>
This commit is contained in:
Archana
2022-04-14 09:31:28 +05:30
committed by Asfandyar Orakzai
parent 1776dd9022
commit a2cac3224d
8 changed files with 21 additions and 15 deletions

View File

@ -17,7 +17,7 @@
"type": ["integer","string"],
"pattern": "^(0x|0X)?[a-fA-F0-9]+$"
},
"mbedtls/h_depend_on": {
"mbedtls/h_condition": {
"type": "string"
},
"headers": {
@ -36,7 +36,7 @@
"_comment": {
"type": "string"
},
"mbedtls/c_depend_on": {
"mbedtls/c_condition": {
"type": "string"
},
"entry_points": {

View File

@ -13,7 +13,7 @@
"type": "string",
"const": ["transparent"]
},
"mbedtls/h_depend_on": {
"mbedtls/h_condition": {
"type": "string"
},
"headers": {
@ -32,7 +32,7 @@
"_comment": {
"type": "string"
},
"mbedtls/c_depend_on": {
"mbedtls/c_condition": {
"type": "string"
},
"entry_points": {

View File

@ -2,17 +2,17 @@
"prefix": "mbedtls_test",
"type": "opaque",
"location": "0x7fffff",
"mbedtls/h_depend_on": "defined(PSA_CRYPTO_DRIVER_TEST)",
"mbedtls/h_condition": "defined(PSA_CRYPTO_DRIVER_TEST)",
"headers": ["test/drivers/test_driver.h"],
"capabilities": [
{
"_comment": "The Mbed TLS opaque driver supports import key/export key/export_public key",
"mbedtls/c_depend_on": "defined(PSA_CRYPTO_DRIVER_TEST)",
"mbedtls/c_condition": "defined(PSA_CRYPTO_DRIVER_TEST)",
"entry_points": ["import_key", "export_key", "export_public_key"]
},
{
"_comment": "The Mbed TLS opaque driver supports copy key/ get builtin key",
"mbedtls/c_depend_on": "defined(PSA_CRYPTO_DRIVER_TEST)",
"mbedtls/c_condition": "defined(PSA_CRYPTO_DRIVER_TEST)",
"entry_points": ["copy_key", "get_builtin_key"],
"names": {"copy_key":"mbedtls_test_opaque_copy_key", "get_builtin_key":"mbedtls_test_opaque_get_builtin_key"}
}

View File

@ -1,18 +1,18 @@
{
"prefix": "mbedtls_test",
"type": "transparent",
"mbedtls/h_depend_on": "defined(PSA_CRYPTO_DRIVER_TEST)",
"mbedtls/h_condition": "defined(PSA_CRYPTO_DRIVER_TEST)",
"headers": ["test/drivers/test_driver.h"],
"capabilities": [
{
"_comment": "The Mbed TLS transparent driver supports import key/export key",
"mbedtls/c_depend_on": "defined(PSA_CRYPTO_DRIVER_TEST)",
"mbedtls/c_condition": "defined(PSA_CRYPTO_DRIVER_TEST)",
"entry_points": ["import_key", "export_key"],
"fallback": true
},
{
"_comment": "The Mbed TLS transparent driver supports export_public key",
"mbedtls/c_depend_on": "defined(PSA_CRYPTO_DRIVER_TEST)",
"mbedtls/c_condition": "defined(PSA_CRYPTO_DRIVER_TEST)",
"entry_points": ["export_public_key"],
"fallback": true,
"names": {"export_public_key":"mbedtls_test_transparent_export_public_key"}