Skip to content
Commit b16fa488 authored by Pablo de Lara's avatar Pablo de Lara Committed by De Lara Guarch, Pablo
Browse files

Optimize ZUC-EEA3 for non-64 byte multiple buffers

When encrypting/decrypting buffers that are not 64-byte multiple long,
the remaining last bytes (less than 64 bytes) were calculated
by generating 64 bytes of keystream.

Instead, less keystream can be generated (in multiple of 4 bytes,
which is the size of a ZUC word), saving extra cycles.
parent 3deb3a2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment