X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_cryptodev%2Frte_crypto_sym.h;h=58a33b8e60974ed65225e99ae495d9d0fd47a817;hb=f7a58af502e08368a267886535367f205d4a5de6;hp=27439af7e71ba01f1eda51ec1189ce50a9d6252d;hpb=799dea57838a89fd447d2208dff035f7307ffb85;p=dpdk.git diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h index 27439af7e7..58a33b8e60 100644 --- a/lib/librte_cryptodev/rte_crypto_sym.h +++ b/lib/librte_cryptodev/rte_crypto_sym.h @@ -315,17 +315,6 @@ struct rte_crypto_auth_xform { * (for example RFC 2104, FIPS 198a). */ - uint16_t digest_length; - /**< Length of the digest to be returned. If the verify option is set, - * this specifies the length of the digest to be compared for the - * session. - * - * It is the caller's responsibility to ensure that the - * digest length is compliant with the hash algorithm being used. - * If the value is less than the maximum length allowed by the hash, - * the result shall be truncated. - */ - struct { uint16_t offset; /**< Starting point for Initialisation Vector or Counter, @@ -353,6 +342,17 @@ struct rte_crypto_auth_xform { * */ } iv; /**< Initialisation vector parameters */ + + uint16_t digest_length; + /**< Length of the digest to be returned. If the verify option is set, + * this specifies the length of the digest to be compared for the + * session. + * + * It is the caller's responsibility to ensure that the + * digest length is compliant with the hash algorithm being used. + * If the value is less than the maximum length allowed by the hash, + * the result shall be truncated. + */ }; @@ -426,7 +426,7 @@ struct rte_crypto_aead_xform { uint16_t digest_length; - uint16_t add_auth_data_length; + uint16_t aad_length; /**< The length of the additional authenticated data (AAD) in bytes. */ };