Name Description Size
info.txt 81
sm4.cpp SM4_SBOX_T[j] == L(SM4_SBOX[j]). Each entry has the form 0xXXYYZZZZ where ZZ = XX ^ YY; can we take advantage of this to create a smaller equivalent table? Additionally YY differs from SBOX[i] by at most 3 (64x 0, 96x 1, 64x 2, 32x 3) 14877
sm4.h SM4 1593
sm4_armv8
sm4_gfni
sm4_x86