From 6c3b1a760a1b17c52112b08e52f34de25328b435 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 7 Feb 2022 16:29:04 +0100 Subject: [PATCH] Allow comments in driver descriptions Signed-off-by: Gilles Peskine --- docs/proposed/psa-driver-interface.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/proposed/psa-driver-interface.md b/docs/proposed/psa-driver-interface.md index 125a415f4..ccf10fceb 100644 --- a/docs/proposed/psa-driver-interface.md +++ b/docs/proposed/psa-driver-interface.md @@ -60,6 +60,8 @@ How to provide the driver description file, the C header files and the object co The concrete syntax for a driver description file is JSON. +In addition to the properties described here, any JSON object may have a property called `"_comment"` of type string, which will be ignored. + #### Driver description list PSA Cryptography core implementations should support multiple drivers. The driver description files are passed to the implementation as an ordered list in an unspecified manner. This may be, for example, a list of file names passed on a command line, or a JSON list whose elements are individual driver descriptions.