X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_cryptodev%2Frte_crypto_sym.h;h=db594c82f5f8532dab5ee0c963e7f4d97958d7a2;hb=5082f991f6def0ef06e9ff1cf9f39ef3b78657c5;hp=1e7f8629f9ab9f37f06248612abb2c6b86975ab9;hpb=dad71e9958e62b61cf4edf16d716d38738ead20e;p=dpdk.git diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h index 1e7f8629f9..db594c82f5 100644 --- a/lib/librte_cryptodev/rte_crypto_sym.h +++ b/lib/librte_cryptodev/rte_crypto_sym.h @@ -464,8 +464,10 @@ struct rte_crypto_sym_op { } data; /**< Data offsets and length for ciphering */ struct { - uint8_t *data; - /**< Initialisation Vector or Counter. + uint16_t offset; + /**< Starting point for Initialisation Vector or Counter, + * specified as number of bytes from start of crypto + * operation. * * - For block ciphers in CBC or F8 mode, or for KASUMI * in F8 mode, or for SNOW 3G in UEA2 mode, this is the @@ -491,7 +493,6 @@ struct rte_crypto_sym_op { * For optimum performance, the data pointed to SHOULD * be 8-byte aligned. */ - phys_addr_t phys_addr; uint16_t length; /**< Length of valid IV data. *