Extend hash operation support

Remaining hash operations for aborting, verifying and cloning hash
operations added.

Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: If40483fe1be095145bb046d8d9fae4d0ad030931
diff --git a/protocols/service/crypto/packed-c/hash.h b/protocols/service/crypto/packed-c/hash.h
index 13ae3b9..36ed3f6 100644
--- a/protocols/service/crypto/packed-c/hash.h
+++ b/protocols/service/crypto/packed-c/hash.h
@@ -15,7 +15,7 @@
  */
 
 
-/********
+/****************************************
  * hash_setup operation definition
  */
 
@@ -31,7 +31,7 @@
   uint32_t op_handle;
 };
 
-/*********
+/****************************************
  * hash_update operation definition
  */
 
@@ -47,7 +47,7 @@
     TS_CRYPTO_HASH_UPDATE_IN_TAG_DATA  = 1
 };
 
-/*********
+/****************************************
  * hash_finish operation definition
  */
 
@@ -63,5 +63,46 @@
     TS_CRYPTO_HASH_FINISH_OUT_TAG_HASH  = 1
 };
 
+/****************************************
+ * hash_abort operation definition
+ */
+
+/* Mandatory fixed sized input parameters */
+struct __attribute__ ((__packed__)) ts_crypto_hash_abort_in
+{
+  uint32_t op_handle;
+};
+
+/****************************************
+ * hash_verify operation definition
+ */
+
+/* Mandatory fixed sized input parameters */
+struct __attribute__ ((__packed__)) ts_crypto_hash_verify_in
+{
+  uint32_t op_handle;
+};
+
+/* Variable length input parameter tags */
+enum
+{
+    TS_CRYPTO_HASH_VERIFY_IN_TAG_HASH  = 1
+};
+
+/****************************************
+ * hash_clone operation definition
+ */
+
+/* Mandatory fixed sized input parameters */
+struct __attribute__ ((__packed__)) ts_crypto_hash_clone_in
+{
+  uint32_t source_op_handle;
+};
+
+/* Mandatory fixed sized output parameters */
+struct __attribute__ ((__packed__)) ts_crypto_hash_clone_out
+{
+  uint32_t target_op_handle;
+};
 
 #endif /* TS_CRYPTO_HASH_H */