public static class CryptixAESKeyCache.KeyCacheEntry extends Object implements Serializable
The entry contains:
KeyCacheEntry objects are memory-intensive structures that benefit from caching to avoid repeated key schedule computations. Each entry contains (rounds + 1) × 4 integers for both encryption and decryption, where the number of rounds depends on the AES key size (10 rounds for 128-bit, 12 rounds for 192-bit, 14 rounds for 256-bit keys).
Thread Safety: This class is immutable after construction and safe for concurrent use by multiple threads.
Memory Usage: Each entry consumes approximately:
2 × (rounds + 1) × 4 × 4 bytes of heap memory.
For AES-256 (14 rounds), this is about 448 bytes per entry.
Obsolete — Keys are now cached in SessionKey objects. Retained for legacy AES engine support.
| Modifier and Type | Field and Description |
|---|---|
(package private) int[][] | Kddecryption round keys |
(package private) int[][] | Keencryption round keys |
| Constructor and Description |
|---|
KeyCacheEntry()KeyCacheEntry. |
KeyCacheEntry(int rounds,
int bc) |