| Modifier and Type | Field and Description |
|---|---|
| private final BlockCipher | |
| private static final int | CIPHER_BLOCK_SIZE
The AES encryption block size. |
| private static final int | GF_128_FEEDBACK
Galois field feedback. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | decrypt(long
the (sector) id id, int the number of bytes len, byte[] the data data, int the offset within the data offset)Decrypt the data. |
| pack-priv void | encrypt(long
the (sector) id id, int the number of bytes len, byte[] the data data, int the offset within the data offset)Encrypt the data. |
| private byte[] | |
| private static void | |
| private static void | |
| private static void |
| cipher | back to summary |
|---|---|
| private final BlockCipher cipher | |
| CIPHER_BLOCK_SIZE | back to summary |
|---|---|
| private static final int CIPHER_BLOCK_SIZE The AES encryption block size. | |
| GF_128_FEEDBACK | back to summary |
|---|---|
| private static final int GF_128_FEEDBACK Galois field feedback. | |
| XTS | back to summary |
|---|---|
| pack-priv XTS(BlockCipher cipher) | |
| decrypt | back to summary |
|---|---|
| pack-priv void decrypt(long id, int len, byte[] data, int offset) Decrypt the data.
| |
| encrypt | back to summary |
|---|---|
| pack-priv void encrypt(long id, int len, byte[] data, int offset) Encrypt the data.
| |
| initTweak | back to summary |
|---|---|
| private byte[] initTweak(long id) | |
| swap | back to summary |
|---|---|
| private static void swap(byte[] data, int source, int target, int len) | |
| updateTweak | back to summary |
|---|---|
| private static void updateTweak(byte[] tweak) | |
| xorTweak | back to summary |
|---|---|
| private static void xorTweak(byte[] data, int pos, byte[] tweak) | |