Re: base OpenSSL is much, much slower than the package

Joerg Sonnenberger <[email protected]> Sat, 9 May 2020 17:30:18 +0200
Newsgroups gmane.os.netbsd.devel.security,gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
On Sat, May 09, 2020 at 03:25:25PM +0000, nia wrote:
> On Sat, May 09, 2020 at 01:13:44PM +0000, nia wrote:
> > Right, yes, the CPUID stuff wasn't being defined when builing EVP which
> > meant the dumb asm implementation was being used instead of HW/VP/BSAES.
> > 
> > That's fixed now. Everything else appears to still be slightly slower,
> > but that's less critical than the AES implementation.
> 
> ... and SHA2 is slower because we're patching OpenSSL to use the libc
> implementation, which is pure C. Any reason for this?

ABI differences.

Joerg