A bit of benchmarking ...

Jeremy Allison jra at samba.org
Thu Feb 28 16:52:26 UTC 2019

On Wed, Feb 27, 2019 at 03:50:45PM +0100, Andreas Schneider via samba-technical wrote:
> Hello,
> as you might have noticed from my commits, I'm working on migrating Samba to 
> GnuTLS. I've already done some work and there is still a lot ahead, but as 
> I've migrated SMB3 encryption the last days I've did a bit of benchmarking ...
> https://hackmd.io/s/S1bJnG4IN#
> callgrind output as requested by metze is here:
> https://xor.cryptomilk.org/samba/crypto/
> The numbers for gnutls could be a bit better, I need to malloc buffers and 
> memcpy vectors into them.
> Lately they added a gnutls_aead_cipher_encryptv() so we could pass in the 
> vector directly. However they don't work inplace and there is no decryptv 
> function. So I've opened bugs so we get better APIs.
> https://gitlab.com/gnutls/gnutls/issues/717
> https://gitlab.com/gnutls/gnutls/issues/718
> https://gitlab.com/gnutls/gnutls/issues/719

Oh, this looks really great Andreas - thanks !

It would be wonderful to move from any home-grown
crypto to GnuTLS for everything !

More information about the samba-technical mailing list