Skip to content

Implement ZUC-EIA3, ZUC256-EEA3 and ZUC256-EIA3.

Fisher Yu requested to merge zuc256 into main

Flollow changes in this patch. 1. implement ZUC_AUTH_4, which generates N16 bytes keystream for 4 lanes, and calculates intermediate tag values. 2. Implement ZUC_AUTH256_4, which generates N16 bytes keystream for 4 lanes, and calculates intermediate tag values. 3. Implement _zuc_eia3_4_buffer, which generates 4/8/16 bytes tags according to key_size and tag_size. 4. Implement IMB_ZUC256_EEA3_N_BUFFER and IMB_ZUC256_EIA3_N_BUFFER. 5. Modify message length limitaion in ipsec-mb.h, to follow "128-EEA3 and 128-EIA3 Specification" v1.8. 6. Add test cases for zuc256-EIA3, zuc256-EEA3. 7. Reuse code from zuc_aarch64_top.c to zuc_aarch64_no_aesni_top.c, to make the code easier to maintain. 8. Unify coding style of zuc_simd.S, use TAB in assembly file.

Merge request reports