METHOD AND APPARATUS FOR EFFICIENTLY IMPLEMENTING THE ADVANCED ENCRYPTION STANDARD
First Claim
1. An apparatus implementing an Advanced Encryption Standard (AES) S-box encryption process on a 128-bit block including 16 byte values, the apparatus comprising:
- a first field conversion circuit to convert each of the 16 byte values, respectively, from a first corresponding polynomial representation in GF(256) to a second corresponding polynomial representation in GF(22)4),a multiplicative inverse circuit to compute for each of the second corresponding polynomial representations in GF(22)4) of the 16 byte values, respectively, a corresponding multiplicative inverse polynomial representation in GF(22)4); and
a second field conversion circuit to convert each corresponding multiplicative inverse polynomial representation in GF(22)4) and to apply an affine transformation to generate, respectively, a third corresponding polynomial representation in GF(256).
2 Assignments
0 Petitions
Accused Products
Abstract
Implementations of Advanced Encryption Standard (AES) encryption and decryption processes are disclosed. In one embodiment of S-box processing, a block of 16 byte values is converted, each byte value being converted from a polynomial representation in GF(256) to a polynomial representation in GF((22)4). Multiplicative inverse polynomial representations in GF((22)4) are computed for each of the corresponding polynomial representations in GF((22)4). Finally corresponding multiplicative inverse polynomial representations in GF((22)4) are converted and an affine transformation is applied to generate corresponding polynomial representations in GF(256). In an alternative embodiment of S-box processing, powers of the polynomial representations are computed and multiplied together in GF(256) to generate multiplicative inverse polynomial representations in GF(256). In an embodiment of inverse-columns-mixing, the 16 byte values are converted from a polynomial representation in GF(256) to a polynomial representation in GF((24)2). A four-by-four matrix is applied to the transformed polynomial representation in GF((24)2) to implement the inverse-columns-mixing.
13 Citations
15 Claims
-
1. An apparatus implementing an Advanced Encryption Standard (AES) S-box encryption process on a 128-bit block including 16 byte values, the apparatus comprising:
-
a first field conversion circuit to convert each of the 16 byte values, respectively, from a first corresponding polynomial representation in GF(256) to a second corresponding polynomial representation in GF(22)4), a multiplicative inverse circuit to compute for each of the second corresponding polynomial representations in GF(22)4) of the 16 byte values, respectively, a corresponding multiplicative inverse polynomial representation in GF(22)4); and a second field conversion circuit to convert each corresponding multiplicative inverse polynomial representation in GF(22)4) and to apply an affine transformation to generate, respectively, a third corresponding polynomial representation in GF(256). - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus implementing an Advanced Encryption Standard (AES) S-box encryption process on a 128-bit block including a first 16 byte values each byte having a polynomial representation in GF(256), the apparatus comprising:
-
a polynomial-powers generating circuit to compute for each of the first 16 byte values, respectively, a plurality of second byte values having polynomial representations in GF(256) corresponding to a plurality of powers of the polynomial representation of their respective byte value of the first 16 byte values; a multiplier circuit to multiply together in GF(256) the plurality of second byte values for each of the first 16 byte values, respectively, to produce a third 16 byte values each having a polynomial representation in GF(256) corresponding to the multiplicative inverse of their respective byte value of the first 16 byte values; and an affine transform circuit to apply an affine transformation to the multiplicative inverses of the 16 byte values to generate, respectively, a fourth 16 byte values each having a polynomial representation in GF(256). - View Dependent Claims (7, 8)
-
-
9. An apparatus implementing an Advanced Encryption Standard (AES) decryption process on a 128-bit block including 16 byte values, the apparatus comprising:
-
a first field conversion circuit to convert each of the 16 byte values, respectively, from a first corresponding polynomial representation in GF(256) to a second corresponding polynomial representation in GF(24)2), an inverse-columns-mixing circuit to compute an inverse-columns-mixing transformation in GF(24)2) of the 16 byte values to get corresponding transformed polynomial representations in GF(24)2); a second field conversion circuit to convert each corresponding transformed polynomial representation in GF(24)2) and apply an inverse affine transformation to generate, respectively, a third corresponding polynomial representation in a finite field other than GF(24)2); and a multiplicative inverse circuit to compute for each of the third corresponding polynomial representations of the 16 byte values, respectively, a corresponding multiplicative inverse polynomial representation in said finite field other than GF(24)2). - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
Specification