1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Schema and script improvements

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-11 10:12:08 +05:30
committed by Asfandyar Orakzai
parent 01aa39e3ff
commit 22c7827876
6 changed files with 30 additions and 55 deletions

View File

@ -25,8 +25,7 @@
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
"default": []
},
"capabilities": {
"type": "array",
@ -43,23 +42,17 @@
"entry_points": {
"type": "array",
"items": {
"type": "string",
"enum": ["import_key", "export_key", "export_public_key",
"copy_key", "get_builtin_key"]
},
"minItems": 1,
"uniqueItems": true
"type": "string"
}
},
"name": {
"names": {
"type": "object",
"patternProperties": {
"^[A-Z_a-z][0-9A-Z_a-z]*$": {
"type": "string",
"pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$"
}
},
"minItems": 1,
"uniqueItems": true
}
}
},
"required": [

View File

@ -21,8 +21,7 @@
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
"default": []
},
"capabilities": {
"type": "array",
@ -39,23 +38,17 @@
"entry_points": {
"type": "array",
"items": {
"type": "string",
"enum": ["import_key", "export_key", "export_public_key",
"copy_key", "get_builtin_key"]
},
"minItems": 1,
"uniqueItems": true
"type": "string"
}
},
"name": {
"names": {
"type": "object",
"patternProperties": {
"^[A-Z_a-z][0-9A-Z_a-z]*$": {
"type": "string",
"pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$"
}
},
"minItems": 1,
"uniqueItems": true
}
},
"fallback": {
"type": "boolean",
@ -66,8 +59,7 @@
"entry_points"
]
}
],
"default": []
]
}
},
"required": [

View File

@ -14,7 +14,7 @@
"_comment": "The Mbed TLS opaque driver supports copy key/ get builtin key",
"mbedtls/c_depend_on": "defined(PSA_CRYPTO_DRIVER_TEST)",
"entry_points": ["copy_key", "get_builtin_key"],
"name": {"copy_key":"mbedtls_test_opaque_copy_key", "get_builtin_key":"mbedtls_test_opaque_get_builtin_key"}
"names": {"copy_key":"mbedtls_test_opaque_copy_key", "get_builtin_key":"mbedtls_test_opaque_get_builtin_key"}
}
]
}

View File

@ -15,7 +15,7 @@
"mbedtls/c_depend_on": "defined(PSA_CRYPTO_DRIVER_TEST)",
"entry_points": ["export_public_key"],
"fallback": true,
"name": {"export_public_key":"mbedtls_test_transparent_export_public_key"}
"names": {"export_public_key":"mbedtls_test_transparent_export_public_key"}
}
]