diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-11-27 01:31:19 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-11-27 01:31:19 +0100 |
commit | aa3c0e55f3bb5b3b014ecb6ab1e268fa217d56a7 (patch) | |
tree | 00d67ee5a88738d57f7721e48682c84b8caf3d9c /sys/src/cmd/vmx | |
parent | 48980502820f92ecd647d9f454513ee88f382ed7 (diff) |
libsec: optimize aesCBCencrypt()/aesCBCdecrypt()
- get rid of the temporary copies and memmoves()
- when the data pointer is aligned, do xor and copying inline
speedup for auth/aescbc encryption depends on arch:
- zynq 7% (arm)
- t23 13% (386)
- x230 20% (amd64, aes-ni)
- apu2 25% (amd64, aes-ni)
Diffstat (limited to 'sys/src/cmd/vmx')
0 files changed, 0 insertions, 0 deletions