[qca-nss-drv] Add new APIs for type specific msg init

Add new APIs for type specific msg init which inturn would
call the nss_cmn_msg_init().

Change-Id: I8cad8d3f69beef5c968b1bd09810916bbe9fc80f
Signed-off-by: Sundarajan Srinivasan <sundaraj@codeaurora.org>
diff --git a/nss_crypto.c b/nss_crypto.c
index d9fd467..1dbc943 100644
--- a/nss_crypto.c
+++ b/nss_crypto.c
@@ -306,9 +306,20 @@
 	nss_core_register_handler(NSS_CRYPTO_INTERFACE, nss_crypto_msg_handler, NULL);
 }
 
+/*
+ * nss_crypto_msg_init()
+ *	Initialize crypto message
+ */
+void nss_crypto_msg_init(struct nss_crypto_msg *ncm, uint16_t if_num, uint32_t type, uint32_t len,
+				nss_crypto_msg_callback_t *cb, void *app_data)
+{
+	nss_cmn_msg_init(&ncm->cm, if_num, type, len, (void *)cb, app_data);
+}
+
 EXPORT_SYMBOL(nss_crypto_notify_register);
 EXPORT_SYMBOL(nss_crypto_notify_unregister);
 EXPORT_SYMBOL(nss_crypto_data_register);
 EXPORT_SYMBOL(nss_crypto_data_unregister);
 EXPORT_SYMBOL(nss_crypto_tx_msg);
 EXPORT_SYMBOL(nss_crypto_tx_buf);
+EXPORT_SYMBOL(nss_crypto_msg_init);