aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jang <josephjang@google.com>2022-04-15 16:50:10 +0800
committerJoseph Jang <josephjang@google.com>2022-07-07 23:00:39 +0000
commit3c1de3e64c35e27323ee4873f22fca697936fe77 (patch)
tree2080da723ac9592730967f179c9b4c868053959d
parent37da41cebeaefd4ad24320b6be60aaefce9a01ee (diff)
downloadgeneric-3c1de3e64c35e27323ee4873f22fca697936fe77.tar.gz
nugget: Add support noise handshake state report
Add a command to report noise handshake state to Suez backend server Bug: 228796951 Change-Id: I87e8f27c26b5b729f814155512fa347dcdb12eba Reviewed-on: https://nugget-os-review.googlesource.com/c/host/generic/+/51324 Reviewed-by: Brian Murray <brianjmurray@google.com> Presubmit-Verified: TreeHugger Robot <android-build-prod@system.gserviceaccount.com>
-rw-r--r--nugget/include/app_nugget.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/nugget/include/app_nugget.h b/nugget/include/app_nugget.h
index d6342ff..cd8bf33 100644
--- a/nugget/include/app_nugget.h
+++ b/nugget/include/app_nugget.h
@@ -551,8 +551,18 @@ struct secure_channel_retry_count_persist_storage {
*
* @param args GSA EC public_key + AES_GCM256("MSGA") + AES_GSC_TAG
* @param arg_len 64 + 4 + 16 bytes = 84
- * @param reply GSC EC public_key + AES_GCM256("MSGB") + AES_GSC_TAG
- * @param reply_len 64 + 4 + 16 bytes = 84
+ * @param reply GSC EC public_key + AES_GCM256("MSGB") + AES_GSC_TAG OR 1 byte error state
+ * @param reply_len 64 + 4 + 16 bytes = 84 OR 1
+ */
+
+#define NUGGET_PARAM_SECURE_TRANSPORT_REPORT_STATE 0x001a
+/*
+ * Secure transport report noise handshake state command
+ *
+ * @param args GSA noise handshake state
+ * @param arg_len 1
+ * @param reply <none>
+ * @param reply_len 0
*/
/****************************************************************************/