AES crypto performance improvements

Stefan Metzmacher metze at samba.org
Fri Aug 14 13:28:37 UTC 2015


Am 13.08.2015 um 23:22 schrieb Stefan Metzmacher:
> Hi,
> 
> while debugging poor performance of our SMB3 crypto
> I developed the following performance improvements.
> 
> The aes_block_xor() improved by a factor of ~10.
> The aes_block_[r|l]shift() functions improved by 25%.
> 
> Please review and push.
> 
> The real solution will be to use hardware support,
> I've extended the work from Simo in the following branch
> https://git.samba.org/?p=metze/samba/wip.git;a=shortlog;h=refs/heads/master3-smb-crypto
> (ignore the unrelated and directly reverted commits on top)
> 
> But I'm not that happy with the abstraction yet.

There's a regression in the aes_ccm_128 optimization because that doesn't
have test cases... I'm working on it.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150814/1040509f/signature.sig>


More information about the samba-technical mailing list