[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linking coreutils against OpenSSL



On Fri, Nov 10, 2023 at 11:25:34AM +0900, Simon Richter wrote:
> Hi,
> 
> > What would you think about having coreutils Depend on libssl3? This
> > would make the libssl3 package essential, which is potentially
> > undesirable, but it also has the potential for serious user time savings
> > (on recent Intel CPUs, OpenSSL’s SHA-256 is over five times faster than
> > coreutils’ internal implementation).
> 
> That is only on amd64 though.
> 
> On ARM and riscv64, OpenSSL is slightly slower than coreutils' sha256sum, so
> this would introduce an additional dependency and degrade performance. The
> best choice there is the kernel crypto API, which knows about offload
> hardware and special CPU instructions, both of which are common.

OpenSSL should have the same hardware acceleration features as the
kernel crypto API, without the socket overhead.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: