net/octeontx2: add security session operations
[dpdk.git] / drivers / net / ixgbe / ixgbe_ipsec.h
index c73e180..e218c0a 100644 (file)
@@ -62,7 +62,8 @@ struct ipaddr {
 /** inline crypto crypto private session structure */
 struct ixgbe_crypto_session {
        enum ixgbe_operation op;
-       uint8_t *key;
+       const uint8_t *key;
+       uint32_t key_len;
        uint32_t salt;
        uint32_t sa_index;
        uint32_t spi;