Description: AES encryption process operates on a 44 byte matrix, this matrix is also known as " body (state), its initial value is a plaintext block (matrix element size is expressly block Byte ). (Rijndael encryption support larger blocks, the number of rows of the matrix, depending on the circumstances increase) encryption, each round of AES encryption cycle (except for the last one) contains four steps: 1.AddRoundKey- matrix a byte with the second leg (round key), key do XOR operation each sub-key generated by the key generation program. 2.SubBytes- replaced by a non-linear function using a lookup table of each byte is replaced by the corresponding byte. 3.ShiftRows- each row of the matrix is a cyclic shift. 4.MixColumns- to be sufficiently mixed in the matrix, the operation of the respective straight. This step uses the linear conversion by mixing the four bytes of each inline. The last encryption cycle MixColumns step is omitted, and substituted with another A
To Search:
File list (Check if you may need any files):
AES算法\aes.c
.......\aes_tab.c
AES算法