New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crypto: remove cryptopp library #20015
Conversation
Grepping, I see
At least the first one of those looks to be ours. Not certain about the second. There's also
...and I confess I'm a bit confused; I see it removes "security/libcryptopp" from the FreeBSD portion of install-deps.sh, but shouldn't we be removing it from the .deb and rpm builders? Or are those all configured to use nss and already don't have cryptopp at all? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway I don't know much about the details but those are the remaining instances I saw, so you appear to have pretty well killed it.
And I guess I can sign off on removing cryptopp from a project level.
So have a
Reviewed-by: Greg Farnum gfarnum@redhat.com
find_package(NSPR REQUIRED) | ||
set(CRYPTO_LIBS ${NSS_LIBRARIES} ${NSPR_LIBRARIES}) | ||
else () | ||
find_package(cryptopp REQUIRED) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we might want to remove cmake/modules/Findcryptopp.cmake
along with this line.
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
thanks, I didn't catch that one! anyhow, trying to build
I didn't see any references to cryptopp/crypto++ in ceph.spec.in or debian/*, they're both using nss unconditionally |
updated to remove the jenkins test this please |
* add Findcryptopp.cmake back cryptopp support was dropped in ceph#20015, but it's required by src/msg/async/dpdk/TCP.h, which `#include <cryptopp/md5.h>` so, to fix the FTBFS of WITH_DPDK=ON, we need to bring Findcryptopp.cmake back. it was also removed in ceph#20015. * pass "-march=core2" when building sources which include dpdk headers. i was wrong that the headers shipped by distro are generic. the headers use the sse instructions for speedup memcpy, see /usr/include/x86_64-linux-gnu/dpdk/rte_memcpy.h . * also, we need to include the arch specific include directory for building with dpdk. Signed-off-by: Kefu Chai <kchai@redhat.com>
* add Findcryptopp.cmake back cryptopp support was dropped in ceph#20015, but it's required by src/msg/async/dpdk/TCP.h, which `#include <cryptopp/md5.h>` so, to fix the FTBFS of WITH_DPDK=ON, we need to bring Findcryptopp.cmake back. it was also removed in ceph#20015. * pass "-march=core2" when building sources which include dpdk headers. i was wrong that the headers shipped by distro are generic. the headers use the sse instructions for speedup memcpy, see /usr/include/x86_64-linux-gnu/dpdk/rte_memcpy.h . * also, we need to include the arch specific include directory for building with dpdk. Signed-off-by: Kefu Chai <kchai@redhat.com>
* add Findcryptopp.cmake back cryptopp support was dropped in ceph#20015, but it's required by src/msg/async/dpdk/TCP.h, which `#include <cryptopp/md5.h>` so, to fix the FTBFS of WITH_DPDK=ON, we need to bring Findcryptopp.cmake back. it was also removed in ceph#20015. * pass "-march=core2" when building sources which include dpdk headers. i was wrong that the headers shipped by distro are generic. the headers use the sse instructions for speedup memcpy, see /usr/include/x86_64-linux-gnu/dpdk/rte_memcpy.h . * also, we need to include the arch specific include directory for building with dpdk. Signed-off-by: Kefu Chai <kchai@redhat.com>
* add Findcryptopp.cmake back cryptopp support was dropped in ceph#20015, but it's required by src/msg/async/dpdk/TCP.h, which `#include <cryptopp/md5.h>` so, to fix the FTBFS of WITH_DPDK=ON, we need to bring Findcryptopp.cmake back. it was also removed in ceph#20015. * pass "-march=core2" when building sources which include dpdk headers. i was wrong that the headers shipped by distro are generic. the headers use the sse instructions for speedup memcpy, see /usr/include/x86_64-linux-gnu/dpdk/rte_memcpy.h . * also, we need to include the arch specific include directory for building with dpdk. Signed-off-by: Kefu Chai <kchai@redhat.com>
* add Findcryptopp.cmake back cryptopp support was dropped in ceph#20015, but it's required by src/msg/async/dpdk/TCP.h, which `#include <cryptopp/md5.h>` so, to fix the FTBFS of WITH_DPDK=ON, we need to bring Findcryptopp.cmake back. it was also removed in ceph#20015. * pass "-march=core2" when building sources which include dpdk headers. i was wrong that the headers shipped by distro are generic. the headers use the sse instructions for speedup memcpy, see /usr/include/x86_64-linux-gnu/dpdk/rte_memcpy.h . * also, we need to include the arch specific include directory for building with dpdk. Signed-off-by: Kefu Chai <kchai@redhat.com>
See ceph/ceph#20015. Removed upstream in "Mimic" (ceph 13.x). Signed-off-by: Sam James <sam@gentoo.org>
our cryptopp implementation was broken with the change to c++17, and the cost of fixing it likely outweighs the utility of keeping it around