Add secure storage service docs
Adds a description of the secure storage service. Also updates and
fixes a few other documentation niggles.
Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: Ie212cc12344f71a2ef2f9d683a967b0433acf866
diff --git a/docs/developer/service-descriptions/uml/InternalTrustedDeploymentDiagram.puml b/docs/developer/service-descriptions/uml/InternalTrustedDeploymentDiagram.puml
new file mode 100644
index 0000000..13d26b0
--- /dev/null
+++ b/docs/developer/service-descriptions/uml/InternalTrustedDeploymentDiagram.puml
@@ -0,0 +1,20 @@
+'-------------------------------------------------------------------------------
+' Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
+'
+' SPDX-License-Identifier: BSD-3-Clause
+'
+'-------------------------------------------------------------------------------
+
+@startuml
+
+node crypto_sp {
+ [its_frontend] -> [secure_storage_client]
+}
+
+node internal_trusted_store_sp {
+ [secure_storage_provider] -> [secure_flash_store]
+}
+
+[secure_storage_client] -> [secure_storage_provider]
+
+@enduml
\ No newline at end of file
diff --git a/docs/developer/service-descriptions/uml/ProtectedProxyDeploymentDiagram.puml b/docs/developer/service-descriptions/uml/ProtectedProxyDeploymentDiagram.puml
new file mode 100644
index 0000000..a6d5c14
--- /dev/null
+++ b/docs/developer/service-descriptions/uml/ProtectedProxyDeploymentDiagram.puml
@@ -0,0 +1,25 @@
+'-------------------------------------------------------------------------------
+' Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
+'
+' SPDX-License-Identifier: BSD-3-Clause
+'
+'-------------------------------------------------------------------------------
+
+@startuml
+
+node crypto_sp {
+ [its_frontend:0] -> [secure_storage_client:0]
+}
+
+node protected_store_sp {
+ [secure_storage_provider:1] -> [secure_storage_client:1]
+}
+
+node sel1_sp {
+ [secure_storage_provider:2] -> [optee_store:2]
+}
+
+[secure_storage_client:0] -> [secure_storage_provider:1]
+[secure_storage_client:1] -> [secure_storage_provider:2]
+
+@enduml
\ No newline at end of file
diff --git a/docs/developer/service-descriptions/uml/SecureStorageClassDiagram.puml b/docs/developer/service-descriptions/uml/SecureStorageClassDiagram.puml
new file mode 100644
index 0000000..60177eb
--- /dev/null
+++ b/docs/developer/service-descriptions/uml/SecureStorageClassDiagram.puml
@@ -0,0 +1,28 @@
+'-------------------------------------------------------------------------------
+' Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
+'
+' SPDX-License-Identifier: BSD-3-Clause
+'
+'-------------------------------------------------------------------------------
+
+@startuml
+
+interface storage_backend
+{
+ +{abstract} set()
+ +{abstract} get()
+ +{abstract} get_info()
+ +{abstract} remove()
+ +{abstract} create()
+ +{abstract} set_extended()
+}
+
+secure_flash_store -u--|> storage_backend
+secure_storage_client -u--|> storage_backend
+null_store -u--|> storage_backend
+
+secure_storage_provider -d--> storage_backend
+its_frontend -d--> storage_backend
+ps_frontend -d--> storage_backend
+
+@enduml
\ No newline at end of file