词条 | Rijndael key schedule | ||||||||||||||||||||||
释义 |
AES (Rijndael) uses a key schedule to expand a short key into a number of separate round keys. This is known as the Rijndael key schedule. The three AES variants have a different number of rounds. Each variant requires a separate 128-bit round key for each round plus one more. The key schedule produces the needed round keys from the initial key. Round constants
The round constant {{mvar|rconi}} for round {{mvar|i}} of the key expansion is the 32-bit word: where {{mvar|rci}} is an eight-bit value defined as: where is the bitwise XOR operator and constants such as {{math|0016}} and {{math|11B16}} are given in hexadecimal. Equivalently: where the bits of {{mvar|rci}} are treated as the coefficients of an element of the finite field , so that e.g. represents the polynomial . AES uses up to {{math|rcon10}} for AES-128 (as 11 round keys are needed), up to {{math|rcon8}} for AES-192, and up to {{math|rcon7}} for AES-256.[1] The key scheduleDefine:
Also define {{Math|RotWord}} as a one-byte left circular shift: and {{Math|SubWord}} as an application of the AES S-box to each of the four bytes of the word: Then for : Notes1. ^The Rijndael variants with larger block sizes use more of these constants, up to {{math|rcon29}} for Rijndael with 128-bit keys and 256 bit blocks (needs 15 round keys of each 256 bit, which means 30 full rounds of key expansion, which means 29 calls to the key schedule core using the round constants). The remaining constants for {{math|i ≥ 11}} are: 6C, D8, AB, 4D, 9A, 2F, 5E, BC, 63, C6, 97, 35, 6A, D4, B3, 7D, FA, EF and C5 2. ^Other Rijndael variants require {{math|max(N, B) + 7}} round keys, where {{mvar|B}} is the block size in words 3. ^Other Rijndael variants require {{math|BR}} words of expanded key References
External links
2 : Advanced Encryption Standard|Key management |
||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。