On 30.03.2017 16:58, Petri Savolainen wrote: > diff --git a/platform/linux-generic/odp_crypto.c > b/platform/linux-generic/odp_crypto.c > index 2ba504b..228e598 100644 > --- a/platform/linux-generic/odp_crypto.c > +++ b/platform/linux-generic/odp_crypto.c > @@ -644,12 +644,13 @@ int odp_crypto_capability(odp_crypto_capability_t *capa) > capa->auths.bit.sha512_hmac = 0; > capa->auths.bit.aes_gcm = 1; > > - /* Deprecated */ > +#if ODP_DEPRECATED_API > capa->ciphers.bit.aes128_cbc = 1; > capa->ciphers.bit.aes128_gcm = 1; > capa->auths.bit.md5_96 = 1; > capa->auths.bit.sha256_128 = 1; > capa->auths.bit.aes128_gcm = 1; > +#endif
I thought that we can write this instead as capa->ciphers.bit.ODP_DEPRECATED(aes128_cbc) = 1; capa->ciphers.bit.ODP_DEPRECATED(aes128_gcm) = 1; capa->auths.bit.ODP_DEPRECATED(md5_96) = 1; capa->auths.bit.ODP_DEPRECATED(sha256_128) = 1; capa->auths.bit.ODP_DEPRECATED(aes128_gcm) = 1; (same applies to other places inside odp_crypto.c). However we can change this later if we see point in it (or maybe a suggestion from distro guys). I'd propose to merge this series as is. So, for the whole patchset: Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> -- With best wishes Dmitry