summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-01-15 04:09:47 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2017-01-15 04:09:47 +0100
commite9bf14ecebd1f7b91968b10cec05620dd338ac0f (patch)
treed74732107b20c9740a818995a77aab19da10a62c /rc
parent03c44c44b014d29fc62418d6b3cf6ee920c1b6df (diff)
downloadplan9front-e9bf14ecebd1f7b91968b10cec05620dd338ac0f.tar.xz
libsec: avoid temp variables in chacha/salsa ENCRYPT() macro
given that we only pass uchar* with constant offsets to the s and d arguments of ENCRYPT(), we do not need the temporary variables sp/dp and the compiler is smart enougth to combine the const offset with the ones from GET4() and PUT4() and emit single load and store instructions for the byte accesses.
Diffstat (limited to 'rc')
0 files changed, 0 insertions, 0 deletions