Add provisioning support to attestation service provider
Adds operations to enable the IAK to be provisioned into a device
during manufacture. Two provisioning strategies are supported,
self-generate IAK on first run and import externally generated
IAK. Test cases run through each provisioning flow.
Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: I6708b064b31ef7749d5ecac24c86af6411cdc7c2
diff --git a/protocols/service/attestation/packed-c/opcodes.h b/protocols/service/attestation/packed-c/opcodes.h
index 62a7617..3484e1b 100644
--- a/protocols/service/attestation/packed-c/opcodes.h
+++ b/protocols/service/attestation/packed-c/opcodes.h
@@ -9,8 +9,10 @@
/* C/C++ definition of attestation service opcodes
*/
-#define TS_ATTESTATION_OPCODE_NOP (0x0000)
+
#define TS_ATTESTATION_OPCODE_GET_TOKEN (0x0001)
#define TS_ATTESTATION_OPCODE_GET_TOKEN_SIZE (0x0002)
+#define TS_ATTESTATION_OPCODE_EXPORT_IAK_PUBLIC_KEY (0x0003)
+#define TS_ATTESTATION_OPCODE_IMPORT_IAK (0x0004)
#endif /* TS_ATTESTATION_OPCODES_H */