cryptodev: do not use AAD in wireless algorithms
[dpdk.git] / drivers / crypto / snow3g / rte_snow3g_pmd_ops.c
index e0fb3cc..3f02683 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  *
- *   Copyright(c) 2016 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2016-2017 Intel Corporation. All rights reserved.
  *
  *   Redistribution and use in source and binary forms, with or without
  *   modification, are permitted provided that the following conditions
@@ -56,11 +56,12 @@ static const struct rte_cryptodev_capabilities snow3g_pmd_capabilities[] = {
                                        .max = 4,
                                        .increment = 0
                                },
-                               .aad_size = {
+                               .iv_size = {
                                        .min = 16,
                                        .max = 16,
                                        .increment = 0
-                               }
+                               },
+                               .aad_size = { 0 }
                        }, }
                }, }
        },
@@ -89,7 +90,8 @@ static const struct rte_cryptodev_capabilities snow3g_pmd_capabilities[] = {
 
 /** Configure device */
 static int
-snow3g_pmd_config(__rte_unused struct rte_cryptodev *dev)
+snow3g_pmd_config(__rte_unused struct rte_cryptodev *dev,
+               __rte_unused struct rte_cryptodev_config *config)
 {
        return 0;
 }