cryptodev: include dependency in asym header
[dpdk.git] / lib / librte_cryptodev / rte_crypto_asym.h
index 0a50cd5..a55923a 100644 (file)
@@ -25,6 +25,8 @@ extern "C" {
 #include <rte_mempool.h>
 #include <rte_common.h>
 
+#include "rte_crypto_sym.h"
+
 typedef struct rte_crypto_param_t {
        uint8_t *data;
        /**< pointer to buffer holding data */
@@ -339,6 +341,16 @@ struct rte_crypto_mod_op_param {
         * be relatively prime to modulus in corresponding Modular
         * Multiplicative Inverse rte_crypto_modinv_xform
         */
+
+       rte_crypto_param result;
+       /**<
+        * Pointer to the result of modular exponentiation/multiplicative inverse
+        * data in octet-string network byte order format.
+        *
+        * This field shall be big enough to hold the result of Modular
+        * Exponentiation or Modular Multplicative Inverse
+        * (bigger or equal to length of modulus)
+        */
 };
 
 /**
@@ -500,7 +512,7 @@ struct rte_crypto_asym_op {
                struct rte_crypto_dh_op_param dh;
                struct rte_crypto_dsa_op_param dsa;
        };
-} __rte_cache_aligned;
+};
 
 #ifdef __cplusplus
 }